This commit is contained in:
zds
2022-11-17 14:44:42 +08:00
parent 08123cbf5e
commit 7c2fe0ea60
2 changed files with 10 additions and 16 deletions

View File

@@ -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);
}*/
}