Commit 54ee9675 authored by 麻笑宇's avatar 麻笑宇

修改大屏总揽办结率去掉已完成筛选

parent cecbaebe
...@@ -1187,7 +1187,7 @@ ...@@ -1187,7 +1187,7 @@
SELECT * FROM (SELECT sequence_nbr as sequenceNbr,install_unit_name as unitName,receive_org_name as SELECT * FROM (SELECT sequence_nbr as sequenceNbr,install_unit_name as unitName,receive_org_name as
receiveOrgName,create_date as createDate,handle_date as handleDate, receiveOrgName,create_date as createDate,handle_date as handleDate,
CASE when notice_status = 0 then '已完成' CASE when notice_status = 0 then '已完成'
ELSE '未完成' ELSE '进行中'
END as status END as status
FROM "tzs_jg_installation_notice" FROM "tzs_jg_installation_notice"
where where
...@@ -1209,7 +1209,7 @@ ...@@ -1209,7 +1209,7 @@
a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as
receiveOrgName,application_date as createDate,accept_date as handleDate, receiveOrgName,application_date as createDate,accept_date as handleDate,
CASE when a.notice_status = 0 then '已完成' CASE when a.notice_status = 0 then '已完成'
ELSE '未完成' ELSE '进行中'
END as status END as status
FROM FROM
"tz_jyjc_inspection_application" a, "tz_jyjc_inspection_application" a,
...@@ -1265,7 +1265,7 @@ ...@@ -1265,7 +1265,7 @@
SELECT SELECT
a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as receiveOrgName,application_date as createDate,accept_date as handleDate, a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as receiveOrgName,application_date as createDate,accept_date as handleDate,
CASE when a.notice_status = 0 then '已完成' CASE when a.notice_status = 0 then '已完成'
ELSE '未完成' ELSE '进行中'
END as status END as status
FROM FROM
"tz_jyjc_inspection_application" a, "tz_jyjc_inspection_application" a,
...@@ -1609,7 +1609,7 @@ ...@@ -1609,7 +1609,7 @@
<select id="countBizFinishedNumForDPListAZGZ" resultType="java.util.Map"> <select id="countBizFinishedNumForDPListAZGZ" resultType="java.util.Map">
SELECT sequence_nbr as sequenceNbr,install_unit_name as unitName,receive_org_name as receiveOrgName,create_date as createDate,handle_date as handleDate, SELECT sequence_nbr as sequenceNbr,install_unit_name as unitName,receive_org_name as receiveOrgName,create_date as createDate,handle_date as handleDate,
CASE when notice_status = 0 then '已完成' CASE when notice_status = 0 then '已完成'
ELSE '未完成' ELSE '进行中'
END as status FROM "tzs_jg_installation_notice" where receive_company_org_code like CONCAT(#{orgCode}, '%') END as status FROM "tzs_jg_installation_notice" where receive_company_org_code like CONCAT(#{orgCode}, '%')
<if test="dto.beginDate != null and dto.beginDate != ''"> <if test="dto.beginDate != null and dto.beginDate != ''">
and date_ge(CAST(handle_date as date),#{dto.beginDate}) and date_ge(CAST(handle_date as date),#{dto.beginDate})
...@@ -1628,7 +1628,7 @@ ...@@ -1628,7 +1628,7 @@
SELECT SELECT
a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as receiveOrgName,application_date as createDate,accept_date as handleDate, a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as receiveOrgName,application_date as createDate,accept_date as handleDate,
CASE when a.notice_status = 0 then '已完成' CASE when a.notice_status = 0 then '已完成'
ELSE '未完成' ELSE '进行中'
END as status END as status
FROM FROM
"tz_jyjc_inspection_application" a, "tz_jyjc_inspection_application" a,
...@@ -1684,7 +1684,7 @@ ...@@ -1684,7 +1684,7 @@
SELECT SELECT
a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as receiveOrgName,application_date as createDate,accept_date as handleDate, a.sequence_nbr as sequenceNbr,application_unit_name as unitName,inspection_unit_name as receiveOrgName,application_date as createDate,accept_date as handleDate,
CASE when a.notice_status = 0 then '已完成' CASE when a.notice_status = 0 then '已完成'
ELSE '未完成' ELSE '进行中'
END as status END as status
FROM FROM
"tz_jyjc_inspection_application" a, "tz_jyjc_inspection_application" a,
......
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