|
@@ -98,50 +98,91 @@
|
|
|
|
|
|
<select id="selectDeclareGoodsList"
|
|
|
resultType="com.shanghaichengdi.ghjgitem.vo.HyDangerPreDeclareNhVo">
|
|
|
- select t.id id,
|
|
|
- connects connects,
|
|
|
- explanations explanations,
|
|
|
- declare_code declareCode,
|
|
|
- unit_code unitCode,
|
|
|
- consigner consigner,
|
|
|
- ship_name shipName,
|
|
|
- voyage_number_code voyageNumberCode,
|
|
|
- address address,
|
|
|
- from_port_code fromPortCode,
|
|
|
- to_port_code toPortCode,
|
|
|
- pre_start_date preStartDate,
|
|
|
- pre_end_date preEndDate,
|
|
|
- pack_code packCode,
|
|
|
- handle_mode handleMode,
|
|
|
- add_info addInfo,
|
|
|
- emergency_code emergencyCode,
|
|
|
- declare_unit declareUnit,
|
|
|
- declare_date declareDate,
|
|
|
- check_unit_code checkUnitCode,
|
|
|
- checker checker,
|
|
|
- checker_flag checkerFlag,
|
|
|
- check_date checkDate,
|
|
|
- declarer declarer,
|
|
|
- transport_type transportType,
|
|
|
- transport_desc transportDesc,
|
|
|
- state state,
|
|
|
- addtime addtime,
|
|
|
- updatetime updatetime,
|
|
|
- isremove isremove,
|
|
|
- check_option checkOption,
|
|
|
- is_spot_check isSpotCheck,
|
|
|
- declare_total_ton declareTotalTon,
|
|
|
- declare_total_teu declareTotalTeu,
|
|
|
- declare_total_piece declareTotalPiece,
|
|
|
- is_must_check isMustCheck,
|
|
|
- declare_ton_actual declareTonActual,
|
|
|
- declare_teu_actual declareTeuActual,
|
|
|
- declare_piece_actual declarePieceActual,
|
|
|
- cancel_reason cancelReason,
|
|
|
- implement_time implementTime,
|
|
|
- ship_ton shipTon,
|
|
|
- departurearrivalport departurearrivalport
|
|
|
+ select distinct t.id id1,
|
|
|
+ t.maker maker,
|
|
|
+ t.make_date makeDate,
|
|
|
+ t.make_project makeProject,
|
|
|
+ t.connects connects,
|
|
|
+ t.connect_no connectNo,
|
|
|
+ t.explanations explanations,
|
|
|
+ t.declare_code declareCode,
|
|
|
+ t.unit_code unitCode,
|
|
|
+ t.consigner consigner,
|
|
|
+ t.ship_name shipName,
|
|
|
+ t.voyage_number_code voyageNumberCode,
|
|
|
+ t.address address,
|
|
|
+ t.from_port_code fromPortCode,
|
|
|
+ t.to_port_code toPortCode,
|
|
|
+ t.pre_start_date preStartDate,
|
|
|
+ t.pre_end_date preEndDate,
|
|
|
+ t.pack_code packCode,
|
|
|
+ t.handle_mode handleMode,
|
|
|
+ t.declare_unit declareUnit,
|
|
|
+ t.declare_date declareDate,
|
|
|
+ t.emergency_link_tel_no emergencyLinkTelNo,
|
|
|
+ t.check_unit_code checkUnitCode,
|
|
|
+ t.checker checker,
|
|
|
+ t.checker_flag checkerFlag,
|
|
|
+ t.check_date checkDate,
|
|
|
+ t.revoker revoker,
|
|
|
+ t.revoker_date revokerDate,
|
|
|
+ t.declarer declarer,
|
|
|
+ t.transport_type transportType,
|
|
|
+ t.transport_desc transportDesc,
|
|
|
+ t.state state,
|
|
|
+ t.isremove isRemove1,
|
|
|
+ t.declare_type declareType,
|
|
|
+ t.item_id itemId,
|
|
|
+ t.check_option checkOption,
|
|
|
+ t.is_spot_check isSpotCheck,
|
|
|
+ t.declare_total_ton declareTotalTon,
|
|
|
+ t.declare_total_teu declareTotalTeu,
|
|
|
+ t.declare_total_piece declareTotalPiece,
|
|
|
+ t.is_must_check isMustCheck,
|
|
|
+ t.declare_ton_actual declareTonActual,
|
|
|
+ t.declare_teu_actual declareTeuActual,
|
|
|
+ t.declare_piece_actual declarePieceActual,
|
|
|
+ t.cancel_reason cancelReason,
|
|
|
+ t.declare_unit_code declareUnitCode,
|
|
|
+ t.implement_time implementTime,
|
|
|
+ t.finished_time finishedTime,
|
|
|
+ t.ship_ton shipTon,
|
|
|
+ t.area_code areaCode,
|
|
|
+ t.departurearrivalport departurearrivalport,
|
|
|
+ t1.id id2,
|
|
|
+ t1.declare_id declareId,
|
|
|
+ t1.cargo_code cargoCode,
|
|
|
+ t3.kind_name cargoName,
|
|
|
+ t1.declare_ton declareTon,
|
|
|
+ t1.declare_teu declareTeu,
|
|
|
+ t1.declare_piece declarePiece,
|
|
|
+ t1.package_type packageType,
|
|
|
+ t1.danger_type dangerType,
|
|
|
+ t1.isremove isRemove2,
|
|
|
+ t1.transport_name transportName,
|
|
|
+ t1.measures_number measuresNumber,
|
|
|
+ t1.order_number orderNumber,
|
|
|
+ t1.is_ref_poison_goods isRefPoisonGoods,
|
|
|
+ t1.container_no containerNo,
|
|
|
+ t1.bill_no billNo,
|
|
|
+ t1.full_box fullBox,
|
|
|
+ t1.cnt_type cntType,
|
|
|
+ t1.cnt_size cntSize,
|
|
|
+ t2.licensenumber licensenumber,
|
|
|
+ t2.operator_way operatorWay,
|
|
|
+ t2.unit_measure unitMeasure,
|
|
|
+ t2.dange_groupname dangerGroupName,
|
|
|
+ t2.dange_name dangerName,
|
|
|
+ t2.year_limitamount yearLimitAmount,
|
|
|
+ t2.trans_way transWay,
|
|
|
+ t2.trans_shape transShape,
|
|
|
+ t2.operator_location_naem operatorLocationName,
|
|
|
+ t2.dange_code dangerCode,
|
|
|
+ t2.bowei bowei
|
|
|
from ghjg_port_manage.hy_danger_pre_declare_nh t
|
|
|
+ left join ghjg_port_manage.hy_danger_pre_declare_cargo_nh t1 on t.id = t1.declare_id
|
|
|
+ left join ghjg_basics.hy_wharf_ruleconfig_nh t2 on t.unit_code = t2.operator_location
|
|
|
+ left join ghjg_port_manage.hy_danger_goods_nh_dict t3 on t1.cargo_code = t3.kind_code
|
|
|
where t.AREA_CODE = #{areaCode}
|
|
|
</select>
|
|
|
|