Selaa lähdekoodia

审核bug修复

wangtong 1 vuosi sitten
vanhempi
commit
8880c6d8a5

+ 4 - 3
ruoyi-zdsz/src/main/java/com/ruoyi/zdsz/domain/bo/ZBuildingBo.java

@@ -22,20 +22,21 @@ import com.ruoyi.common.core.domain.BaseEntity;
 public class ZBuildingBo extends BaseEntity {
 
     /**
-     * 
+     *
      */
     @NotBlank(message = "不能为空", groups = { EditGroup.class })
     private String id;
 
     /**
-     * 
+     *
      */
     @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
     private String areaId;
+
     private String source;
 
     /**
-     * 
+     *
      */
     @NotBlank(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
     private String name;

+ 1 - 0
ruoyi-zdsz/src/main/resources/mapper/zdsz/ZBuildingMapper.xml

@@ -40,6 +40,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         select a.id as id,
         a.name as name,
         a.remark as remark,
+        a.source,
         (select b.name from z_area b where b.id = a.area_id) as areaName
         from z_building a
         <where>

+ 1 - 0
ruoyi-zdsz/src/main/resources/mapper/zdsz/ZHouseMapper.xml

@@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         select a.id as id,
         a.name as name,
         a.remark as remark,
+        a.source,
         (select b.name from z_area b where b.id = a.area_id) as areaName,
         (select c.name from z_building c where c.id = a.building_id) as buildingName,
         (select d.name from z_unit d where d.id = a.unit_id) as unitName

+ 1 - 0
ruoyi-zdsz/src/main/resources/mapper/zdsz/ZUnitMapper.xml

@@ -41,6 +41,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         select a.id as id,
         a.name as name,
         a.remark as remark,
+        a.source,
         (select b.name from z_area b where b.id = a.area_id) as areaName,
         (select c.name from z_building c where c.id = a.building_id) as buildingName
         from z_unit a