|
@@ -40,8 +40,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
WHERE
|
|
|
tdo.order_type = 1
|
|
|
AND tdo.divide_log_id = #{divideLogId}
|
|
|
- <if test="roleId != null and roleId != ''">
|
|
|
- AND cl.role_id = #{roleId}
|
|
|
+ <if test="startPrice != null and startPrice != ''">
|
|
|
+ AND (tdo.order_price - tdo.brokerage) BETWEEN #{startPrice} and #{endPrice}
|
|
|
</if>
|
|
|
</select>
|
|
|
|
|
@@ -63,6 +63,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
WHERE
|
|
|
tdo.order_type = 2
|
|
|
AND tdo.divide_log_id = #{divideLogId}
|
|
|
+ <if test="startPrice != null and startPrice != ''">
|
|
|
+ AND (tdo.order_price - tdo.brokerage) BETWEEN #{startPrice} and #{endPrice}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="getMonthFinishAllTenant" parameterType="com.zhongzheng.modules.top.financial.bo.TopDivideOrderQueryBo" resultType="String">
|