Browse Source

判断审核成功才通过

master
zhangyuan 3 years ago
parent
commit
cf3e4eda0b
  1. 4
      epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/service/impl/EpidemicUserInfoAuditServiceImpl.java

4
epdc-cloud-vim-yushan/src/main/java/com/elink/esua/epdc/vaccine/epidemic/service/impl/EpidemicUserInfoAuditServiceImpl.java

@ -119,9 +119,9 @@ public class EpidemicUserInfoAuditServiceImpl extends BaseServiceImpl<EpidemicUs
updateById(entity);
FamilyMemberInfoFormDTO formDTO = ConvertUtils.sourceToTarget(dto, FamilyMemberInfoFormDTO.class);
if (NumConstant.ZERO_STR.equals(dto.getAuditType())) {
if (NumConstant.ZERO_STR.equals(dto.getAuditType()) && NumConstant.FOUR_STR.equals(dto.getAuditState())) {
epidemicUserInfoService.addFamilyMember(formDTO);
} else if (NumConstant.ONE_STR.equals(dto.getAuditType())) {
} else if (NumConstant.ONE_STR.equals(dto.getAuditType()) && NumConstant.FOUR_STR.equals(dto.getAuditState())) {
epidemicUserInfoService.updateFamilyMember(formDTO);
}

Loading…
Cancel
Save