Compare commits

..

No commits in common. "7970efd5d0eb84999cbdc748e7aa95fecd05b868" and "f07fbd89a90291f0a470a1c4fc828d5e06353afa" have entirely different histories.

4 changed files with 3 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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