dsx 2 年之前
父节点
当前提交
e715818478
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/main/resources/mapper/www/system/UserMapper.xml

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

@@ -7,7 +7,7 @@
         set call_counts = call_counts -1
         where call_counts > 0
         <if test="appKey != null and appKey != ''">
-            and appKey = #{appKey}
+            and app_key = #{appKey}
         </if>
     </update>
     <update id="updateCallCountsByParam">
@@ -15,7 +15,7 @@
         set call_counts = #{count}
         <where>
             <if test="appKey != null and appKey != ''">
-                  appKey = #{appKey}
+                app_key = #{appKey}
             </if>
         </where>
     </update>
@@ -29,7 +29,7 @@
             </if>
         <where>
             <if test="appKey != null and appKey != ''">
-                appKey = #{appKey}
+                app_key = #{appKey}
             </if>
         </where>
     </update>