Commit ae046bad0cdd5399baa53178636da05ee9c30378
1 parent
a5cfb23d
临时提交
Showing
2 changed files
with
4 additions
and
5 deletions
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/dal/dataobject/inspectionplan/InspectionPlanCommitDO.java
| ... | ... | @@ -64,8 +64,7 @@ public class InspectionPlanCommitDO extends BaseDO { |
| 64 | 64 | /** |
| 65 | 65 | * 巡检照片 |
| 66 | 66 | */ |
| 67 | - @TableField(typeHandler = StringListTypeHandler.class) | |
| 68 | - private List<String> img; | |
| 67 | + private String img; | |
| 69 | 68 | /** |
| 70 | 69 | * 巡检结果: 1:正常;2:异常 |
| 71 | 70 | */ |
| ... | ... | @@ -105,4 +104,4 @@ public class InspectionPlanCommitDO extends BaseDO { |
| 105 | 104 | private String updaterName; |
| 106 | 105 | |
| 107 | 106 | |
| 108 | -} | |
| 109 | 107 | \ No newline at end of file |
| 108 | +} | ... | ... |
urbanops-module-garden/src/main/java/com/zteits/urbanops/module/garden/service/inspectionplan/InspectionPlanCommitServiceImpl.java
| ... | ... | @@ -132,7 +132,7 @@ public class InspectionPlanCommitServiceImpl implements InspectionPlanCommitServ |
| 132 | 132 | .batchNo(inspectionPlanDO.getBatchNo()) |
| 133 | 133 | .planNo(createReqVO.getPlanNo()).busiLine(inspectionPlanDO.getBusiLine()) |
| 134 | 134 | .companyId(inspectionPlanDO.getCompanyId()).deptId(inspectionPlanDO.getDeptId()) |
| 135 | - .roadId(inspectionPlanDO.getRoadId()).img(createReqVO.getImgList()) | |
| 135 | + .roadId(inspectionPlanDO.getRoadId()).img(JSONObject.toJSONString(createReqVO.getImgList())) | |
| 136 | 136 | .inspectionState(createReqVO.getInspectionState()).transState(createReqVO.getTransState()) |
| 137 | 137 | .transWorkNo(createReqVO.getTransWorkNo()) |
| 138 | 138 | .userId(userId).userName(userName) |
| ... | ... | @@ -249,4 +249,4 @@ public class InspectionPlanCommitServiceImpl implements InspectionPlanCommitServ |
| 249 | 249 | // return list; |
| 250 | 250 | // } |
| 251 | 251 | |
| 252 | -} | |
| 253 | 252 | \ No newline at end of file |
| 253 | +} | ... | ... |