Commit ab98a5d2 authored by 邢磊's avatar 邢磊

*)解决报错

parent 4710ef97
......@@ -1208,7 +1208,7 @@
SELECT
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.status = 0 then '已完成'
ELSE '进行中'
END as status
FROM
......@@ -1264,7 +1264,7 @@
union all
SELECT
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.status = 0 then '已完成'
ELSE '进行中'
END as status
FROM
......@@ -1273,7 +1273,7 @@
where
a.inspection_unit_code= b.use_unit_code
and ((b.supervise_org_code != '50' and b.supervise_org_code LIKE CONCAT (#{orgCode}, '%')) or (b.supervise_org_code = '50' and b.office_region LIKE CONCAT ('%', #{dto.cityCode}, '%')))
a.inspection_type = 'DQJY'
AND a.inspection_type = 'DQJY'
<if test="dto.beginDate != null and dto.beginDate != ''">
and date_ge(CAST(a.accept_date as date),#{dto.beginDate})
</if>
......@@ -1627,7 +1627,7 @@
<select id="countBizFinishedNumForDPListJDJY" resultType="java.util.Map">
SELECT
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.status = 0 then '已完成'
ELSE '进行中'
END as status
FROM
......@@ -1683,7 +1683,7 @@
<select id="countBizFinishedNumForDPListDQJY" resultType="java.util.Map">
SELECT
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.status = 0 then '已完成'
ELSE '进行中'
END as status
FROM
......
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