ruoyi-admin/pom.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-admin/pom.xml
@@ -32,11 +32,11 @@ <version>31.1-jre</version> <!-- 请根据需要选择合适的版本 --> </dependency> <!-- spring-boot-devtools --> <!-- <dependency>--> <!-- <groupId>org.springframework.boot</groupId>--> <!-- <artifactId>spring-boot-devtools</artifactId>--> <!-- <optional>true</optional> <!– 表示依赖不会传递 –>--> <!-- </dependency>--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-devtools</artifactId> <optional>true</optional> <!-- 表示依赖不会传递 --> </dependency> <!-- swagger3--> <dependency> ruoyi-system/src/main/java/com/ruoyi/system/service/impl/TBillServiceImpl.java
@@ -463,7 +463,7 @@ throw new ServiceException("实付金额不能高于于流水可抵扣剩余金额"); } //如果实付金额大于欠费金额 if (dto.getAmount().compareTo(bill.getOutstandingMoney())>=0){ if (dto.getAmount().compareTo(bill.getOutstandingMoney())>0){ throw new ServiceException("实付金额不能高于该账单欠费金额"); } } ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
@@ -148,18 +148,18 @@ </select> <select id="statisticsAllRent" resultType="java.math.BigDecimal"> SELECT sum(payable_fees_money) as amount FROM t_bill SELECT ifnull(sum(payable_fees_money),0) as amount FROM t_bill </select> <select id="statisticsNoPay" resultType="java.math.BigDecimal"> SELECT sum(outstanding_money) as amount FROM t_bill where pay_fees_status!=3 SELECT ifnull(sum(outstanding_money),0) as amount FROM t_bill where pay_fees_status!=3 </select> <select id="statisticsPayed" resultType="java.math.BigDecimal"> SELECT sum(pay_fees_money) as amount FROM t_bill SELECT ifnull(sum(pay_fees_money),0) as amount FROM t_bill </select> <select id="statisticsOverdue" resultType="java.math.BigDecimal"> SELECT sum(outstanding_money) as amount FROM t_bill where pay_fees_status=4 SELECT ifnull(sum(outstanding_money),0) as amount FROM t_bill where pay_fees_status=4 </select> </mapper>