注释掉不要的代码
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.adc.da.sys.dao.mysql.MailEODao">
|
||||
<insert id="insert" parameterType="com.adc.da.sys.entity.MailEO">
|
||||
insert into ts_mail(id
|
||||
,to_mail
|
||||
,cc_mail
|
||||
,subject
|
||||
,content
|
||||
,send_date)
|
||||
values (#{id},#{toMail},#{ccMail}, #{subject}, #{content}, #{sendDate})
|
||||
</insert>
|
||||
|
||||
<select id="list" resultType="com.adc.da.sys.entity.MailEO">
|
||||
select * from ts_mail order by send_date desc
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -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>
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
</insert>
|
||||
|
||||
|
||||
<select id="getHomeListByRoleId" parameterType="string" resultMap="BaseResultMap">
|
||||
select t4.id, t4.del_flag, t4.name,t4. parent_id, t4.parent_ids, t4.href, t4.icon,t4.iconHref,t4.iconClick,t4.iconClickHref
|
||||
, t4.is_show, t4.permission, t4.remarks, t4.sort, t4.ext_info,t4.is_url
|
||||
from tr_role_home t3
|
||||
inner join ts_menu t4 on t3.menuId=t4.ID
|
||||
<if test="roleId!='' and roleId!=null">
|
||||
where t3.roleId=#{roleId}
|
||||
</if>
|
||||
</select>
|
||||
<!-- <select id="getHomeListByRoleId" parameterType="string" resultMap="BaseResultMap">-->
|
||||
<!-- select t4.id, t4.del_flag, t4.name,t4. parent_id, t4.parent_ids, t4.href, t4.icon,t4.iconHref,t4.iconClick,t4.iconClickHref-->
|
||||
<!-- , t4.is_show, t4.permission, t4.remarks, t4.sort, t4.ext_info,t4.is_url-->
|
||||
<!-- from tr_role_home t3-->
|
||||
<!-- inner join ts_menu t4 on t3.menuId=t4.ID-->
|
||||
<!-- <if test="roleId!='' and roleId!=null">-->
|
||||
<!-- where t3.roleId=#{roleId}-->
|
||||
<!-- </if>-->
|
||||
<!-- </select>-->
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user