java110 %!s(int64=4) %!d(string=hai) anos
pai
achega
9363303c07

+ 3 - 3
java110-db/src/main/resources/mapper/user/UserAttrV1ServiceDaoImplMapper.xml

@@ -53,9 +53,6 @@
         <if test="newBId != null and newBId != ''">
             ,t.b_id = #{newBId}
         </if>
-        <if test="attrId !=null and attrId != ''">
-            , t.attr_id= #{attrId}
-        </if>
         <if test="specCd !=null and specCd != ''">
             , t.spec_cd= #{specCd}
         </if>
@@ -69,6 +66,9 @@
         <if test="userId !=null and userId != ''">
             and t.user_id= #{userId}
         </if>
+        <if test="attrId !=null and attrId != ''">
+            and t.attr_id= #{attrId}
+        </if>
 
     </update>