进一步优化账户统计的查询逻辑
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package com.jsh.erp.datasource.mappers;
|
||||
|
||||
import com.jsh.erp.datasource.entities.Account;
|
||||
import com.jsh.erp.datasource.entities.AccountExample;
|
||||
import com.jsh.erp.datasource.entities.DepotHead;
|
||||
import com.jsh.erp.datasource.vo.AccountVo4InOutList;
|
||||
import com.jsh.erp.datasource.vo.AccountVo4List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
@@ -40,6 +40,18 @@ public interface AccountMapperEx {
|
||||
@Param("endTime") String endTime,
|
||||
@Param("forceFlag") Boolean forceFlag);
|
||||
|
||||
BigDecimal getAccountSumByDetail(
|
||||
@Param("accountId") Long accountId,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("forceFlag") Boolean forceFlag);
|
||||
|
||||
List<DepotHead> getManyAccountSum(
|
||||
@Param("accountId") Long accountId,
|
||||
@Param("beginTime") String beginTime,
|
||||
@Param("endTime") String endTime,
|
||||
@Param("forceFlag") Boolean forceFlag);
|
||||
|
||||
List<AccountVo4InOutList> findAccountInOutList(
|
||||
@Param("accountId") Long accountId,
|
||||
@Param("offset") Integer offset,
|
||||
|
||||
Reference in New Issue
Block a user