|
@@ -0,0 +1,104 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper
|
|
|
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.ghjg.shoreline.mapper.ShorelineManageInfoMapper">
|
|
|
+
|
|
|
+ <resultMap id="BaseResultMap" type="com.ghjg.shoreline.dto.ShorelineManageInfo">
|
|
|
+ <result property="id" column="ID" jdbcType="VARCHAR"/>
|
|
|
+ <result property="lineCode" column="LINE_CODE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="exequaturCode" column="EXEQUATUR_CODE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="lineApproveType" column="LINE_APPROVE_TYPE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="lineUser" column="LINE_USER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="contactAddress" column="CONTACT_ADDRESS" jdbcType="VARCHAR"/>
|
|
|
+ <result property="approvedLength" column="APPROVED_LENGTH" jdbcType="DECIMAL"/>
|
|
|
+ <result property="mainUse" column="MAIN_USE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="nearUpUser" column="NEAR_UP_USER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="nearDownUser" column="NEAR_DOWN_USER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="authorityOrz" column="AUTHORITY_ORZ" jdbcType="VARCHAR"/>
|
|
|
+ <result property="issueDate" column="ISSUE_DATE" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="effectiveStartDate" column="EFFECTIVE_START_DATE" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="effectiveYear" column="EFFECTIVE_YEAR" jdbcType="VARCHAR"/>
|
|
|
+ <result property="majorWaterAreaFacility" column="MAJOR_WATER_AREA_FACILITY" jdbcType="VARCHAR"/>
|
|
|
+ <result property="explain" column="EXPLAIN" jdbcType="VARCHAR"/>
|
|
|
+ <result property="longitude" column="LONGITUDE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="latitude" column="LATITUDE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="remark" column="REMARK" jdbcType="VARCHAR"/>
|
|
|
+ <result property="belongCountry" column="BELONG_COUNTRY" jdbcType="VARCHAR"/>
|
|
|
+ <result property="location" column="LOCATION" jdbcType="VARCHAR"/>
|
|
|
+ <result property="lineType" column="LINE_TYPE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="fbdate" column="FBDATE" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="isSubmit" column="IS_SUBMIT" jdbcType="DECIMAL"/>
|
|
|
+ <result property="isUpdate" column="IS_UPDATE" jdbcType="DECIMAL"/>
|
|
|
+ <result property="updateUser" column="UPDATE_USER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="effectiveEndDate" column="EFFECTIVE_END_DATE" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="creditCode" column="CREDIT_CODE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="fddbr" column="FDDBR" jdbcType="VARCHAR"/>
|
|
|
+ <result property="registerAddress" column="REGISTER_ADDRESS" jdbcType="VARCHAR"/>
|
|
|
+ <result property="fdPhone" column="FD_PHONE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="contactPeople" column="CONTACT_PEOPLE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="contactPhone" column="CONTACT_PHONE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="belongShore" column="BELONG_SHORE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="shoreSeparation" column="SHORE_SEPARATION" jdbcType="VARCHAR"/>
|
|
|
+ <result property="lineUsage" column="LINE_USAGE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="wharfLayoutType" column="WHARF_LAYOUT_TYPE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="shorelineProperty" column="SHORELINE_PROPERTY" jdbcType="VARCHAR"/>
|
|
|
+ <result property="berthNumber" column="BERTH_NUMBER" jdbcType="DECIMAL"/>
|
|
|
+ <result property="maxBerthTon" column="MAX_BERTH_TON" jdbcType="DECIMAL"/>
|
|
|
+ <result property="berthLength" column="BERTH_LENGTH" jdbcType="DECIMAL"/>
|
|
|
+ <result property="dockStatus" column="DOCK_STATUS" jdbcType="VARCHAR"/>
|
|
|
+ <result property="dockOpName" column="DOCK_OP_NAME" jdbcType="VARCHAR"/>
|
|
|
+ <result property="dockCreditCode" column="DOCK_CREDIT_CODE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="dockCertnumber" column="DOCK_CERTNUMBER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="cDate" column="C_DATE" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="cUser" column="C_USER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="uDate" column="U_DATE" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="uUser" column="U_USER" jdbcType="VARCHAR"/>
|
|
|
+ <result property="needPay" column="NEED_PAY" jdbcType="DECIMAL"/>
|
|
|
+ <result property="dockEffectEnd" column="DOCK_EFFECT_END" jdbcType="TIMESTAMP"/>
|
|
|
+ <result property="payUnitName" column="PAY_UNIT_NAME" jdbcType="VARCHAR"/>
|
|
|
+ <result property="payCreditCode" column="PAY_CREDIT_CODE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="payAccount" column="PAY_ACCOUNT" jdbcType="VARCHAR"/>
|
|
|
+ <result property="payBelongBank" column="PAY_BELONG_BANK" jdbcType="VARCHAR"/>
|
|
|
+ <result property="needPayCommit" column="NEED_PAY_COMMIT" jdbcType="DECIMAL"/>
|
|
|
+ <result property="payCycle" column="PAY_CYCLE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="payCount" column="PAY_COUNT" jdbcType="DECIMAL"/>
|
|
|
+ <result property="payAcceptMail" column="PAY_ACCEPT_MAIL" jdbcType="VARCHAR"/>
|
|
|
+ <result property="payContact" column="PAY_CONTACT" jdbcType="VARCHAR"/>
|
|
|
+ <result property="payPhone" column="PAY_PHONE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="shorelineManageType" column="SHORELINE_MANAGE_TYPE" jdbcType="VARCHAR"/>
|
|
|
+ <result property="shorelineManageOrz" column="SHORELINE_MANAGE_ORZ" jdbcType="VARCHAR"/>
|
|
|
+ <result property="isDelete" column="IS_DELETE" jdbcType="DECIMAL"/>
|
|
|
+ <result property="lineStatus" column="LINE_STATUS" jdbcType="DECIMAL"/>
|
|
|
+ </resultMap>
|
|
|
+
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ ID,LINE_CODE,EXEQUATUR_CODE,
|
|
|
+ LINE_APPROVE_TYPE,LINE_USER,CONTACT_ADDRESS,
|
|
|
+ APPROVED_LENGTH,MAIN_USE,NEAR_UP_USER,
|
|
|
+ NEAR_DOWN_USER,AUTHORITY_ORZ,ISSUE_DATE,
|
|
|
+ EFFECTIVE_START_DATE,EFFECTIVE_YEAR,MAJOR_WATER_AREA_FACILITY,
|
|
|
+ EXPLAIN,LONGITUDE,LATITUDE,
|
|
|
+ REMARK,BELONG_COUNTRY,LOCATION,
|
|
|
+ LINE_TYPE,FBDATE,IS_SUBMIT,
|
|
|
+ IS_UPDATE,UPDATE_USER,EFFECTIVE_END_DATE,
|
|
|
+ CREDIT_CODE,FDDBR,REGISTER_ADDRESS,
|
|
|
+ FD_PHONE,CONTACT_PEOPLE,CONTACT_PHONE,
|
|
|
+ BELONG_SHORE,SHORE_SEPARATION,LINE_USAGE,
|
|
|
+ WHARF_LAYOUT_TYPE,SHORELINE_PROPERTY,BERTH_NUMBER,
|
|
|
+ MAX_BERTH_TON,BERTH_LENGTH,DOCK_STATUS,
|
|
|
+ DOCK_OP_NAME,DOCK_CREDIT_CODE,DOCK_CERTNUMBER,
|
|
|
+ C_DATE,C_USER,U_DATE,
|
|
|
+ U_USER,NEED_PAY,DOCK_EFFECT_END,
|
|
|
+ PAY_UNIT_NAME,PAY_CREDIT_CODE,PAY_ACCOUNT,
|
|
|
+ PAY_BELONG_BANK,NEED_PAY_COMMIT,PAY_CYCLE,
|
|
|
+ PAY_COUNT,PAY_ACCEPT_MAIL,PAY_CONTACT,
|
|
|
+ PAY_PHONE,SHORELINE_MANAGE_TYPE,SHORELINE_MANAGE_ORZ,
|
|
|
+ IS_DELETE,LINE_STATUS
|
|
|
+ </sql>
|
|
|
+ <select id="getAllPassed" resultType="com.ghjg.shoreline.dto.ShorelineManageInfo">
|
|
|
+ select * from ghjg_channel.shoreline_manage_INFO
|
|
|
+ where EFFECTIVE_END_DATE <= sysdate
|
|
|
+ </select>
|
|
|
+
|
|
|
+</mapper>
|