@@ -72,5 +72,5 @@ public interface CashOutDao extends BaseMapper<CashOut> {
IPage<CashOutVO> selectCashOutList(@Param("page") IPage<CashOut> pageParam, @Param("params") Map<String, Object> params);
- Double selectCashOutTotal(@Param("page") IPage<CashOut> page, @Param("params") Map<String, Object> params);
+ Double selectCashOutTotal(@Param("params") Map<String, Object> params);
}
@@ -604,8 +604,7 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
@Override
public Double selectCashOutTotal(Map<String, Object> params) {
- IPage<CashOut> page = new Query<CashOut>().getPage(params);
- return this.baseMapper.selectCashOutTotal(page, params);
+ return this.baseMapper.selectCashOutTotal(params);
@@ -70,7 +70,6 @@
left join goods_shop gs on gs.shop_id = umd.shop_id
<include refid="walletQueryCondition"></include>
order by umd.create_time desc
- limit #{query.page}, #{query.limit}
) o
</select>