Explorar el Código

fix mapper xml sql

xiewj hace 2 años
padre
commit
ff2a8b4e78
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/main/resources/mapper/www/system/UserMapper.xml

+ 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>