Commit d95e52033b1191bbec7e4c79aadb8f3e45c52c37

Authored by 王富生
1 parent 64c89a15

养护计划优化提交

urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/controller/admin/inspectionplan/vo/InspectionPlanCommitRespVO.java
... ... @@ -60,7 +60,7 @@ public class InspectionPlanCommitRespVO {
60 60 @Schema(description = "巡检照片")
61 61 @ExcelProperty("巡检照片")
62 62 @TableField(typeHandler = StringListTypeHandler.class)
63   - private List<String> imgList;
  63 + private List<String> img;
64 64  
65 65 @Schema(description = "巡检结果: 1:正常;2:异常")
66 66 @ExcelProperty("巡检结果: 1:正常;2:异常")
... ...
urbanops-module-garden/src/main/resources/mapper/inspectionplan/InspectionPlanCommitMapper.xml
... ... @@ -4,7 +4,7 @@
4 4  
5 5  
6 6 <resultMap id="BaseResultMap" type="com.zteits.urbanops.module.garden.controller.admin.inspectionplan.vo.InspectionPlanCommitRespVO">
7   - <result property="imgList" column="img" typeHandler="com.zteits.urbanops.framework.mybatis.core.type.StringArrayToListTypeHandler"/>
  7 + <result property="img" column="img" typeHandler="com.zteits.urbanops.framework.mybatis.core.type.StringArrayToListTypeHandler"/>
8 8 </resultMap>
9 9 <!--
10 10 一般情况下,尽可能使用 Mapper 进行 CRUD 增删改查即可。
... ...