|
|
@@ -386,6 +386,7 @@
|
|
386
|
386
|
<select id="selectNotSealedStorage" parameterType="integer" resultType="com.chinaitop.depot.param.BasicStorageAndTankParam">
|
|
387
|
387
|
select
|
|
388
|
388
|
distinct bs.storehouse_id houseId,
|
|
|
389
|
+ bs.storehouse_code storehouseCode,
|
|
389
|
390
|
bs.storehouse_name houseName
|
|
390
|
391
|
from
|
|
391
|
392
|
basic_storehouse bs left join basic_warehouse bw on
|
|
|
@@ -395,6 +396,7 @@
|
|
395
|
396
|
and bw.crk_status = 2
|
|
396
|
397
|
union all select
|
|
397
|
398
|
distinct bt.id houseId,
|
|
|
399
|
+ bt.storagetank_code storehouseCode,
|
|
398
|
400
|
bt.storagetank_name houseName
|
|
399
|
401
|
from
|
|
400
|
402
|
basic_tank bt
|