公开征求意见 导出bug修复
This commit is contained in:
@@ -46,4 +46,19 @@
|
||||
</if>
|
||||
ORDER BY part_code ASC
|
||||
</select>
|
||||
|
||||
<select id="getPublicAllIdeaExport" resultType="com.adc.da.slrs.sarStandIdea.entity.SarPublicIdeaAll">
|
||||
SELECT sar_public_idea_all.id,reason,ts_institution.name as deptName,old_text,new_text,dept_id,part_code,user_name,user_id,content,idea_id,cid,chapter_name,wk_flag,sar_public_idea_all.state
|
||||
FROM sar_public_idea_all
|
||||
left join ts_user on ts_user.USID=sar_public_idea_all.user_id
|
||||
left join ts_institution on ts_institution.id=ts_user.INSTITUTION_ID
|
||||
WHERE cid = #{cid}
|
||||
<if test="null==type or ''==type">
|
||||
and sar_public_idea_all.wk_flag is null
|
||||
</if>
|
||||
<if test="null!=type and type != ''">
|
||||
and sar_public_idea_all.wk_flag ='1'
|
||||
</if>
|
||||
ORDER BY part_code ASC
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user