|
|
|
@ -86,7 +86,7 @@ |
|
|
|
|
|
|
|
<!--统计委托方某收入支出的金额--> |
|
|
|
<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 |
|
|
|
where ub.user_isli = #{user_isli} |
|
|
|
AND (ub.thatday_sale_money> OR ub.thatday_buy_money>0) |
|
|
|
|