|
@@ -52,8 +52,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="selectInfoList" resultType="com.shanghaichengdi.ghjgitem.vo.VwCertInfoSelfAllVo">
|
|
|
- select *
|
|
|
- from (select distinct infoall.CODE code,
|
|
|
+ select distinct infoall.CODE code,
|
|
|
infoall.CRET_TYPE cretType,
|
|
|
infoall.FZJG fzjg,
|
|
|
infoall.CRET_NUMER cretNumer,
|
|
@@ -83,15 +82,13 @@
|
|
|
t2.LICENSENUMBER licenseNumber,
|
|
|
t2.CANCELLATIONDATE cancellationDate,
|
|
|
ss.ECONOMIC_TYPE,
|
|
|
- ss.BUSINESS_SCOPE,
|
|
|
+ ss.BUSINESS_SCOPE
|
|
|
from GHJG_BASICS.Vw_Cret_Info_Self_All infoall
|
|
|
left join GHJG_BASICS.TOBJ_ENTERPRISE_BASIC t2 on infoall.cname = t2.cnname
|
|
|
left join GHJG_PORT_MANAGE.SY_INSPECT ss
|
|
|
on ss.LICENSE_NUMBER = infoall.CRET_NUMER
|
|
|
where (infoall.JUDGMENT like '%上海市浦东新区建设和交通委员会%')
|
|
|
- and infoall.cname not in ('上海新洋山集装箱运输有限公司'))
|
|
|
- where rn = 1
|
|
|
+ and infoall.cname not in ('上海新洋山集装箱运输有限公司')
|
|
|
</select>
|
|
|
|
|
|
<select id="selectBoatInfoList" resultType="com.shanghaichengdi.ghjgitem.vo.ShipDataVo">
|