Commit cfc8d2ea authored by 刘林's avatar 刘林

fix(jg):移装变更接口修改

parent 5f7bc3b3
......@@ -929,7 +929,7 @@ public class JgChangeRegistrationTransferServiceImpl extends BaseService<JgChang
String county = newPosition.getString("transferCounty").split("_")[0];
boolean shouldUpdateCode = Arrays.stream(ReginStepEnum.values())
.map(ReginStepEnum::getCode)
.anyMatch(code -> code.equals(county)) && !county.equals(useInfo.getCounty());
.anyMatch(code -> code.equals(county));
if (shouldUpdateCode){
Map<String, String> supervisoryCodeMap = this.createSupervisoryCode(historyData);
supervisoryCode = supervisoryCodeMap.get("superviseCode");
......
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