refactor(wms): 重构产品销售脚本查询接口
-移除 WmsProductSalesScriptMapper 中的 LambdaQueryWrapper 参数 - 添加 WmsProductSalesScriptBo 参数替代原有的查询封装方式 - 更新 XML 文件中的 SQL 查询逻辑,使用动态 SQL 替代自定义 SQL 段 - 简化 WmsProductSalesScriptServiceImpl 中的查询方法
This commit is contained in:
@@ -55,8 +55,7 @@ public class WmsProductSalesScriptServiceImpl implements IWmsProductSalesScriptS
|
||||
*/
|
||||
@Override
|
||||
public TableDataInfo<WmsProductSalesScriptVo> queryPageList(WmsProductSalesScriptBo bo, PageQuery pageQuery) {
|
||||
LambdaQueryWrapper<WmsProductSalesScript> lqw = buildQueryWrapper(bo);
|
||||
Page<WmsProductSalesScriptVo> result = baseMapper.selectVoPagePlus(pageQuery.build(), lqw);
|
||||
Page<WmsProductSalesScriptVo> result = baseMapper.selectVoPagePlus(pageQuery.build(),bo);
|
||||
return TableDataInfo.build(result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user