| | |
| | | <if test="accountIncome.incomeMethod != null and accountIncome.incomeMethod != '' "> |
| | | AND income_method = #{accountIncome.incomeMethod} |
| | | </if> |
| | | <!-- 2026-10-12 需求:收入管理按收入日期倒序 --> |
| | | ORDER BY income_date DESC, id DESC |
| | | </select> |
| | | <select id="accountIncomeExport" resultType="com.ruoyi.account.pojo.AccountIncome"> |
| | | SELECT |
| | |
| | | <if test="dateQueryDto.entryDateEnd != null and dateQueryDto.entryDateEnd != '' "> |
| | | AND income_date <= DATE_FORMAT(#{dateQueryDto.entryDateEnd},'%Y-%m-%d') |
| | | </if> |
| | | group by income_type |
| | | group by income_type, sdd.dict_label |
| | | </select> |
| | | <select id="report1" resultType="java.math.BigDecimal"> |
| | | SELECT |