master
hansha 1 year ago
parent 4c42dde55f
commit 519134078d

@ -39,7 +39,7 @@ public class DaCatalogController extends BaseController
}
/**
* --catalogcountNum
* --catalogcountNum
* @param daCatalog
* @return
*/

@ -51,7 +51,7 @@
<select id="selectDaBirthDjList" parameterType="DaBirthDj" resultMap="DaBirthDjResult">
select distinct b.* from da_birth_dj b
left join da_user_catalog uc on b.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on b.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="taskId != null ">and task_id = #{taskId}</if>
@ -118,7 +118,7 @@
<!--检索+同音-->
<select id="searchDaBirthDjList" parameterType="DaBirthDj" resultMap="DaBirthDjResult">
select distinct b.* from da_birth_dj b
left join da_user_catalog uc on b.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on b.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="name != null and name != ''">
@ -149,7 +149,7 @@
<!--检索不加同音-->
<select id="searchDaBirthDjList1" parameterType="DaBirthDj" resultMap="DaBirthDjResult">
select distinct b.* from da_birth_dj b
left join da_user_catalog uc on b.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on b.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="name != null and name != ''">

@ -127,7 +127,7 @@
)
</select>
<!--根据父id导出目录-->
<!--根据父id导出目录 超管跟管理员使用-->
<select id="exportDaCatalogList" resultMap="DaCatalogResult">
<include refid="selectDaCatalogVo"/>
<where>
@ -136,7 +136,7 @@
order by pid asc, order_num desc
</select>
<!--根据父id、userId导出目录-->
<!--根据父id、userId导出目录 其他用户使用-->
<select id="exportDaCatalogListByUserId" resultMap="DaCatalogResult">
select distinct c.* from da_catalog c
left join da_user_catalog uc on c.id = uc.mu_id

@ -72,7 +72,7 @@
<select id="selectDaCzrkdjList" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult">
select distinct c.* from da_czrkdj c
left join da_user_catalog uc on c.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on c.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="taskId != null ">and task_id = #{taskId}</if>
@ -156,7 +156,7 @@
<!--检索+同音字-->
<select id="searchDaCzrkdjList" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult">
select distinct c.* from da_czrkdj c
left join da_user_catalog uc on c.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on c.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="ywType != null and ywType != ''">and yw_type = #{ywType}</if>
@ -198,7 +198,7 @@
<!--检索+无同音字-->
<select id="searchDaCzrkdjList1" parameterType="DaCzrkdj" resultMap="DaCzrkdjResult">
select distinct c.* from da_czrkdj c
left join da_user_catalog uc on c.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on c.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="ywType != null and ywType != ''">and yw_type = #{ywType}</if>

@ -29,7 +29,7 @@
<select id="selectDaPicturesRecardList" parameterType="DaPicturesRecard" resultMap="DaPicturesRecardResult">
select distinct p.* from da_pictures_recard p
left join da_user_catalog uc on p.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on p.mu_id = uc.mu_id</if>
<where>
<if test="userId != null"> and uc.user_id = #{userId}</if>
<if test="id != null "> and id = #{id}</if>

@ -52,7 +52,7 @@
<select id="selectDaQyzList" parameterType="DaQyz" resultMap="DaQyzResult">
select distinct q.* from da_qyz q
left join da_user_catalog uc on q.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on q.mu_id = uc.mu_id</if>
<where>
<if test="userId != null">and uc.user_id = #{userId}</if>
<if test="taskId != null ">and task_id = #{taskId}</if>
@ -122,7 +122,7 @@
<!--检索+同音字-->
<select id="searchDaQyzList" parameterType="DaQyz" resultMap="DaQyzResult">
select distinct q.* from da_qyz q
left join da_user_catalog uc on q.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on q.mu_id = uc.mu_id</if>
<where>
<if test="userId != null">and uc.user_id = #{userId}</if>
<if test="name1 != null and name1 != ''">
@ -159,7 +159,7 @@
<!--检索+无同音字-->
<select id="searchDaQyzList1" parameterType="DaQyz" resultMap="DaQyzResult">
select distinct q.* from da_qyz q
left join da_user_catalog uc on q.mu_id = uc.mu_id
<if test="userId != null ">left join da_user_catalog uc on q.mu_id = uc.mu_id</if>
<where>
<if test="userId != null">and uc.user_id = #{userId}</if>
<if test="name1 != null and name1 != ''">

@ -36,7 +36,7 @@
<select id="selectDaTaskList" parameterType="DaTask" resultMap="DaTaskResult">
select distinct t.* from da_task t
left join da_user_catalog uc on t.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on t.mu_id = uc.mu_id</if>
<where>
<if test="userId != null"> and uc.user_id = #{userId}</if>
<if test="muId != null "> and mu_id = #{muId}</if>

@ -48,7 +48,7 @@
<select id="selectDaYtzmList" parameterType="DaYtzm" resultMap="DaYtzmResult">
select distinct y.* from da_ytzm y
left join da_user_catalog uc on y.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on y.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="taskId != null ">and task_id = #{taskId}</if>
@ -105,7 +105,7 @@
<!--检索+同音字-->
<select id="searchYtzmList" parameterType="DaYtzm" resultMap="DaYtzmResult">
select distinct y.* from da_ytzm y
left join da_user_catalog uc on y.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on y.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="wName != null and wName != ''">
@ -131,7 +131,7 @@
<!--检索+无同音字-->
<select id="searchYtzmList1" parameterType="DaYtzm" resultMap="DaYtzmResult">
select distinct y.* from da_ytzm y
left join da_user_catalog uc on y.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on y.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="wName != null and wName != ''">

@ -54,7 +54,7 @@
<select id="selectDaZfnyhkcgList" parameterType="DaZfnyhkcg" resultMap="DaZfnyhkcgResult">
select distinct z.* from da_zfnyhkcg z
left join da_user_catalog uc on z.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on z.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="taskId != null ">and task_id = #{taskId}</if>
@ -127,7 +127,7 @@
<!--检索+同音字-->
<select id="searchDaZfnyhkcgList" parameterType="DaZfnyhkcg" resultMap="DaZfnyhkcgResult">
select distinct z.* from da_zfnyhkcg z
left join da_user_catalog uc on z.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on z.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="name != null and name != ''">
@ -170,7 +170,7 @@
<!--检索+无同音字-->
<select id="searchDaZfnyhkcgList1" parameterType="DaZfnyhkcg" resultMap="DaZfnyhkcgResult">
select distinct z.* from da_zfnyhkcg z
left join da_user_catalog uc on z.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on z.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="name != null and name != ''">

@ -63,7 +63,7 @@
<select id="selectDaZqzList" parameterType="DaZqz" resultMap="DaZqzResult">
select distinct z.* from da_zqz z
left join da_user_catalog uc on z.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on z.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="taskId != null ">and task_id = #{taskId}</if>
@ -138,7 +138,7 @@
<!--检索+同音字-->
<select id="searchDaZqzList" parameterType="DaZqz" resultMap="DaZqzResult">
select distinct z.* from da_zqz z
left join da_user_catalog uc on z.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on z.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="name != null and name != ''">
@ -185,7 +185,7 @@
<!--检索+无同音字-->
<select id="searchDaZqzList1" parameterType="DaZqz" resultMap="DaZqzResult">
select distinct z.* from da_zqz z
left join da_user_catalog uc on z.mu_id = uc.mu_id
<if test="userId != null "> left join da_user_catalog uc on z.mu_id = uc.mu_id</if>
<where>
<if test="userId != null ">and uc.user_id = #{userId}</if>
<if test="name != null and name != ''">

Loading…
Cancel
Save