Browse Source

待认证的党员详情bug修改

dev_shibei_match
yinzuomei 5 years ago
parent
commit
b030ce4d83
  1. 31
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartyMemberConfirmServiceImpl.java
  2. 4
      epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartymemberBaseInfoServiceImpl.java

31
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartyMemberConfirmServiceImpl.java

@ -38,6 +38,7 @@ import com.epmet.resi.partymember.dto.partymember.result.AuditingDetailResultDTO
import com.epmet.resi.partymember.dto.partymember.result.AutoFailedDetailResultDTO;
import com.epmet.resi.partymember.dto.partymember.result.RejectedDetailResultDTO;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -335,22 +336,28 @@ public class PartyMemberConfirmServiceImpl implements PartyMemberConfirmService
//获取党员自动认证信息
List<String> failedReason = new ArrayList<>();
if (null != fromDTO.getAutoId() && !fromDTO.getAutoId().isEmpty()) {
if (null != fromDTO.getAutoId() && !fromDTO.getAutoId().isEmpty()&& !("null").equals(fromDTO.getAutoId())) {
PartymemberConfirmAutoEntity autoEntity = partymemberConfirmAutoService.selectById(fromDTO.getAutoId());
if (PartyMemberConstant.SAME.equals(autoEntity.getMobileResult())) {
failedReason.add("手机号匹配");
} else {
if (null == autoEntity) {
failedReason.add("手机号未匹配");
}
if (PartyMemberConstant.SAME.equals(autoEntity.getIdCardResult())) {
failedReason.add("身份证匹配");
} else {
failedReason.add("身份证未匹配");
}
if (PartyMemberConstant.SAME.equals(autoEntity.getNameResult())) {
failedReason.add("姓名匹配");
} else {
failedReason.add("姓名未匹配");
} else {
if (PartyMemberConstant.SAME.equals(autoEntity.getMobileResult())) {
failedReason.add("手机号匹配");
} else {
failedReason.add("手机号未匹配");
}
if (PartyMemberConstant.SAME.equals(autoEntity.getIdCardResult())) {
failedReason.add("身份证匹配");
} else {
failedReason.add("身份证未匹配");
}
if (PartyMemberConstant.SAME.equals(autoEntity.getNameResult())) {
failedReason.add("姓名匹配");
} else {
failedReason.add("姓名未匹配");
}
}
} else {
failedReason.add("手机号未匹配");

4
epmet-module/resi-partymember/resi-partymember-server/src/main/java/com/epmet/modules/partymember/service/impl/PartymemberBaseInfoServiceImpl.java

@ -287,7 +287,7 @@ public class PartymemberBaseInfoServiceImpl extends BaseServiceImpl<PartymemberB
gridInfoResult.getData().getCommnuityName(),
gridInfoResult.getData().getGridName());
gridFullPath = gridFullPath.replaceAll("null", "").trim();
gridFullPath = gridFullPath.replaceAll("--", "").trim();
gridFullPath = gridFullPath.replaceAll("--", "-").trim();
}
//查询居民认证信息,获取居民头像
List<String> userIdList = new ArrayList<>();
@ -330,7 +330,7 @@ public class PartymemberBaseInfoServiceImpl extends BaseServiceImpl<PartymemberB
gridInfoResult.getData().getCommnuityName() == null?"":gridInfoResult.getData().getCommnuityName(),
gridInfoResult.getData().getGridName() == null?"":gridInfoResult.getData().getGridName());
gridFullPath = gridFullPath.replaceAll("null", "").trim();
gridFullPath = gridFullPath.replaceAll("--", "").trim();
gridFullPath = gridFullPath.replaceAll("--", "-").trim();
}
//查询居民认证信息,获取居民头像
List<String> userIdList = new ArrayList<>();

Loading…
Cancel
Save