|
|
@@ -65,7 +65,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
'CREDITTYPE' AND del_flag = '0' ) dict ON a.credit_type = dict.dict_value
|
|
|
WHERE
|
|
|
a.user_id = #{userId} AND del_flag = '0'
|
|
|
- <if test="type != null and type == '1'">
|
|
|
+ <if test='type != null and type == "1"'>
|
|
|
AND false
|
|
|
</if>
|
|
|
) UNION ALL
|
|
|
@@ -80,7 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
t_xf_consumedetail b
|
|
|
WHERE
|
|
|
b.user_id = #{userId} AND del_flag = '0'
|
|
|
- <if test="type != null and type == '2'">
|
|
|
+ <if test='type != null and type == "2"'>
|
|
|
AND false
|
|
|
</if>
|
|
|
)
|