cloudroam
2025-03-10 c306cba52bcc3e2c423f77d4a52c35ad04c52038
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.jsh.erp.datasource.mappers;
 
import com.jsh.erp.datasource.entities.AccountItem;
import com.jsh.erp.datasource.entities.AccountItemExample;
import com.jsh.erp.datasource.vo.AccountItemVo4List;
import org.apache.ibatis.annotations.Param;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
 
public interface AccountItemMapperEx {
 
    List<AccountItem> selectByConditionAccountItem(
            @Param("name") String name,
            @Param("type") Integer type,
            @Param("remark") String remark,
            @Param("offset") Integer offset,
            @Param("rows") Integer rows);
 
    Long countsByAccountItem(
            @Param("name") String name,
            @Param("type") Integer type,
            @Param("remark") String remark);
 
    List<AccountItemVo4List> getDetailList(
            @Param("headerId") Long headerId);
 
    int batchDeleteAccountItemByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String[] ids);
 
    List<AccountItem> getAccountItemListByAccountIds(@Param("accountIds") String[] accountIds);
 
    List<AccountItem> getAccountItemListByHeaderIds(@Param("headerIds") String[] headerIds);
 
    List<AccountItem> getAccountItemListByInOutItemIds(@Param("inOutItemIds") String[] inOutItemIds);
 
    int batchDeleteAccountItemByHeadIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String[] ids);
 
    BigDecimal getEachAmountByBillId(@Param("billId") Long billId);
 
    BigDecimal getFinishDebtByOrganId(@Param("organId") Long organId);
}