This commit is contained in:
caixiang 2023-03-22 14:12:46 +08:00
commit 4e02f7e03a
4 changed files with 4 additions and 3 deletions

View File

@ -48,7 +48,7 @@ public class WoCompensationPowerServiceBizImpl extends CrudServiceImpl<WoCompens
@Override
public PageData<WoCompensationPowerDTO> page (Map<String, Object> params){
IPage<WoCompensationPower> page = baseDao.selectPage(
getPage(params, WoCompensationPower.ID, true),
getPage(params, WoCompensationPower.CREATE_TIME, false),
getWrapper(params)
);
return getPageData(page, WoCompensationPowerDTO.class);

View File

@ -142,6 +142,7 @@ public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBox
WoPackagingBoxDTO dto = ConvertUtils.sourceToTarget(entity, WoPackagingBoxDTO.class);
QueryWrapper<WoPackagingBoxSubstrate> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(entity.getBoxNo()), WoPackagingBoxSubstrate.PACKAGING_BOX_ID, entity.getBoxNo());
wrapper.orderByDesc(WoPackagingBoxSubstrate.CREATE_TIME);
List<WoPackagingBoxSubstrate> woPackagingBoxSubstrateList = substrateMapper.selectList(wrapper);
dto.setSubstrateList(woPackagingBoxSubstrateList);
return dto;

View File

@ -58,7 +58,7 @@ public class WoPackagingBoxSubstrateServiceBizImpl extends CrudServiceImpl<WoPac
@Override
public PageData<WoPackagingBoxSubstrateDTO> page (Map<String, Object> params){
IPage<WoPackagingBoxSubstrate> page = baseDao.selectPage(
getPage(params, WoPackagingBoxSubstrate.SLOT, true),
getPage(params, WoPackagingBoxSubstrate.CREATE_TIME, false),
getWrapper(params)
);
return getPageData(page, WoPackagingBoxSubstrateDTO.class);

View File

@ -48,7 +48,7 @@ public class WoPowerLevelServiceBizImpl extends CrudServiceImpl<WoPowerLevelMapp
@Override
public PageData<WoPowerLevelDTO> page (Map<String, Object> params){
IPage<WoPowerLevel> page = baseDao.selectPage(
getPage(params, WoPowerLevel.ID, true),
getPage(params, WoPowerLevel.CREATE_TIME, false),
getWrapper(params)
);
return getPageData(page, WoPowerLevelDTO.class);