报名字段修改
This commit is contained in:
parent
c4205186fd
commit
5987972967
@ -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());
|
||||
}
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user