报名字段修改

This commit is contained in:
ly19960718 2021-05-07 14:42:21 +08:00
parent c4205186fd
commit 5987972967
2 changed files with 11 additions and 10 deletions

View File

@ -72,15 +72,16 @@ public class ApplyServiceImpl extends DefaultBaseService implements IApplyServic
}
PageHelper.startPage(page.getPage(), page.getRows());
List<ApplyDTO> applyDTOs = list(page.getParams());
for (ApplyDTO applyDTO : applyDTOs) {
DistributionCardDTO distributionCardDTO = distributionCardService.get(applyDTO.getApplyId());
if(distributionCardDTO == null){
applyDTO.setDistributionCardState(0);
}else{
applyDTO.setDistributionCardState(1);
applyDTO.setDistributionCardCode(distributionCardDTO.getDistributionCardPictures());
}
}
//查询准考证生成信息
// for (ApplyDTO applyDTO : applyDTOs) {
// DistributionCardDTO distributionCardDTO = distributionCardService.get(applyDTO.getApplyId());
// if(distributionCardDTO == null){
// applyDTO.setDistributionCardState(0);
// }else{
// applyDTO.setDistributionCardState(1);
// applyDTO.setDistributionCardCode(distributionCardDTO.getDistributionCardPictures());
// }
// }
PageInfo<ApplyDTO> pageInfo = new PageInfo<>(applyDTOs);
return new SuccessResultList<>(applyDTOs, pageInfo.getPageNum(), pageInfo.getTotal());
}

View File

@ -469,7 +469,7 @@
AND
t1.apply_institution_id = #{applyInstitutionId}
</if>
<if test="create != null and create != ''">
<if test="creator != null and creator != ''">
AND
t1.creator = #{creator}
</if>