Commit 4dc26299 authored by limei's avatar limei

安装告知管理sql修改

parent 2f481140
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
SELECT a.* ,u2.biz_org_name AS inspectionUnit,u1.biz_org_name AS superviseDept SELECT a.* ,u2.biz_org_name AS inspectionUnit,u1.biz_org_name AS superviseDept
FROM (SELECT FROM (SELECT
tz_ugp_install_notice.sequence_nbr, tz_ugp_install_notice.sequence_nbr,
tz_ugp_install_notice.project_id,
tz_ugp_project.`NAME`, tz_ugp_project.`NAME`,
install_region, install_region,
start_date, start_date,
...@@ -33,7 +34,7 @@ ...@@ -33,7 +34,7 @@
and a.construction_unit LIKE concat("%",#{constructionUnit},"%") and a.construction_unit LIKE concat("%",#{constructionUnit},"%")
</if> </if>
<if test="ids != null" > <if test="ids != null" >
and tz_ugp_install_notice.project_id in and a.project_id in
<foreach collection="ids" item = "item" index="index" open="(" separator="," close=")"> <foreach collection="ids" item = "item" index="index" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment