Quellcode durchsuchen

微信账单查询接口更新

baiyun vor 1 Jahr
Ursprung
Commit
c3dabdc820

+ 2 - 2
ruoyi-modules/ruoyi-backstage/src/main/resources/mapper/consumption/XfCreditAccountMapper.xml

@@ -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>
                 )