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 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 getDetailList( @Param("headerId") Long headerId); int batchDeleteAccountItemByIds(@Param("updateTime") Date updateTime, @Param("updater") Long updater, @Param("ids") String[] ids); List getAccountItemListByAccountIds(@Param("accountIds") String[] accountIds); List getAccountItemListByHeaderIds(@Param("headerIds") String[] headerIds); List 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); }