优化
This commit is contained in:
@@ -355,21 +355,6 @@ public class PhysicalMstServiceImpl implements PhysicalMstService {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断一级质检单主表明细表状态是否为质检中 不是则更新为质检中
|
||||
*/
|
||||
/* JSONObject jsonSheetDtl = sheetDtlTab.query("material_id = '" + form.getString("material_id") + "' and pcsn = '" + form.getString("pcsn") + "'").uniqueResult(0);
|
||||
JSONObject jsonSheetMst = sheetMstTab.query("inspection_id = '" + jsonSheetDtl.getString("inspection_id") + "'").uniqueResult(0);
|
||||
|
||||
if (!StrUtil.equals(jsonSheetDtl.getString("bill_status"), "30")) {
|
||||
jsonSheetDtl.put("bill_status", "30");
|
||||
sheetDtlTab.update(jsonSheetDtl);
|
||||
}
|
||||
if (!StrUtil.equals(jsonSheetMst.getString("bill_status"), "30")) {
|
||||
jsonSheetMst.put("bill_status", "30");
|
||||
sheetMstTab.update(jsonSheetMst);
|
||||
}*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user