add 首页 三年内应收

This commit is contained in:
lijiarao
2022-09-15 16:06:51 +08:00
parent 2bdb918109
commit 1ac4ea4cb9
5 changed files with 48 additions and 0 deletions
@@ -2,6 +2,7 @@ package com.jero.project.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jero.index.dto.YearMoneyDTO;
import com.jero.index.vo.AmountClassDTO;
import com.jero.project.entity.PayWorkingGroupSearch;
import com.jero.project.entity.PayWorkingGroupStatistics;
@@ -232,4 +233,6 @@ public interface PayWorkingGroupMapper extends BaseMapper<PayWorkingGroup> {
List<AmountClassDTO> amountClass(@Param("year") String year, @Param("column") String column);
List<AmountClassDTO> amountClass1(@Param("year") String year, @Param("column") String column);
List<YearMoneyDTO> getYearMoneyDTO();
}
@@ -2575,4 +2575,10 @@
</where>
GROUP BY chargeUse
</select>
<select id="getYearMoneyDTO" resultType="com.jero.index.dto.YearMoneyDTO">
select sum(allMoney) as allMoney, year
from v_statistical v
group by year
</select>
</mapper>