Procházet zdrojové kódy

fix mapper xml sql

xiewj před 2 roky
rodič
revize
ff2a8b4e78

+ 2 - 2
src/main/resources/mapper/www/system/UserMapper.xml

@@ -23,10 +23,10 @@
         update t_users_auth_info
         <choose>
             <when test="type != null and type == 1">
-                set call_counts = call_counts+1
+                set call_counts = call_counts+#{count}
             </when>
             <when test="type != null and type == 2">
-                set call_counts = call_counts-1
+                set call_counts = call_counts-#{count}
             </when>
         </choose>
         <where>