无关风月
2025-04-10 099ea14bba367fd86f0dde37d908f07cc04c3d39
ruoyi-system/src/main/java/com/ruoyi/system/mapper/TBillMapper.java
@@ -5,11 +5,12 @@
import com.ruoyi.system.dto.TBillDto;
import com.ruoyi.system.model.TBill;
import com.ruoyi.system.query.TBillQuery;
import com.ruoyi.system.vo.ScreenRentRankVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
/**
@@ -25,6 +26,8 @@
    PageInfo<TBillDto> page(@Param("pageInfo") PageInfo<TBill> pageInfo, @Param("query") TBillQuery query);
    PageInfo<TBillDto> pageForApplet(@Param("pageInfo") PageInfo<TBill> pageInfo, @Param("query") TBillQuery query);
    List<TBillDto> getBillList(@Param("query")TBillQuery query);
    /**
@@ -37,13 +40,24 @@
    TBillDto selectDetailByBillId(@Param("billId") String billId);
    BigDecimal statisticsAllRent();
    BigDecimal statisticsAllRent(@Param("query") TBillQuery query);
    BigDecimal statisticsNoPay();
    BigDecimal statisticsNoPay(@Param("query") TBillQuery query);
    BigDecimal statisticsPayed();
    BigDecimal statisticsPayed(@Param("query") TBillQuery query);
    BigDecimal statisticsOverdue();
    BigDecimal statisticsOverdue(@Param("query") TBillQuery query);
    Integer batchBillCount(@Param("userId")String userId, @Param("billIds")List<String> billIds);
    /**
     * 街道租金排行
     * @return
     */
    List<ScreenRentRankVO> getStreetRentRank(@Param("businessDeptId") String businessDeptId);
    /**
     * 查询季付账单
     * @param businessDeptId
     * @return
     */
    List<TBill> getJiFuBillList(@Param("businessDeptId") String businessDeptId, @Param("first") Date first, @Param("last") Date last);
}