Explorar el Código

提现金额统计、保证金额统计去除分页限制;

codingliang hace 2 años
padre
commit
ad7afd7d61

+ 1 - 1
src/main/java/com/sqx/modules/pay/dao/CashOutDao.java

@@ -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);
 }

+ 1 - 2
src/main/java/com/sqx/modules/pay/service/impl/CashOutServiceImpl.java

@@ -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);
     }
 
 }

+ 0 - 1
src/main/resources/mapper/userMoney/UserMoneyDetailsMapper.xml

@@ -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>