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>