wuxw
2022-07-19 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54
java110-db/src/main/resources/mapper/user/MenuGroupCommunityV1ServiceDaoImplMapper.xml
@@ -18,7 +18,7 @@
        g_id,gc_id,name,community_name,community_id
        ) values
        <foreach collection="menuGroupCommunityPos" item="item" separator=",">
            (#{item.gId},'0',#{item.gcId},#{item.name},#{item.communityName},#{item.communityId})
            (#{item.gId},#{item.gcId},#{item.name},#{item.communityName},#{item.communityId})
        </foreach>
    </insert>
@@ -71,13 +71,14 @@
        <if test="communityName !=null and communityName != ''">
            , t.community_name= #{communityName}
        </if>
        <if test="communityId !=null and communityId != ''">
            , t.community_id= #{communityId}
        </if>
        where 1=1
        <if test="gcId !=null and gcId != ''">
            and t.gc_id= #{gcId}
        </if>
        <if test="communityId !=null and communityId != ''">
            and t.community_id= #{communityId}
        </if>
    </update>