This commit is contained in:
2022-07-06 15:07:37 +08:00
4 changed files with 32 additions and 23 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") + "'");
}