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,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 | * 巡检结果: 1:正常;2:异常 | 69 | * 巡检结果: 1:正常;2:异常 |
| 71 | */ | 70 | */ |
| @@ -105,4 +104,4 @@ public class InspectionPlanCommitDO extends BaseDO { | @@ -105,4 +104,4 @@ public class InspectionPlanCommitDO extends BaseDO { | ||
| 105 | private String updaterName; | 104 | private String updaterName; |
| 106 | 105 | ||
| 107 | 106 | ||
| 108 | -} | ||
| 109 | \ No newline at end of file | 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,7 +132,7 @@ public class InspectionPlanCommitServiceImpl implements InspectionPlanCommitServ | ||
| 132 | .batchNo(inspectionPlanDO.getBatchNo()) | 132 | .batchNo(inspectionPlanDO.getBatchNo()) |
| 133 | .planNo(createReqVO.getPlanNo()).busiLine(inspectionPlanDO.getBusiLine()) | 133 | .planNo(createReqVO.getPlanNo()).busiLine(inspectionPlanDO.getBusiLine()) |
| 134 | .companyId(inspectionPlanDO.getCompanyId()).deptId(inspectionPlanDO.getDeptId()) | 134 | .companyId(inspectionPlanDO.getCompanyId()).deptId(inspectionPlanDO.getDeptId()) |
| 135 | - .roadId(inspectionPlanDO.getRoadId()).img(createReqVO.getImgList()) | 135 | + .roadId(inspectionPlanDO.getRoadId()).img(JSONObject.toJSONString(createReqVO.getImgList())) |
| 136 | .inspectionState(createReqVO.getInspectionState()).transState(createReqVO.getTransState()) | 136 | .inspectionState(createReqVO.getInspectionState()).transState(createReqVO.getTransState()) |
| 137 | .transWorkNo(createReqVO.getTransWorkNo()) | 137 | .transWorkNo(createReqVO.getTransWorkNo()) |
| 138 | .userId(userId).userName(userName) | 138 | .userId(userId).userName(userName) |
| @@ -249,4 +249,4 @@ public class InspectionPlanCommitServiceImpl implements InspectionPlanCommitServ | @@ -249,4 +249,4 @@ public class InspectionPlanCommitServiceImpl implements InspectionPlanCommitServ | ||
| 249 | // return list; | 249 | // return list; |
| 250 | // } | 250 | // } |
| 251 | 251 | ||
| 252 | -} | ||
| 253 | \ No newline at end of file | 252 | \ No newline at end of file |
| 253 | +} |