feat(创客空间全局资源获取):已支付金额以万为单位

This commit is contained in:
wanjia 2025-05-17 08:17:31 +08:00
parent 1bf0146cc5
commit 4cef9d6a44
4 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ public class MakerSpaceTotalDataVo {
private int totalApplicants;
private int currentTotalAwardAmount;
private float currentTotalAwardAmount;
private float paidAwardAmount;

View File

@ -17,7 +17,7 @@ public interface TasksMapper{
int getTotalApplicantCount();
int getCurrentTotalAwardAmount();
float getCurrentTotalAwardAmount();
List<Object> getTaskPublishedCountsByYear();

View File

@ -53,8 +53,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
from papers
where is_delete = 0 and parent_id = 0
</select>
<select id="getCurrentTotalAwardAmount" resultType="java.lang.Integer">
select sum(bounty)
<select id="getCurrentTotalAwardAmount" resultType="java.lang.Float">
select COALESCE(SUM(bounty), 0)
from tasks
where is_delete = 0 and `status` between 3 and 8
</select>