diff --git a/src/main/java/com/sqx/modules/pay/service/impl/CashOutServiceImpl.java b/src/main/java/com/sqx/modules/pay/service/impl/CashOutServiceImpl.java index b38e1c52..110ddf96 100644 --- a/src/main/java/com/sqx/modules/pay/service/impl/CashOutServiceImpl.java +++ b/src/main/java/com/sqx/modules/pay/service/impl/CashOutServiceImpl.java @@ -42,6 +42,7 @@ import com.sqx.modules.utils.ParamPageUtils; import com.sqx.modules.utils.excel.ExcelData; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; +import org.apache.ibatis.annotations.Param; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.transaction.annotation.Transactional; @@ -105,12 +106,11 @@ public class CashOutServiceImpl extends ServiceImpl impleme } @Override - public PageUtils selectCashOutList(Integer page, Integer limit, CashOut cashOut) { + public PageUtils selectCashOutList(Integer page, Integer limit, CashOut cashOut,@Param("isApp") boolean isApp) { PageHelper.startPage(page, limit); - return PageUtils.page(new PageInfo<>(baseMapper.selectCashOutPage(cashOut))); + return PageUtils.page(new PageInfo<>(baseMapper.selectCashOutPage(cashOut, isApp))); } - @Override public ExcelData excelPayDetails(CashOut cashOut1) { List cashOutList = baseMapper.selectCashOutList(cashOut1);