Commit beab8e88 authored by 刘林's avatar 刘林

fix(jg):使用登记错误数据处理

parent e6601a53
......@@ -2003,8 +2003,11 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
param.put("NEXT_INSPECT_DATE", this.castDate2TimeStr(dataMap.getString("nextInspectDate")));
param.put("USE_INNER_CODE", useInfo.getUseInnerCode());
param.put("IS_INTO_MANAGEMENT", true);
param.put("USE_PLACE_CODE", jsonObject.get("province") + "#" + jsonObject.get("city") + "#" + jsonObject.get("county") + "#" + jsonObject.get("factoryUseSiteStreet"));
param.put("USE_SITE_CODE", String.valueOf(jsonObject.get("usePlace")));
param.put("USE_PLACE_CODE", jsonObject == null ? "" :
String.join("#",String.valueOf(jsonObject.getOrDefault("province", "")), String.valueOf(jsonObject.getOrDefault("city", "")),
String.valueOf(jsonObject.getOrDefault("county", "")), String.valueOf(jsonObject.getOrDefault("factoryUseSiteStreet", "")))
);
param.put("USE_SITE_CODE", jsonObject == null ? "" : String.valueOf(jsonObject.getOrDefault("usePlace", "")));
param.put("ORG_BRANCH_CODE", split[0]);
param.put("ORG_BRANCH_NAME", split[1]);
param.put("USC_UNIT_CREDIT_CODE", "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment