Procházet zdrojové kódy

移动端端-巡检自检-巡检上报-提交调整

jichaobo před 2 roky
rodič
revize
605e5b2c16

+ 10 - 0
service-fire/service-fire-biz/src/main/java/com/usky/fire/domain/PatrolInspectionRecordOption.java

@@ -40,5 +40,15 @@ public class PatrolInspectionRecordOption implements Serializable {
      */
     private String remarks;
 
+    /**
+     * 内容
+     */
+    private String content;
+
+    /**
+     * 检查项ID
+     */
+    private Integer contentId;
+
 
 }

+ 1 - 1
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionPlanSonServiceImpl.java

@@ -197,7 +197,7 @@ public class PatrolInspectionPlanSonServiceImpl extends AbstractCrudService<Patr
         if (planSonSiteCount <= 0) {
             throw new BusinessException("此地点尚未采集,请采集该点位");
         }
-        List<PatrolInspectionRecordPicture> recordPictureList = new ArrayList<>();
+//        List<PatrolInspectionRecordPicture> recordPictureList = new ArrayList<>();
 //        if (planSonId != null && planSonId != 0) {
 //            LambdaQueryWrapper<PatrolInspectionRecord> query = Wrappers.lambdaQuery();
 //            query.eq(PatrolInspectionRecord::getSiteId, siteId)

+ 2 - 0
service-fire/service-fire-biz/src/main/resources/mapper/fire/PatrolInspectionRecordOptionMapper.xml

@@ -8,6 +8,8 @@
         <result column="record_id" property="recordId" />
         <result column="content_option_id" property="contentOptionId" />
         <result column="remarks" property="remarks" />
+        <result column="content" property="content" />
+        <result column="content_id" property="contentId" />
     </resultMap>
 
 </mapper>