修复档口电话加密问题
This commit is contained in:
parent
2892b11944
commit
afd057e868
|
|
@ -183,7 +183,6 @@ public class AllocCanteenBusinessImpl implements AllocCanteenBusiness {
|
|||
public AllocStallModifyModel getStallForModify(Long stallId) {
|
||||
AllocStall allocStall = (AllocStall)this.allocStallService.getOne(Wrappers.lambdaQuery(AllocStall.class)
|
||||
.eq(AllocStall::getStallId, stallId));
|
||||
allocStall.setContactTel(this.aesEncryptUtil.aesEncrypt(allocStall.getContactTel()));
|
||||
AllocStallSaveDTO stallSaveDTO = new AllocStallSaveDTO();
|
||||
BeanUtils.copyProperties(allocStall, stallSaveDTO);
|
||||
if (ObjectUtil.isNotNull(stallSaveDTO.getCustId())) {
|
||||
|
|
@ -487,7 +486,6 @@ public class AllocCanteenBusinessImpl implements AllocCanteenBusiness {
|
|||
AllocStallModifyDTO stallModifyDTO = new AllocStallModifyDTO();
|
||||
BeanUtils.copyProperties(stallModel.getStallSaveDTO(), stallModifyDTO);
|
||||
stallModifyDTO.ifEnableHandler(stallModel);
|
||||
stallModifyDTO.setContactTel(this.aesEncryptUtil.aesDecode(stallModifyDTO.getContactTel()));
|
||||
Long oldCanteenId = this.allocStallMapper.getCanteenId(stallId);
|
||||
if (LeConstants.COMMON_YES.equals(stallModifyDTO.getIfEnablePayCode())) {
|
||||
AllocStall tempStall = (AllocStall)this.allocStallService.getOne((Wrapper)Wrappers.lambdaQuery(AllocStall.class).eq(AllocStall::getStallId, stallId));
|
||||
|
|
|
|||
|
|
@ -169,19 +169,7 @@ public class AllocStallServiceImpl extends ServiceImpl<AllocStallMapper, AllocSt
|
|||
param.setAreaIdList(this.allocAreaService.getAllChildrenId(param.getAreaId()));
|
||||
}
|
||||
|
||||
page = this.baseMapper.pageStall(page, param);
|
||||
if (CollUtil.isEmpty(page.getRecords())) {
|
||||
return page;
|
||||
} else {
|
||||
Iterator var3 = page.getRecords().iterator();
|
||||
|
||||
while(var3.hasNext()) {
|
||||
AllocStallVO stallVO = (AllocStallVO)var3.next();
|
||||
stallVO.setContactTel(this.aesEncryptUtil.aesEncrypt(stallVO.getContactTel()));
|
||||
}
|
||||
|
||||
return page;
|
||||
}
|
||||
return this.baseMapper.pageStall(page, param);
|
||||
}
|
||||
|
||||
public void checkStallNameExist(String stallName, Long stallId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue