This commit is contained in:
2022-07-08 14:58:12 +08:00
parent 283f9c207d
commit dc086575f3
4 changed files with 314 additions and 4 deletions

View File

@@ -1409,6 +1409,8 @@ public class PdmWorkTaskServiceImpl implements PdmWorkTaskService {
jo.put("create_name", nickName);
jo.put("create_time", now);
jo.put("is_abnormal", "0");
JSONArray job_rows = WQLObject.getWQLObject("PDM_BI_FormulaDtlJob").query("formuladtl_id = '"+jo.getString("formuladtl_id")+"'").getResultJSONArray(0);
jo.put("jobseq_no", job_rows.size()+1);
jo.put("is_process", "0");
if (jo.getString("flag").equals("1")) {
jo.put("out_type", "01");