Browse Source

巡检记录模块相关接口开发

jichaobo 2 years ago
parent
commit
c7b8bb3d88

+ 1 - 1
service-fire/service-fire-biz/src/main/java/com/usky/fire/controller/web/PatrolInspectionAreaController.java

@@ -65,7 +65,7 @@ public class PatrolInspectionAreaController {
      * @param areaName 区域名称
      * @param pageNum  当前页
      * @param pageSize 每页条数
-     * @param id
+     * @param id       区域ID
      * @return
      */
     @GetMapping("patrolInspectionAreaList")

+ 6 - 0
service-fire/service-fire-biz/src/main/java/com/usky/fire/service/impl/PatrolInspectionRecordServiceImpl.java

@@ -77,6 +77,12 @@ public class PatrolInspectionRecordServiceImpl extends AbstractCrudService<Patro
         return new CommonPage<>(list, patrolInspectionRecordList.size(), pageSize, pageNum);
     }
 
+
+//    public List<PatrolInspectionPlan> getPatrolInspectionPlan(){
+//        LambdaQueryWrapper<PatrolInspectionRecord> queryWrapper = Wrappers.lambdaQuery();
+//        queryWrapper.eq(PatrolInspectionRecord::getTenantId, SecurityUtils.getTenantId());
+//    }
+
     public List<PatrolInspectionRecordVo> patrolInspectionRecordDetails(Integer id) {
         //记录查询
         LambdaQueryWrapper<PatrolInspectionRecord> queryWrapper = Wrappers.lambdaQuery();