修改 巡检记录不显示

master
wanghao 1 month ago
parent 8d15641960
commit 8c21d4e38b

@ -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);

@ -49,7 +49,7 @@ public class RecordInspectionInfoController extends BaseController
@ResponseBody
public TableDataInfo list(RecordInspectionInfo recordInspectionInfo)
{
startPage();
// startPage();
List<RecordInspectionInfo> list = recordInspectionInfoService.selectRecordInspectionInfoList(recordInspectionInfo);
return getDataTable(list);
}

@ -10,10 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="locationCode" column="location_code" />
<result property="inspectionState" column="inspection_state" />
<result property="inspectionRemark" column="inspection_remark" />
<result property="createTime" column="create_time" />
</resultMap>
<sql id="selectRecordInspectionInfoVo">
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
</sql>
<select id="selectRecordInspectionInfoList" parameterType="RecordInspectionInfo" resultMap="RecordInspectionInfoResult">

@ -152,7 +152,13 @@
{
field: 'inspectionRemark',
title: '异常原因'
}]
},
{
field: 'createTime',
title: '提交时间'
}
]
});
};
</script>

Loading…
Cancel
Save