This commit is contained in:
zds
2022-07-06 14:09:29 +08:00
parent dba5a0c917
commit ec18c8a4fd
2 changed files with 3 additions and 1 deletions

View File

@@ -199,6 +199,9 @@ public class WorkTaskServiceImpl implements WorkTaskService {
FormulaMap.put("start_time", now);
PDM_BI_Formula.update(FormulaMap, "status='20' and workorder_id ='" + jsonMst.getString("workorder_id") + "' and material_id='"+jsonMst.getString("material_id")+"'");
}
if (jsonMst.getString("workprocedure_code").equals(topDtl.getString("workprocedure_code"))) {
workordeMap.put("realstart_time", now);
}
//更新工令
PDM_BI_WorkOrder.update(workordeMap, "workorder_id ='" + jsonMst.getString("workorder_id") + "'");
}