注释掉不要的代码
This commit is contained in:
@@ -285,41 +285,12 @@
|
||||
SELECT <include refid="Base_Column_List"/> FROM TS_MENU M LEFT JOIN TR_ROLE_MENU RM ON M.ID = RM.MENU_ID where RM.ROLE_ID = #{roleId}
|
||||
</select>
|
||||
|
||||
|
||||
<!-- 2018-08-22 -->
|
||||
<!-- Lee Kwanho -->
|
||||
<!--查询菜单功能,根据菜单名进行查询,返回菜单以及上级信息-->
|
||||
<select id="listMenuEOByMenuName" resultMap="BaseResultMap" >
|
||||
SELECT DISTINCT <include refid="Base_Column_List_V2"/> FROM TS_MENU right join (
|
||||
SELECT <include refid="Base_Column_List"/> FROM TS_MENU
|
||||
WHERE TS_MENU.del_flag !=1
|
||||
<if test="menuName != null">
|
||||
AND TS_MENU.NAME LIKE '%${menuName}%'
|
||||
</if>
|
||||
) b on TS_MENU.id=b.id
|
||||
<if test="menuName != null">
|
||||
or b.parent_ids like '%'||TS_MENU.id||'%'
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="queryConflict" resultType="java.lang.Integer">
|
||||
select count(1) from TS_MENU
|
||||
where name = #{name} and parent_id = #{parentId} and id != #{id} and del_flag='0'
|
||||
|
||||
</select>
|
||||
|
||||
|
||||
<select id="findIndustryAll" resultType="string">
|
||||
select MODULENAME from TS_GLOD_MODULE
|
||||
</select>
|
||||
|
||||
<select id="listIndustryByUserId">
|
||||
select MODULENAME from TS_GLOD_MODULE M
|
||||
LEFT JOIN TR_ROLE_MODULE RM ON RM.GMID = M.ID
|
||||
LEFT JOIN TR_USER_ROLE UR ON UR.ROLE_ID = RM.ROLE_ID
|
||||
WHERE UR.USER_ID = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="listMenuEOByMenuIds" resultMap="BaseResultMap">
|
||||
SELECT distinct
|
||||
<include refid="Base_Column_List"/>
|
||||
@@ -340,14 +311,5 @@
|
||||
LEFT JOIN TR_ROLE_MENU RM ON RM.MENU_ID = M.ID
|
||||
WHERE RM.ROLE_ID = #{roleId}
|
||||
</select>
|
||||
<!-- <select id="queryInformation" resultType="java.lang.String">-->
|
||||
<!-- select information from ts_information-->
|
||||
<!-- </select>-->
|
||||
|
||||
<!-- <update id="updateInformation">-->
|
||||
<!-- update ts_information set information = #{information}-->
|
||||
<!-- </update>-->
|
||||
<!-- <insert id="insertInformation">-->
|
||||
<!-- insert into ts_information(information) values(#{information})-->
|
||||
<!-- </insert>-->
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user