소스 검색

Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

shane 4 년 전
부모
커밋
96ded6a079
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      java110-db/src/main/resources/mapper/community/ParkingBoxAreaV1ServiceDaoImplMapper.xml

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

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