java110 4 éve%!(EXTRA string=óta)
szülő
commit
95e8e14561

+ 4 - 4
java110-db/src/main/resources/mapper/community/ParkingBoxAreaV1ServiceDaoImplMapper.xml

@@ -68,15 +68,15 @@
             , t.remark= #{remark}
         </if>
 
-        <if test="boxId !=null and boxId != ''">
-            , t.box_id= #{boxId}
-        </if>
         where 1=1
         <if test="baId !=null and baId != ''">
             and t.ba_id= #{baId}
         </if>
         <if test="communityId !=null and communityId != ''">
-            , t.community_id= #{communityId}
+            and t.community_id= #{communityId}
+        </if>
+        <if test="boxId !=null and boxId != ''">
+            and t.box_id= #{boxId}
         </if>
 
     </update>