企业端资料下载
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@
|
|||||||
ail.fileName like concat('%',concat(#{fileName},'%'))
|
ail.fileName like concat('%',concat(#{fileName},'%'))
|
||||||
</if>
|
</if>
|
||||||
</where>
|
</where>
|
||||||
order by ail.uploadTime desc
|
group by ail.fileId order by ail.uploadTime desc
|
||||||
|
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
+5
-5
@@ -575,7 +575,7 @@
|
|||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="ids!= null and ids != ''"> where pwgs.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
<if test="ids!= null and ids != ''"> pwgs.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
||||||
|
|
||||||
<if test="allProjectStatisticsSearch.projectName != null and allProjectStatisticsSearch.projectName != ''">
|
<if test="allProjectStatisticsSearch.projectName != null and allProjectStatisticsSearch.projectName != ''">
|
||||||
AND pwg.working_group_project LIKE
|
AND pwg.working_group_project LIKE
|
||||||
@@ -630,7 +630,7 @@
|
|||||||
FROM pay_common_project pcp left JOIN sys_user su on(pcp.principal_id=su.id) left join sys_depart sd
|
FROM pay_common_project pcp left JOIN sys_user su on(pcp.principal_id=su.id) left join sys_depart sd
|
||||||
on(su.org_code=sd.org_code)
|
on(su.org_code=sd.org_code)
|
||||||
<where>
|
<where>
|
||||||
<if test="ids!= null and ids != ''"> where pcp.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
<if test="ids!= null and ids != ''"> pcp.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
||||||
|
|
||||||
<if test="idList != null and idList != ''">
|
<if test="idList != null and idList != ''">
|
||||||
pcp.principal_id in
|
pcp.principal_id in
|
||||||
@@ -692,7 +692,7 @@
|
|||||||
FROM pay_member_project pmp right join pay_member_project_subitem pmps on(pmp.id=pmps.project_id)
|
FROM pay_member_project pmp right join pay_member_project_subitem pmps on(pmp.id=pmps.project_id)
|
||||||
left JOIN sys_user su on(pmp.director_id=su.id) left join sys_depart sd on(su.org_code=sd.org_code)
|
left JOIN sys_user su on(pmp.director_id=su.id) left join sys_depart sd on(su.org_code=sd.org_code)
|
||||||
<where>
|
<where>
|
||||||
<if test="ids!= null and ids != ''"> where pmps.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
<if test="ids!= null and ids != ''"> pmps.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
||||||
|
|
||||||
<if test="idList != null and idList != ''">
|
<if test="idList != null and idList != ''">
|
||||||
pmp.director_id in
|
pmp.director_id in
|
||||||
@@ -753,7 +753,7 @@
|
|||||||
FROM pay_meeting pm right join pay_meeting_situation pms on(pm.id=pms.meeting_id)
|
FROM pay_meeting pm right join pay_meeting_situation pms on(pm.id=pms.meeting_id)
|
||||||
left JOIN sys_user su on(pm.director_id=su.id) left join sys_depart sd on(su.org_code=sd.org_code)
|
left JOIN sys_user su on(pm.director_id=su.id) left join sys_depart sd on(su.org_code=sd.org_code)
|
||||||
<where>
|
<where>
|
||||||
<if test="ids!= null and ids != ''"> where pms.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
<if test="ids!= null and ids != ''"> pms.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
||||||
|
|
||||||
<if test="idList != null and idList != ''">
|
<if test="idList != null and idList != ''">
|
||||||
pm.director_id in
|
pm.director_id in
|
||||||
@@ -814,7 +814,7 @@
|
|||||||
FROM tb_member_project tmp left join tb_member_project_subitem tmps on(tmp.id=tmps.project_id)
|
FROM tb_member_project tmp left join tb_member_project_subitem tmps on(tmp.id=tmps.project_id)
|
||||||
left JOIN sys_user su on(tmps.liaison_man_id=su.id) left join sys_depart sd on(su.org_code=sd.org_code)
|
left JOIN sys_user su on(tmps.liaison_man_id=su.id) left join sys_depart sd on(su.org_code=sd.org_code)
|
||||||
<where>
|
<where>
|
||||||
<if test="ids!= null and ids != ''"> where tmps.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
<if test="ids!= null and ids != ''"> tmps.id in <foreach collection="ids" item="item" close=")" open="(" separator=",">#{item}</foreach> </if>
|
||||||
<!--标协项目没有负责人所以除最高权限都查不到 -->
|
<!--标协项目没有负责人所以除最高权限都查不到 -->
|
||||||
<if test="idList != null and idList != ''">
|
<if test="idList != null and idList != ''">
|
||||||
tmps.id=99999999999999999999999
|
tmps.id=99999999999999999999999
|
||||||
|
|||||||
Reference in New Issue
Block a user