diff --git a/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java b/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java index 52bd975..6029194 100644 --- a/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java +++ b/ruoyi-api/src/main/java/com/ruoyi/api/controller/ApiController.java @@ -252,6 +252,7 @@ public class ApiController { RecordInspection recordInspection = new RecordInspection(); recordInspection.setInspectionUser(user); int insertNumber = inspectionService.insertRecordInspection(recordInspection); + apiService.insertCheckTask(Math.toIntExact(recordInspection.getInspectionId()), list); return success("创建成功", insertNumber); diff --git a/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInspectionInfoController.java b/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInspectionInfoController.java index 64923a0..091535a 100644 --- a/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInspectionInfoController.java +++ b/ruoyi-manage/src/main/java/com/ruoyi/manage/controller/RecordInspectionInfoController.java @@ -49,7 +49,7 @@ public class RecordInspectionInfoController extends BaseController @ResponseBody public TableDataInfo list(RecordInspectionInfo recordInspectionInfo) { - startPage(); + // startPage(); List list = recordInspectionInfoService.selectRecordInspectionInfoList(recordInspectionInfo); return getDataTable(list); } diff --git a/ruoyi-manage/src/main/resources/mapper/manage/RecordInspectionInfoMapper.xml b/ruoyi-manage/src/main/resources/mapper/manage/RecordInspectionInfoMapper.xml index 3d1df74..616bb42 100644 --- a/ruoyi-manage/src/main/resources/mapper/manage/RecordInspectionInfoMapper.xml +++ b/ruoyi-manage/src/main/resources/mapper/manage/RecordInspectionInfoMapper.xml @@ -10,10 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" + - select inspection_id, epc_code, location_code, inspection_state, inspection_remark from record_inspection_info + select inspection_id, epc_code, location_code, inspection_state, inspection_remark ,create_time from record_inspection_info