wuxw
2019-08-20 39c1845259e34c161bd4e464a44b2f11c8a7e546
修复 update set 问题
1个文件已修改
4 ■■■ 已修改文件
java110-db/src/main/resources/mapper/menu/MenuServiceDaoImplMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
java110-db/src/main/resources/mapper/menu/MenuServiceDaoImplMapper.xml
@@ -48,7 +48,8 @@
    <!-- 修改路由信息 add by wuxw 2018-07-03 -->
    <update id="updateMenuGroupInfo" parameterType="Map">
        update m_menu_group t set
        update m_menu_group t
        <set>
        <if test="statusCd !=null and statusCd != ''">
            t.status_cd = #{statusCd},
        </if>
@@ -67,6 +68,7 @@
        <if test="description !=null and description != ''">
            t.description= #{description}
        </if>
        </set>
        where t.g_id= #{gId}
    </update>