优化
This commit is contained in:
@@ -219,6 +219,7 @@ public class DevicerepairmstServiceImpl implements DevicerepairmstService {
|
||||
jsonMst.put("fault_level", whereJson.getString("fault_level"));
|
||||
jsonMst.put("remark", whereJson.getString("remark"));
|
||||
jsonMst.put("plan_start_date", whereJson.getString("plan_start_date"));
|
||||
jsonMst.put("estimaterepair_times", whereJson.getString("estimaterepair_times"));
|
||||
jsonMst.put("detail_count", tableData.size());
|
||||
mstTab.update(jsonMst);
|
||||
|
||||
@@ -480,9 +481,11 @@ public class DevicerepairmstServiceImpl implements DevicerepairmstService {
|
||||
}
|
||||
// 3.更新维修单主表
|
||||
jsonRemst.put("invstatus",invstatus);
|
||||
jsonRemst.put("confirm_optid",currentUserId);
|
||||
jsonRemst.put("confirm_optname",nickName);
|
||||
jsonRemst.put("confirm_time",DateUtil.now());
|
||||
if("07".equals(invstatus)){
|
||||
jsonRemst.put("confirm_optid",currentUserId);
|
||||
jsonRemst.put("confirm_optname",nickName);
|
||||
jsonRemst.put("confirm_time",DateUtil.now());
|
||||
}
|
||||
reMstTab.update(jsonRemst);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,7 +286,7 @@
|
||||
WHERE
|
||||
mst.is_delete = '0'
|
||||
AND file.is_delete = '0'
|
||||
AND mst.invstatus not in ('04','06','99')
|
||||
AND mst.invstatus not in ('04','06','07','99')
|
||||
OPTION 输入.device_code <> ""
|
||||
(file.device_code like 输入.device_code or
|
||||
file.device_name like 输入.device_code)
|
||||
|
||||
Reference in New Issue
Block a user