Commit c500fa09 authored by 刘林's avatar 刘林

fix(jg):单位变更bug修改

parent 52974b1e
......@@ -1140,11 +1140,11 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
registration.setProcessAdvice(dto.getProcessAdvice());
List<String> roleListAll = new ArrayList<>();
ArrayList<String> roleList = new ArrayList<>();
if (!CollectionUtils.isEmpty(dto.getRegistrationList())) {
if (!CollectionUtils.isEmpty(dto.getRegistrationList()) && "5000".equals(dto.getEquListCode())) {
dto.getRegistrationList().forEach(v -> {
String newCarNumber = String.valueOf(v.get("newCarNumber"));
String useOrgCode = String.valueOf(v.get("useRegistrationCode"));
if (!ObjectUtils.isEmpty(newCarNumber) && "0".equals(op)) {
if (!ObjectUtils.isEmpty(newCarNumber) && !"null".equals(newCarNumber) && "0".equals(op)) {
// 更新安全追溯-场内车辆中的“车牌号字段” 保证唯一性
Integer count = idxBizJgRegisterInfoMapper.checkCarNumberUniqueness(newCarNumber, useOrgCode);
if (count > 0) {
......
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