Commit 606992d2 by hulei

bugfix: selectSecondCodAndBustypList

parent 894a5411
......@@ -389,7 +389,7 @@
select s1.txt as codName,a.cod
from atp a
left join stb s1 on s1.tbl='ATPTXT' and s1.UIL='CN' and s1.cod=a.cod
left join (select inifrm,bustyp,min(SORT) sort from busbtn group by inifrm ) aa on substr( a.cod,1,6)=aa.inifrm
left join (select inifrm,bustyp,min(SORT) sort from busbtn group by inifrm,bustyp) aa on substr( a.cod,1,6)=aa.inifrm
where 1=1
and a.BUSTRNFLG ='X'
and s1.cod is not null
......
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