Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
c09e12beff
|
|
@ -148,7 +148,6 @@ public class AllocCanteenBusinessImpl implements AllocCanteenBusiness {
|
||||||
public AllocCanteenModifyModel getCanteenForModify(Long canteenId) {
|
public AllocCanteenModifyModel getCanteenForModify(Long canteenId) {
|
||||||
AllocCanteen allocCanteen = this.allocCanteenService.getOne(Wrappers.lambdaQuery(AllocCanteen.class)
|
AllocCanteen allocCanteen = this.allocCanteenService.getOne(Wrappers.lambdaQuery(AllocCanteen.class)
|
||||||
.eq(AllocCanteen::getCanteenId, canteenId));
|
.eq(AllocCanteen::getCanteenId, canteenId));
|
||||||
allocCanteen.setContactTel(this.aesEncryptUtil.aesEncrypt(allocCanteen.getContactTel()));
|
|
||||||
AllocCanteenSaveDTO canteenSaveDTO = new AllocCanteenSaveDTO();
|
AllocCanteenSaveDTO canteenSaveDTO = new AllocCanteenSaveDTO();
|
||||||
BeanUtils.copyProperties(allocCanteen, canteenSaveDTO);
|
BeanUtils.copyProperties(allocCanteen, canteenSaveDTO);
|
||||||
if (ObjectUtil.isNotNull(canteenSaveDTO.getCustId())) {
|
if (ObjectUtil.isNotNull(canteenSaveDTO.getCustId())) {
|
||||||
|
|
|
||||||
|
|
@ -260,12 +260,6 @@ public class AllocCanteenServiceImpl extends ServiceImpl<AllocCanteenMapper, All
|
||||||
}
|
}
|
||||||
|
|
||||||
page = this.baseMapper.pageCanteen(page, param);
|
page = this.baseMapper.pageCanteen(page, param);
|
||||||
Iterator var3 = page.getRecords().iterator();
|
|
||||||
|
|
||||||
while (var3.hasNext()) {
|
|
||||||
AllocCanteenVO canteenVO = (AllocCanteenVO) var3.next();
|
|
||||||
canteenVO.setContactTel(this.aesEncryptUtil.aesEncrypt(canteenVO.getContactTel()));
|
|
||||||
}
|
|
||||||
|
|
||||||
return page;
|
return page;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue