add:日计划外协修改

This commit is contained in:
zhangzhiqiang
2022-12-27 16:26:10 +08:00
parent c019451aa6
commit ebe563f0fc
4 changed files with 20 additions and 11 deletions

View File

@@ -297,7 +297,7 @@ public class DailyplanServiceImpl implements DailyplanService {
json.put("plan_org_name", product.getString("org_name"));
json.put("product_series", json.getString("product_series_id"));
json.put("is_out",ObjectUtil.isNotEmpty(json.get("send_date"))?"1":"0");
MPS_BD_ProductDailyPlan.insert(json);
}
@@ -348,6 +348,7 @@ public class DailyplanServiceImpl implements DailyplanService {
whereJson.put("plan_org_name", product.getString("org_name"));
whereJson.put("product_series", whereJson.getString("product_series_id"));
whereJson.put("is_out",ObjectUtil.isNotEmpty(whereJson.get("send_date"))?"1":"0");
MPS_BD_ProductDailyPlan.update(whereJson);
}
@@ -427,6 +428,7 @@ public class DailyplanServiceImpl implements DailyplanService {
new_jo.put("org_id",jo.getString("org_id"));
new_jo.put("is_experiment","0");
new_jo.put("is_out",ObjectUtil.isNotEmpty(new_jo.get("send_date"))?"1":"0");
workOrdereService.create(new_jo);
}
}