Commit dc002beb authored by tianbo's avatar tianbo

fix(jg): 避免设置空的code96333字段值

- 在设置code96333字段前增加非空判断 - 防止因空字符串导致的数据异常
parent b3d69015
...@@ -1299,7 +1299,9 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang ...@@ -1299,7 +1299,9 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
if (!StringUtils.isEmpty(supervisoryCode)) { if (!StringUtils.isEmpty(supervisoryCode)) {
otherInfo.setSupervisoryCode(supervisoryCode); otherInfo.setSupervisoryCode(supervisoryCode);
} }
otherInfo.setCode96333(code96333); if (!StringUtils.isEmpty(code96333)) {
otherInfo.setCode96333(code96333);
}
otherInfoService.saveOrUpdateData(otherInfo); otherInfoService.saveOrUpdateData(otherInfo);
} }
} }
......
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