Commit 904d3f1b by hulei

补充全局异常处理

parent b0a31abb
......@@ -334,7 +334,8 @@
<if test="cod != null and cod !=''"> and a.cod = #{cod,jdbcType=VARCHAR}</if>
</select>
<select id="selectFirstCodList" resultMap="AtpInfoVo">
select distinct s1.txt as mancodName,a.MANCOD -- ,GROUP_CONCAT(a.cod) as subcodstr
select distinct t.* from (
select s1.txt as mancodName,a.MANCOD
from atp a
left join stb s1 on s1.tbl='MANCOD' and s1.UIL='CN' and s1.cod=a.mancod
where 1=1
......@@ -342,9 +343,7 @@
and a.mancod is not null
and s1.cod is not null
and s1.cod not like 'FCT%'
-- <if test="cod != null and cod !=''"> and a.mancod = #{cod,jdbcType=VARCHAR}</if>
-- group by a.mancod
order by s1.srt asc
order by s1.srt asc) t
</select>
<select id="selectSecondCodList" resultMap="AtpInfoVo">
......@@ -354,7 +353,6 @@
where 1=1
and a.BUSTRNFLG ='X'
and s1.cod is not null
-- <if test="cod != null and cod !=''"> and a.cod = #{cod,jdbcType=VARCHAR}</if>
order by a.cod asc
</select>
......
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