change - 返修提交提示

master
yinq 7 months ago
parent f889f839aa
commit 973d1e7903

@ -177,7 +177,12 @@ public class PdaApiController {
//返修提交质检信息 //返修提交质检信息
@PostMapping("/submitRepair") @PostMapping("/submitRepair")
public AjaxResult submitRepair(@RequestBody RepairSubmitInfoDto info) { public AjaxResult submitRepair(@RequestBody RepairSubmitInfoDto info) {
return toAjax(service.submitRepair(info)); int i = service.submitRepair(info);
if(i > 0){
return success("操作成功!");
}else {
return error("该箱体已完成返修!");
}
} }

@ -80,7 +80,7 @@
OI.PRINT_NAME OI.PRINT_NAME
</select> </select>
<select id="findCheckInfoByCodeUserId" resultType="com.aucma.report.domain.ReportQualityInspection"> <select id="findCheckInfoByCodeUserId" resultMap="com.aucma.report.mapper.ReportQualityInspectionMapper.ReportQualityInspectionResult">
select OBJ_ID, select OBJ_ID,
MATERIAL_NAME, MATERIAL_NAME,
QUALITY_DEFECT_CODE, QUALITY_DEFECT_CODE,

Loading…
Cancel
Save