给账户流水接口增加筛选条件

This commit is contained in:
jishenghua
2024-05-31 00:46:03 +08:00
parent cfc25b4f5e
commit 85a0b21960
4 changed files with 144 additions and 12 deletions

View File

@@ -377,20 +377,21 @@ public class AccountService {
return accountSum;
}
public List<AccountVo4InOutList> findAccountInOutList(Long accountId, Integer offset, Integer rows) throws Exception{
public List<AccountVo4InOutList> findAccountInOutList(Long accountId, String number, String beginTime, String endTime,
Integer offset, Integer rows) throws Exception{
List<AccountVo4InOutList> list=null;
try{
list = accountMapperEx.findAccountInOutList(accountId, offset, rows);
list = accountMapperEx.findAccountInOutList(accountId, number, beginTime, endTime, offset, rows);
}catch(Exception e){
JshException.readFail(logger, e);
}
return list;
}
public int findAccountInOutListCount(Long accountId) throws Exception{
public int findAccountInOutListCount(Long accountId, String number, String beginTime, String endTime) throws Exception{
int result=0;
try{
result = accountMapperEx.findAccountInOutListCount(accountId);
result = accountMapperEx.findAccountInOutListCount(accountId, number, beginTime, endTime);
}catch(Exception e){
JshException.readFail(logger, e);
}