Commit 9fbe13ea0ad930b26d31f997849d80ce75fdd589
1 parent
051b0365
Exists in
master
收支明细导出:金额增加单位并过滤金额为0的数据
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
backend/chkpower/src/main/resources/mapper/WFinanceDetailMapper.xml
... | ... | @@ -49,11 +49,11 @@ |
49 | 49 | |
50 | 50 | <select id="mattersIncomerByOrgIdAndDate" resultType="java.lang.String"> |
51 | 51 | SELECT |
52 | - GROUP_CONCAT( F_matter, F_income ) | |
52 | + GROUP_CONCAT( F_matter, F_income,"万" ) | |
53 | 53 | FROM |
54 | 54 | w_finance_detail w_finance_detail |
55 | 55 | WHERE |
56 | - LENGTH( F_income ) != 0 | |
56 | + LENGTH( F_income ) != 0 and F_income != 0 | |
57 | 57 | <if test="orgId != null and orgId != ''"> |
58 | 58 | and w_finance_detail.F_org_id = #{orgId} |
59 | 59 | </if> |
... | ... | @@ -64,11 +64,11 @@ |
64 | 64 | |
65 | 65 | <select id="matterDisbursementByOrgIdAndDate" resultType="java.lang.String"> |
66 | 66 | SELECT |
67 | - GROUP_CONCAT( F_matter, F_disbursement ) | |
67 | + GROUP_CONCAT( F_matter, F_disbursement,"万" ) | |
68 | 68 | FROM |
69 | 69 | w_finance_detail w_finance_detail |
70 | 70 | WHERE |
71 | - LENGTH( F_disbursement ) != 0 | |
71 | + LENGTH( F_disbursement ) != 0 and F_disbursement != 0 | |
72 | 72 | <if test="orgId != null and orgId != ''"> |
73 | 73 | and w_finance_detail.F_org_id = #{orgId} |
74 | 74 | </if> | ... | ... |