Browse Source

修改#为$

master
453530270@qq.com 2 years ago
parent
commit
5d327f1b91
  1. 2
      src/main/resources/mapper/szwh/UserAccountBillMapper.xml

2
src/main/resources/mapper/szwh/UserAccountBillMapper.xml

@ -86,7 +86,7 @@
<!--统计委托方某收入支出的金额--> <!--统计委托方某收入支出的金额-->
<select id="sumMoney" parameterType="java.lang.String" resultType="java.math.BigDecimal"> <select id="sumMoney" parameterType="java.lang.String" resultType="java.math.BigDecimal">
select sum(#{field}) from <include refid="tbName"/> ub select sum(${field}) from <include refid="tbName"/> ub
INNER JOIN `order` o ON ub.batchcode = o.batchcode INNER JOIN `order` o ON ub.batchcode = o.batchcode
where ub.user_isli = #{user_isli} where ub.user_isli = #{user_isli}
AND (ub.thatday_sale_money> OR ub.thatday_buy_money>0) AND (ub.thatday_sale_money> OR ub.thatday_buy_money>0)

Loading…
Cancel
Save