|
|
@ -88,7 +88,8 @@ |
|
|
<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.thatday_sale_money> OR ub.thatday_buy_money>0) |
|
|
where ub.user_isli = #{user_isli} |
|
|
|
|
|
AND (ub.thatday_sale_money> OR ub.thatday_buy_money>0) |
|
|
AND o.status in (2,3,4); |
|
|
AND o.status in (2,3,4); |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|