1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213 |
- <?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.steerinfo.dil.mapper.RmsShipperMapper">
- <resultMap id="BaseResultMap" type="com.steerinfo.dil.model.RmsShipper">
- <id column="SHIPPER_ID" jdbcType="DECIMAL" property="shipperId" />
- <result column="SHIPPER_NAME" jdbcType="VARCHAR" property="shipperName" />
- <result column="SHIPPER_ABBREVIATION" jdbcType="VARCHAR" property="shipperAbbreviation" />
- <result column="SHIPPER_FATHER_ID" jdbcType="DECIMAL" property="shipperFatherId" />
- <result column="SHIPPER_SSO_ID" jdbcType="VARCHAR" property="shipperSsoId" />
- <result column="SHIPPER_DEPARTMENT_LEVEL" jdbcType="VARCHAR" property="shipperDepartmentLevel" />
- <result column="SHIPPER_PARTITION_CODE" jdbcType="VARCHAR" property="shipperPartitionCode" />
- <result column="SHIPPER_ADDRESS" jdbcType="VARCHAR" property="shipperAddress" />
- <result column="SHIPPER_LEGAL_REPRESENTATIVE" jdbcType="VARCHAR" property="shipperLegalRepresentative" />
- <result column="SHIPPER_AGENT" jdbcType="VARCHAR" property="shipperAgent" />
- <result column="SHIPPER_CONTACT_NUMBER" jdbcType="VARCHAR" property="shipperContactNumber" />
- <result column="SHIPPER_FAX" jdbcType="VARCHAR" property="shipperFax" />
- <result column="SHIPPER_ACCOUNT" jdbcType="VARCHAR" property="shipperAccount" />
- <result column="SHIPPER_ACCOUNT_BLANK" jdbcType="VARCHAR" property="shipperAccountBlank" />
- <result column="SHIPPER_REGISTER_NO" jdbcType="VARCHAR" property="shipperRegisterNo" />
- <result column="SHIPPER_DUTY_PARAGRAPH" jdbcType="VARCHAR" property="shipperDutyParagraph" />
- <result column="SHIPPER_POSTAL_CODE" jdbcType="VARCHAR" property="shipperPostalCode" />
- <result column="SHIPPER_CONTACTS_NAME" jdbcType="VARCHAR" property="shipperContactsName" />
- <result column="SHIPPER_REGISTER_CAPITAL" jdbcType="DECIMAL" property="shipperRegisterCapital" />
- <result column="SHIPPER_BUSINESS_SCOPE" jdbcType="VARCHAR" property="shipperBusinessScope" />
- <result column="SHIPPER_ANNUAL_DATE" jdbcType="VARCHAR" property="shipperAnnualDate" />
- <result column="SHIPPER_COMPANY_STATUS_DESC" jdbcType="VARCHAR" property="shipperCompanyStatusDesc" />
- <result column="SHIPPER_OPERATION_PERIOD" jdbcType="VARCHAR" property="shipperOperationPeriod" />
- <result column="SHIPPER_REGISTER_DATE" jdbcType="TIMESTAMP" property="shipperRegisterDate" />
- <result column="SHIPPER_REGISTER_ORGANIZATION" jdbcType="VARCHAR" property="shipperRegisterOrganization" />
- <result column="SHIPPER_REGISTER_APTITUDES" jdbcType="VARCHAR" property="shipperRegisterAptitudes" />
- <result column="SHIPPER_CREDENTIAL_DESC" jdbcType="VARCHAR" property="shipperCredentialDesc" />
- <result column="MEMO" jdbcType="VARCHAR" property="memo" />
- <result column="INSERT_USERNAME" jdbcType="VARCHAR" property="insertUsername" />
- <result column="INSERT_TIME" jdbcType="TIMESTAMP" property="insertTime" />
- <result column="UPDATE_USERNAME" jdbcType="VARCHAR" property="updateUsername" />
- <result column="UPDATE_TIME" jdbcType="TIMESTAMP" property="updateTime" />
- <result column="INSERT_UPDATE_REMARK" jdbcType="VARCHAR" property="insertUpdateRemark" />
- <result column="SHIPPER_APPID" jdbcType="VARCHAR" property="shipperAppid" />
- <result column="SHIPPER_SECRETKEY" jdbcType="VARCHAR" property="shipperSecretkey" />
- <result column="DELETED" jdbcType="DECIMAL" property="deleted" />
- <result column="SHIPPER_COMPANY_BRANCH" jdbcType="VARCHAR" property="shipperCompanyBranch" />
- <result column="SHIPPER_BRANCH_FACTORY" jdbcType="VARCHAR" property="shipperBranchFactory" />
- <result column="SHIPPER_FACTORY_AREA" jdbcType="VARCHAR" property="shipperFactoryArea" />
- <result column="SHIPPER_ORG_CODE" jdbcType="VARCHAR" property="shipperOrgCode" />
- </resultMap>
- <sql id="columns">
- SHIPPER_ID, SHIPPER_NAME, SHIPPER_ABBREVIATION, SHIPPER_FATHER_ID, SHIPPER_SSO_ID,
- SHIPPER_DEPARTMENT_LEVEL, SHIPPER_PARTITION_CODE, SHIPPER_ADDRESS, SHIPPER_LEGAL_REPRESENTATIVE,
- SHIPPER_AGENT, SHIPPER_CONTACT_NUMBER, SHIPPER_FAX, SHIPPER_ACCOUNT, SHIPPER_ACCOUNT_BLANK,
- SHIPPER_REGISTER_NO, SHIPPER_DUTY_PARAGRAPH, SHIPPER_POSTAL_CODE, SHIPPER_CONTACTS_NAME,
- SHIPPER_REGISTER_CAPITAL, SHIPPER_BUSINESS_SCOPE, SHIPPER_ANNUAL_DATE, SHIPPER_COMPANY_STATUS_DESC,
- SHIPPER_OPERATION_PERIOD, SHIPPER_REGISTER_DATE, SHIPPER_REGISTER_ORGANIZATION, SHIPPER_REGISTER_APTITUDES,
- SHIPPER_CREDENTIAL_DESC, MEMO, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME,
- INSERT_UPDATE_REMARK, SHIPPER_APPID, SHIPPER_SECRETKEY, DELETED, SHIPPER_COMPANY_BRANCH,
- SHIPPER_BRANCH_FACTORY, SHIPPER_FACTORY_AREA, SHIPPER_ORG_CODE
- </sql>
- <sql id="columns_alias">
- t.SHIPPER_ID, t.SHIPPER_NAME, t.SHIPPER_ABBREVIATION, t.SHIPPER_FATHER_ID, t.SHIPPER_SSO_ID,
- t.SHIPPER_DEPARTMENT_LEVEL, t.SHIPPER_PARTITION_CODE, t.SHIPPER_ADDRESS, t.SHIPPER_LEGAL_REPRESENTATIVE,
- t.SHIPPER_AGENT, t.SHIPPER_CONTACT_NUMBER, t.SHIPPER_FAX, t.SHIPPER_ACCOUNT, t.SHIPPER_ACCOUNT_BLANK,
- t.SHIPPER_REGISTER_NO, t.SHIPPER_DUTY_PARAGRAPH, t.SHIPPER_POSTAL_CODE, t.SHIPPER_CONTACTS_NAME,
- t.SHIPPER_REGISTER_CAPITAL, t.SHIPPER_BUSINESS_SCOPE, t.SHIPPER_ANNUAL_DATE, t.SHIPPER_COMPANY_STATUS_DESC,
- t.SHIPPER_OPERATION_PERIOD, t.SHIPPER_REGISTER_DATE, t.SHIPPER_REGISTER_ORGANIZATION,
- t.SHIPPER_REGISTER_APTITUDES, t.SHIPPER_CREDENTIAL_DESC, t.MEMO, t.INSERT_USERNAME,
- t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, t.SHIPPER_APPID,
- t.SHIPPER_SECRETKEY, t.DELETED, t.SHIPPER_COMPANY_BRANCH, t.SHIPPER_BRANCH_FACTORY,
- t.SHIPPER_FACTORY_AREA, t.SHIPPER_ORG_CODE
- </sql>
- <sql id="select">
- SELECT <include refid="columns" /> FROM RMS_SHIPPER
- </sql>
- <sql id="select_alias">
- SELECT <include refid="columns_alias" /> FROM RMS_SHIPPER t
- </sql>
- <sql id="where">
- <where>
- <if test="shipperId != null">
- and SHIPPER_ID = #{shipperId}
- </if>
- <if test="shipperName != null and shipperName != ''">
- and SHIPPER_NAME = #{shipperName}
- </if>
- <if test="shipperAbbreviation != null and shipperAbbreviation != ''">
- and SHIPPER_ABBREVIATION = #{shipperAbbreviation}
- </if>
- <if test="shipperFatherId != null">
- and SHIPPER_FATHER_ID = #{shipperFatherId}
- </if>
- <if test="shipperSsoId != null and shipperSsoId != ''">
- and SHIPPER_SSO_ID = #{shipperSsoId}
- </if>
- <if test="shipperDepartmentLevel != null and shipperDepartmentLevel != ''">
- and SHIPPER_DEPARTMENT_LEVEL = #{shipperDepartmentLevel}
- </if>
- <if test="shipperPartitionCode != null and shipperPartitionCode != ''">
- and SHIPPER_PARTITION_CODE = #{shipperPartitionCode}
- </if>
- <if test="shipperAddress != null and shipperAddress != ''">
- and SHIPPER_ADDRESS = #{shipperAddress}
- </if>
- <if test="shipperLegalRepresentative != null and shipperLegalRepresentative != ''">
- and SHIPPER_LEGAL_REPRESENTATIVE = #{shipperLegalRepresentative}
- </if>
- <if test="shipperAgent != null and shipperAgent != ''">
- and SHIPPER_AGENT = #{shipperAgent}
- </if>
- <if test="shipperContactNumber != null and shipperContactNumber != ''">
- and SHIPPER_CONTACT_NUMBER = #{shipperContactNumber}
- </if>
- <if test="shipperFax != null and shipperFax != ''">
- and SHIPPER_FAX = #{shipperFax}
- </if>
- <if test="shipperAccount != null and shipperAccount != ''">
- and SHIPPER_ACCOUNT = #{shipperAccount}
- </if>
- <if test="shipperAccountBlank != null and shipperAccountBlank != ''">
- and SHIPPER_ACCOUNT_BLANK = #{shipperAccountBlank}
- </if>
- <if test="shipperRegisterNo != null and shipperRegisterNo != ''">
- and SHIPPER_REGISTER_NO = #{shipperRegisterNo}
- </if>
- <if test="shipperDutyParagraph != null and shipperDutyParagraph != ''">
- and SHIPPER_DUTY_PARAGRAPH = #{shipperDutyParagraph}
- </if>
- <if test="shipperPostalCode != null and shipperPostalCode != ''">
- and SHIPPER_POSTAL_CODE = #{shipperPostalCode}
- </if>
- <if test="shipperContactsName != null and shipperContactsName != ''">
- and SHIPPER_CONTACTS_NAME = #{shipperContactsName}
- </if>
- <if test="shipperRegisterCapital != null">
- and SHIPPER_REGISTER_CAPITAL = #{shipperRegisterCapital}
- </if>
- <if test="shipperBusinessScope != null and shipperBusinessScope != ''">
- and SHIPPER_BUSINESS_SCOPE = #{shipperBusinessScope}
- </if>
- <if test="shipperAnnualDate != null and shipperAnnualDate != ''">
- and SHIPPER_ANNUAL_DATE = #{shipperAnnualDate}
- </if>
- <if test="shipperCompanyStatusDesc != null and shipperCompanyStatusDesc != ''">
- and SHIPPER_COMPANY_STATUS_DESC = #{shipperCompanyStatusDesc}
- </if>
- <if test="shipperOperationPeriod != null and shipperOperationPeriod != ''">
- and SHIPPER_OPERATION_PERIOD = #{shipperOperationPeriod}
- </if>
- <if test="shipperRegisterDate != null">
- and TO_CHAR(SHIPPER_REGISTER_DATE,'yyyy-MM-dd') = #{shipperRegisterDate}
- </if>
- <if test="shipperRegisterOrganization != null and shipperRegisterOrganization != ''">
- and SHIPPER_REGISTER_ORGANIZATION = #{shipperRegisterOrganization}
- </if>
- <if test="shipperRegisterAptitudes != null and shipperRegisterAptitudes != ''">
- and SHIPPER_REGISTER_APTITUDES = #{shipperRegisterAptitudes}
- </if>
- <if test="shipperCredentialDesc != null and shipperCredentialDesc != ''">
- and SHIPPER_CREDENTIAL_DESC = #{shipperCredentialDesc}
- </if>
- <if test="memo != null and memo != ''">
- and MEMO = #{memo}
- </if>
- <if test="insertUsername != null and insertUsername != ''">
- and INSERT_USERNAME = #{insertUsername}
- </if>
- <if test="insertTime != null">
- and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime}
- </if>
- <if test="updateUsername != null and updateUsername != ''">
- and UPDATE_USERNAME = #{updateUsername}
- </if>
- <if test="updateTime != null">
- and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
- </if>
- <if test="insertUpdateRemark != null and insertUpdateRemark != ''">
- and INSERT_UPDATE_REMARK = #{insertUpdateRemark}
- </if>
- <if test="shipperAppid != null and shipperAppid != ''">
- and SHIPPER_APPID = #{shipperAppid}
- </if>
- <if test="shipperSecretkey != null and shipperSecretkey != ''">
- and SHIPPER_SECRETKEY = #{shipperSecretkey}
- </if>
- <if test="deleted != null">
- and DELETED = #{deleted}
- </if>
- <if test="shipperCompanyBranch != null and shipperCompanyBranch != ''">
- and SHIPPER_COMPANY_BRANCH = #{shipperCompanyBranch}
- </if>
- <if test="shipperBranchFactory != null and shipperBranchFactory != ''">
- and SHIPPER_BRANCH_FACTORY = #{shipperBranchFactory}
- </if>
- <if test="shipperFactoryArea != null and shipperFactoryArea != ''">
- and SHIPPER_FACTORY_AREA = #{shipperFactoryArea}
- </if>
- <if test="shipperOrgCode != null and shipperOrgCode != ''">
- and SHIPPER_ORG_CODE = #{shipperOrgCode}
- </if>
- </where>
- </sql>
- <sql id="whereLike">
- <where>
- <if test="shipperId != null">
- and SHIPPER_ID = #{shipperId}
- </if>
- <if test="shipperName != null and shipperName != ''">
- and SHIPPER_NAME LIKE '%${shipperName}%'
- </if>
- <if test="shipperAbbreviation != null and shipperAbbreviation != ''">
- and SHIPPER_ABBREVIATION LIKE '%${shipperAbbreviation}%'
- </if>
- <if test="shipperFatherId != null">
- and SHIPPER_FATHER_ID = #{shipperFatherId}
- </if>
- <if test="shipperSsoId != null and shipperSsoId != ''">
- and SHIPPER_SSO_ID LIKE '%${shipperSsoId}%'
- </if>
- <if test="shipperDepartmentLevel != null and shipperDepartmentLevel != ''">
- and SHIPPER_DEPARTMENT_LEVEL LIKE '%${shipperDepartmentLevel}%'
- </if>
- <if test="shipperPartitionCode != null and shipperPartitionCode != ''">
- and SHIPPER_PARTITION_CODE LIKE '%${shipperPartitionCode}%'
- </if>
- <if test="shipperAddress != null and shipperAddress != ''">
- and SHIPPER_ADDRESS LIKE '%${shipperAddress}%'
- </if>
- <if test="shipperLegalRepresentative != null and shipperLegalRepresentative != ''">
- and SHIPPER_LEGAL_REPRESENTATIVE LIKE '%${shipperLegalRepresentative}%'
- </if>
- <if test="shipperAgent != null and shipperAgent != ''">
- and SHIPPER_AGENT LIKE '%${shipperAgent}%'
- </if>
- <if test="shipperContactNumber != null and shipperContactNumber != ''">
- and SHIPPER_CONTACT_NUMBER LIKE '%${shipperContactNumber}%'
- </if>
- <if test="shipperFax != null and shipperFax != ''">
- and SHIPPER_FAX LIKE '%${shipperFax}%'
- </if>
- <if test="shipperAccount != null and shipperAccount != ''">
- and SHIPPER_ACCOUNT LIKE '%${shipperAccount}%'
- </if>
- <if test="shipperAccountBlank != null and shipperAccountBlank != ''">
- and SHIPPER_ACCOUNT_BLANK LIKE '%${shipperAccountBlank}%'
- </if>
- <if test="shipperRegisterNo != null and shipperRegisterNo != ''">
- and SHIPPER_REGISTER_NO LIKE '%${shipperRegisterNo}%'
- </if>
- <if test="shipperDutyParagraph != null and shipperDutyParagraph != ''">
- and SHIPPER_DUTY_PARAGRAPH LIKE '%${shipperDutyParagraph}%'
- </if>
- <if test="shipperPostalCode != null and shipperPostalCode != ''">
- and SHIPPER_POSTAL_CODE LIKE '%${shipperPostalCode}%'
- </if>
- <if test="shipperContactsName != null and shipperContactsName != ''">
- and SHIPPER_CONTACTS_NAME LIKE '%${shipperContactsName}%'
- </if>
- <if test="shipperRegisterCapital != null">
- and SHIPPER_REGISTER_CAPITAL = #{shipperRegisterCapital}
- </if>
- <if test="shipperBusinessScope != null and shipperBusinessScope != ''">
- and SHIPPER_BUSINESS_SCOPE LIKE '%${shipperBusinessScope}%'
- </if>
- <if test="shipperAnnualDate != null and shipperAnnualDate != ''">
- and SHIPPER_ANNUAL_DATE LIKE '%${shipperAnnualDate}%'
- </if>
- <if test="shipperCompanyStatusDesc != null and shipperCompanyStatusDesc != ''">
- and SHIPPER_COMPANY_STATUS_DESC LIKE '%${shipperCompanyStatusDesc}%'
- </if>
- <if test="shipperOperationPeriod != null and shipperOperationPeriod != ''">
- and SHIPPER_OPERATION_PERIOD LIKE '%${shipperOperationPeriod}%'
- </if>
- <if test="shipperRegisterDate != null">
- and TO_CHAR(SHIPPER_REGISTER_DATE,'yyyy-MM-dd') = #{shipperRegisterDate}
- </if>
- <if test="shipperRegisterOrganization != null and shipperRegisterOrganization != ''">
- and SHIPPER_REGISTER_ORGANIZATION LIKE '%${shipperRegisterOrganization}%'
- </if>
- <if test="shipperRegisterAptitudes != null and shipperRegisterAptitudes != ''">
- and SHIPPER_REGISTER_APTITUDES LIKE '%${shipperRegisterAptitudes}%'
- </if>
- <if test="shipperCredentialDesc != null and shipperCredentialDesc != ''">
- and SHIPPER_CREDENTIAL_DESC LIKE '%${shipperCredentialDesc}%'
- </if>
- <if test="memo != null and memo != ''">
- and MEMO LIKE '%${memo}%'
- </if>
- <if test="insertUsername != null and insertUsername != ''">
- and INSERT_USERNAME LIKE '%${insertUsername}%'
- </if>
- <if test="insertTime != null">
- and TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = #{insertTime}
- </if>
- <if test="updateUsername != null and updateUsername != ''">
- and UPDATE_USERNAME LIKE '%${updateUsername}%'
- </if>
- <if test="updateTime != null">
- and TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = #{updateTime}
- </if>
- <if test="insertUpdateRemark != null and insertUpdateRemark != ''">
- and INSERT_UPDATE_REMARK LIKE '%${insertUpdateRemark}%'
- </if>
- <if test="shipperAppid != null and shipperAppid != ''">
- and SHIPPER_APPID LIKE '%${shipperAppid}%'
- </if>
- <if test="shipperSecretkey != null and shipperSecretkey != ''">
- and SHIPPER_SECRETKEY LIKE '%${shipperSecretkey}%'
- </if>
- <if test="deleted != null">
- and DELETED = #{deleted}
- </if>
- <if test="shipperCompanyBranch != null and shipperCompanyBranch != ''">
- and SHIPPER_COMPANY_BRANCH LIKE '%${shipperCompanyBranch}%'
- </if>
- <if test="shipperBranchFactory != null and shipperBranchFactory != ''">
- and SHIPPER_BRANCH_FACTORY LIKE '%${shipperBranchFactory}%'
- </if>
- <if test="shipperFactoryArea != null and shipperFactoryArea != ''">
- and SHIPPER_FACTORY_AREA LIKE '%${shipperFactoryArea}%'
- </if>
- <if test="shipperOrgCode != null and shipperOrgCode != ''">
- and SHIPPER_ORG_CODE LIKE '%${shipperOrgCode}%'
- </if>
- </where>
- </sql>
- <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
- delete from RMS_SHIPPER
- where SHIPPER_ID = #{shipperId,jdbcType=DECIMAL}
- </delete>
- <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
- delete from RMS_SHIPPER
- where 1!=1
- <if test="shipperName != null and shipperName != ''">
- or SHIPPER_NAME = #{shipperName}
- </if>
- <if test="shipperAbbreviation != null and shipperAbbreviation != ''">
- or SHIPPER_ABBREVIATION = #{shipperAbbreviation}
- </if>
- <if test="shipperFatherId != null">
- or SHIPPER_FATHER_ID = #{shipperFatherId}
- </if>
- <if test="shipperSsoId != null and shipperSsoId != ''">
- or SHIPPER_SSO_ID = #{shipperSsoId}
- </if>
- <if test="shipperDepartmentLevel != null and shipperDepartmentLevel != ''">
- or SHIPPER_DEPARTMENT_LEVEL = #{shipperDepartmentLevel}
- </if>
- <if test="shipperPartitionCode != null and shipperPartitionCode != ''">
- or SHIPPER_PARTITION_CODE = #{shipperPartitionCode}
- </if>
- <if test="shipperAddress != null and shipperAddress != ''">
- or SHIPPER_ADDRESS = #{shipperAddress}
- </if>
- <if test="shipperLegalRepresentative != null and shipperLegalRepresentative != ''">
- or SHIPPER_LEGAL_REPRESENTATIVE = #{shipperLegalRepresentative}
- </if>
- <if test="shipperAgent != null and shipperAgent != ''">
- or SHIPPER_AGENT = #{shipperAgent}
- </if>
- <if test="shipperContactNumber != null and shipperContactNumber != ''">
- or SHIPPER_CONTACT_NUMBER = #{shipperContactNumber}
- </if>
- <if test="shipperFax != null and shipperFax != ''">
- or SHIPPER_FAX = #{shipperFax}
- </if>
- <if test="shipperAccount != null and shipperAccount != ''">
- or SHIPPER_ACCOUNT = #{shipperAccount}
- </if>
- <if test="shipperAccountBlank != null and shipperAccountBlank != ''">
- or SHIPPER_ACCOUNT_BLANK = #{shipperAccountBlank}
- </if>
- <if test="shipperRegisterNo != null and shipperRegisterNo != ''">
- or SHIPPER_REGISTER_NO = #{shipperRegisterNo}
- </if>
- <if test="shipperDutyParagraph != null and shipperDutyParagraph != ''">
- or SHIPPER_DUTY_PARAGRAPH = #{shipperDutyParagraph}
- </if>
- <if test="shipperPostalCode != null and shipperPostalCode != ''">
- or SHIPPER_POSTAL_CODE = #{shipperPostalCode}
- </if>
- <if test="shipperContactsName != null and shipperContactsName != ''">
- or SHIPPER_CONTACTS_NAME = #{shipperContactsName}
- </if>
- <if test="shipperRegisterCapital != null">
- or SHIPPER_REGISTER_CAPITAL = #{shipperRegisterCapital}
- </if>
- <if test="shipperBusinessScope != null and shipperBusinessScope != ''">
- or SHIPPER_BUSINESS_SCOPE = #{shipperBusinessScope}
- </if>
- <if test="shipperAnnualDate != null and shipperAnnualDate != ''">
- or SHIPPER_ANNUAL_DATE = #{shipperAnnualDate}
- </if>
- <if test="shipperCompanyStatusDesc != null and shipperCompanyStatusDesc != ''">
- or SHIPPER_COMPANY_STATUS_DESC = #{shipperCompanyStatusDesc}
- </if>
- <if test="shipperOperationPeriod != null and shipperOperationPeriod != ''">
- or SHIPPER_OPERATION_PERIOD = #{shipperOperationPeriod}
- </if>
- <if test="shipperRegisterDate != null">
- or TO_CHAR(SHIPPER_REGISTER_DATE,'yyyy-MM-dd') = '#{shipperRegisterDate}'
- </if>
- <if test="shipperRegisterOrganization != null and shipperRegisterOrganization != ''">
- or SHIPPER_REGISTER_ORGANIZATION = #{shipperRegisterOrganization}
- </if>
- <if test="shipperRegisterAptitudes != null and shipperRegisterAptitudes != ''">
- or SHIPPER_REGISTER_APTITUDES = #{shipperRegisterAptitudes}
- </if>
- <if test="shipperCredentialDesc != null and shipperCredentialDesc != ''">
- or SHIPPER_CREDENTIAL_DESC = #{shipperCredentialDesc}
- </if>
- <if test="memo != null and memo != ''">
- or MEMO = #{memo}
- </if>
- <if test="insertUsername != null and insertUsername != ''">
- or INSERT_USERNAME = #{insertUsername}
- </if>
- <if test="insertTime != null">
- or TO_CHAR(INSERT_TIME,'yyyy-MM-dd') = '#{insertTime}'
- </if>
- <if test="updateUsername != null and updateUsername != ''">
- or UPDATE_USERNAME = #{updateUsername}
- </if>
- <if test="updateTime != null">
- or TO_CHAR(UPDATE_TIME,'yyyy-MM-dd') = '#{updateTime}'
- </if>
- <if test="insertUpdateRemark != null and insertUpdateRemark != ''">
- or INSERT_UPDATE_REMARK = #{insertUpdateRemark}
- </if>
- <if test="shipperAppid != null and shipperAppid != ''">
- or SHIPPER_APPID = #{shipperAppid}
- </if>
- <if test="shipperSecretkey != null and shipperSecretkey != ''">
- or SHIPPER_SECRETKEY = #{shipperSecretkey}
- </if>
- <if test="deleted != null">
- or DELETED = #{deleted}
- </if>
- <if test="shipperCompanyBranch != null and shipperCompanyBranch != ''">
- or SHIPPER_COMPANY_BRANCH = #{shipperCompanyBranch}
- </if>
- <if test="shipperBranchFactory != null and shipperBranchFactory != ''">
- or SHIPPER_BRANCH_FACTORY = #{shipperBranchFactory}
- </if>
- <if test="shipperFactoryArea != null and shipperFactoryArea != ''">
- or SHIPPER_FACTORY_AREA = #{shipperFactoryArea}
- </if>
- <if test="shipperOrgCode != null and shipperOrgCode != ''">
- or SHIPPER_ORG_CODE = #{shipperOrgCode}
- </if>
- </delete>
- <insert id="insert" parameterType="com.steerinfo.dil.model.RmsShipper">
- insert into RMS_SHIPPER (SHIPPER_ID, SHIPPER_NAME, SHIPPER_ABBREVIATION,
- SHIPPER_FATHER_ID, SHIPPER_SSO_ID, SHIPPER_DEPARTMENT_LEVEL,
- SHIPPER_PARTITION_CODE, SHIPPER_ADDRESS, SHIPPER_LEGAL_REPRESENTATIVE,
- SHIPPER_AGENT, SHIPPER_CONTACT_NUMBER, SHIPPER_FAX,
- SHIPPER_ACCOUNT, SHIPPER_ACCOUNT_BLANK, SHIPPER_REGISTER_NO,
- SHIPPER_DUTY_PARAGRAPH, SHIPPER_POSTAL_CODE,
- SHIPPER_CONTACTS_NAME, SHIPPER_REGISTER_CAPITAL,
- SHIPPER_BUSINESS_SCOPE, SHIPPER_ANNUAL_DATE,
- SHIPPER_COMPANY_STATUS_DESC, SHIPPER_OPERATION_PERIOD,
- SHIPPER_REGISTER_DATE, SHIPPER_REGISTER_ORGANIZATION,
- SHIPPER_REGISTER_APTITUDES, SHIPPER_CREDENTIAL_DESC,
- MEMO, INSERT_USERNAME, INSERT_TIME,
- UPDATE_USERNAME, UPDATE_TIME, INSERT_UPDATE_REMARK,
- SHIPPER_APPID, SHIPPER_SECRETKEY, DELETED,
- SHIPPER_COMPANY_BRANCH, SHIPPER_BRANCH_FACTORY,
- SHIPPER_FACTORY_AREA, SHIPPER_ORG_CODE)
- values (#{shipperId,jdbcType=DECIMAL}, #{shipperName,jdbcType=VARCHAR}, #{shipperAbbreviation,jdbcType=VARCHAR},
- #{shipperFatherId,jdbcType=DECIMAL}, #{shipperSsoId,jdbcType=VARCHAR}, #{shipperDepartmentLevel,jdbcType=VARCHAR},
- #{shipperPartitionCode,jdbcType=VARCHAR}, #{shipperAddress,jdbcType=VARCHAR}, #{shipperLegalRepresentative,jdbcType=VARCHAR},
- #{shipperAgent,jdbcType=VARCHAR}, #{shipperContactNumber,jdbcType=VARCHAR}, #{shipperFax,jdbcType=VARCHAR},
- #{shipperAccount,jdbcType=VARCHAR}, #{shipperAccountBlank,jdbcType=VARCHAR}, #{shipperRegisterNo,jdbcType=VARCHAR},
- #{shipperDutyParagraph,jdbcType=VARCHAR}, #{shipperPostalCode,jdbcType=VARCHAR},
- #{shipperContactsName,jdbcType=VARCHAR}, #{shipperRegisterCapital,jdbcType=DECIMAL},
- #{shipperBusinessScope,jdbcType=VARCHAR}, #{shipperAnnualDate,jdbcType=VARCHAR},
- #{shipperCompanyStatusDesc,jdbcType=VARCHAR}, #{shipperOperationPeriod,jdbcType=VARCHAR},
- #{shipperRegisterDate,jdbcType=TIMESTAMP}, #{shipperRegisterOrganization,jdbcType=VARCHAR},
- #{shipperRegisterAptitudes,jdbcType=VARCHAR}, #{shipperCredentialDesc,jdbcType=VARCHAR},
- #{memo,jdbcType=VARCHAR}, #{insertUsername,jdbcType=VARCHAR}, #{insertTime,jdbcType=TIMESTAMP},
- #{updateUsername,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, #{insertUpdateRemark,jdbcType=VARCHAR},
- #{shipperAppid,jdbcType=VARCHAR}, #{shipperSecretkey,jdbcType=VARCHAR}, #{deleted,jdbcType=DECIMAL},
- #{shipperCompanyBranch,jdbcType=VARCHAR}, #{shipperBranchFactory,jdbcType=VARCHAR},
- #{shipperFactoryArea,jdbcType=VARCHAR}, #{shipperOrgCode,jdbcType=VARCHAR})
- </insert>
- <insert id="insertSelective" parameterType="com.steerinfo.dil.model.RmsShipper">
- insert into RMS_SHIPPER
- <trim prefix="(" suffix=")" suffixOverrides=",">
- <if test="shipperId != null">
- SHIPPER_ID,
- </if>
- <if test="shipperName != null">
- SHIPPER_NAME,
- </if>
- <if test="shipperAbbreviation != null">
- SHIPPER_ABBREVIATION,
- </if>
- <if test="shipperFatherId != null">
- SHIPPER_FATHER_ID,
- </if>
- <if test="shipperSsoId != null">
- SHIPPER_SSO_ID,
- </if>
- <if test="shipperDepartmentLevel != null">
- SHIPPER_DEPARTMENT_LEVEL,
- </if>
- <if test="shipperPartitionCode != null">
- SHIPPER_PARTITION_CODE,
- </if>
- <if test="shipperAddress != null">
- SHIPPER_ADDRESS,
- </if>
- <if test="shipperLegalRepresentative != null">
- SHIPPER_LEGAL_REPRESENTATIVE,
- </if>
- <if test="shipperAgent != null">
- SHIPPER_AGENT,
- </if>
- <if test="shipperContactNumber != null">
- SHIPPER_CONTACT_NUMBER,
- </if>
- <if test="shipperFax != null">
- SHIPPER_FAX,
- </if>
- <if test="shipperAccount != null">
- SHIPPER_ACCOUNT,
- </if>
- <if test="shipperAccountBlank != null">
- SHIPPER_ACCOUNT_BLANK,
- </if>
- <if test="shipperRegisterNo != null">
- SHIPPER_REGISTER_NO,
- </if>
- <if test="shipperDutyParagraph != null">
- SHIPPER_DUTY_PARAGRAPH,
- </if>
- <if test="shipperPostalCode != null">
- SHIPPER_POSTAL_CODE,
- </if>
- <if test="shipperContactsName != null">
- SHIPPER_CONTACTS_NAME,
- </if>
- <if test="shipperRegisterCapital != null">
- SHIPPER_REGISTER_CAPITAL,
- </if>
- <if test="shipperBusinessScope != null">
- SHIPPER_BUSINESS_SCOPE,
- </if>
- <if test="shipperAnnualDate != null">
- SHIPPER_ANNUAL_DATE,
- </if>
- <if test="shipperCompanyStatusDesc != null">
- SHIPPER_COMPANY_STATUS_DESC,
- </if>
- <if test="shipperOperationPeriod != null">
- SHIPPER_OPERATION_PERIOD,
- </if>
- <if test="shipperRegisterDate != null">
- SHIPPER_REGISTER_DATE,
- </if>
- <if test="shipperRegisterOrganization != null">
- SHIPPER_REGISTER_ORGANIZATION,
- </if>
- <if test="shipperRegisterAptitudes != null">
- SHIPPER_REGISTER_APTITUDES,
- </if>
- <if test="shipperCredentialDesc != null">
- SHIPPER_CREDENTIAL_DESC,
- </if>
- <if test="memo != null">
- MEMO,
- </if>
- <if test="insertUsername != null">
- INSERT_USERNAME,
- </if>
- <if test="insertTime != null">
- INSERT_TIME,
- </if>
- <if test="updateUsername != null">
- UPDATE_USERNAME,
- </if>
- <if test="updateTime != null">
- UPDATE_TIME,
- </if>
- <if test="insertUpdateRemark != null">
- INSERT_UPDATE_REMARK,
- </if>
- <if test="shipperAppid != null">
- SHIPPER_APPID,
- </if>
- <if test="shipperSecretkey != null">
- SHIPPER_SECRETKEY,
- </if>
- <if test="deleted != null">
- DELETED,
- </if>
- <if test="shipperCompanyBranch != null">
- SHIPPER_COMPANY_BRANCH,
- </if>
- <if test="shipperBranchFactory != null">
- SHIPPER_BRANCH_FACTORY,
- </if>
- <if test="shipperFactoryArea != null">
- SHIPPER_FACTORY_AREA,
- </if>
- <if test="shipperOrgCode != null">
- SHIPPER_ORG_CODE,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides=",">
- <if test="shipperId != null">
- #{shipperId,jdbcType=DECIMAL},
- </if>
- <if test="shipperName != null">
- #{shipperName,jdbcType=VARCHAR},
- </if>
- <if test="shipperAbbreviation != null">
- #{shipperAbbreviation,jdbcType=VARCHAR},
- </if>
- <if test="shipperFatherId != null">
- #{shipperFatherId,jdbcType=DECIMAL},
- </if>
- <if test="shipperSsoId != null">
- #{shipperSsoId,jdbcType=VARCHAR},
- </if>
- <if test="shipperDepartmentLevel != null">
- #{shipperDepartmentLevel,jdbcType=VARCHAR},
- </if>
- <if test="shipperPartitionCode != null">
- #{shipperPartitionCode,jdbcType=VARCHAR},
- </if>
- <if test="shipperAddress != null">
- #{shipperAddress,jdbcType=VARCHAR},
- </if>
- <if test="shipperLegalRepresentative != null">
- #{shipperLegalRepresentative,jdbcType=VARCHAR},
- </if>
- <if test="shipperAgent != null">
- #{shipperAgent,jdbcType=VARCHAR},
- </if>
- <if test="shipperContactNumber != null">
- #{shipperContactNumber,jdbcType=VARCHAR},
- </if>
- <if test="shipperFax != null">
- #{shipperFax,jdbcType=VARCHAR},
- </if>
- <if test="shipperAccount != null">
- #{shipperAccount,jdbcType=VARCHAR},
- </if>
- <if test="shipperAccountBlank != null">
- #{shipperAccountBlank,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterNo != null">
- #{shipperRegisterNo,jdbcType=VARCHAR},
- </if>
- <if test="shipperDutyParagraph != null">
- #{shipperDutyParagraph,jdbcType=VARCHAR},
- </if>
- <if test="shipperPostalCode != null">
- #{shipperPostalCode,jdbcType=VARCHAR},
- </if>
- <if test="shipperContactsName != null">
- #{shipperContactsName,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterCapital != null">
- #{shipperRegisterCapital,jdbcType=DECIMAL},
- </if>
- <if test="shipperBusinessScope != null">
- #{shipperBusinessScope,jdbcType=VARCHAR},
- </if>
- <if test="shipperAnnualDate != null">
- #{shipperAnnualDate,jdbcType=VARCHAR},
- </if>
- <if test="shipperCompanyStatusDesc != null">
- #{shipperCompanyStatusDesc,jdbcType=VARCHAR},
- </if>
- <if test="shipperOperationPeriod != null">
- #{shipperOperationPeriod,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterDate != null">
- #{shipperRegisterDate,jdbcType=TIMESTAMP},
- </if>
- <if test="shipperRegisterOrganization != null">
- #{shipperRegisterOrganization,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterAptitudes != null">
- #{shipperRegisterAptitudes,jdbcType=VARCHAR},
- </if>
- <if test="shipperCredentialDesc != null">
- #{shipperCredentialDesc,jdbcType=VARCHAR},
- </if>
- <if test="memo != null">
- #{memo,jdbcType=VARCHAR},
- </if>
- <if test="insertUsername != null">
- #{insertUsername,jdbcType=VARCHAR},
- </if>
- <if test="insertTime != null">
- #{insertTime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateUsername != null">
- #{updateUsername,jdbcType=VARCHAR},
- </if>
- <if test="updateTime != null">
- #{updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="insertUpdateRemark != null">
- #{insertUpdateRemark,jdbcType=VARCHAR},
- </if>
- <if test="shipperAppid != null">
- #{shipperAppid,jdbcType=VARCHAR},
- </if>
- <if test="shipperSecretkey != null">
- #{shipperSecretkey,jdbcType=VARCHAR},
- </if>
- <if test="deleted != null">
- #{deleted,jdbcType=DECIMAL},
- </if>
- <if test="shipperCompanyBranch != null">
- #{shipperCompanyBranch,jdbcType=VARCHAR},
- </if>
- <if test="shipperBranchFactory != null">
- #{shipperBranchFactory,jdbcType=VARCHAR},
- </if>
- <if test="shipperFactoryArea != null">
- #{shipperFactoryArea,jdbcType=VARCHAR},
- </if>
- <if test="shipperOrgCode != null">
- #{shipperOrgCode,jdbcType=VARCHAR},
- </if>
- </trim>
- </insert>
- <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.RmsShipper">
- update RMS_SHIPPER
- set SHIPPER_NAME = #{shipperName,jdbcType=VARCHAR},
- SHIPPER_ABBREVIATION = #{shipperAbbreviation,jdbcType=VARCHAR},
- SHIPPER_FATHER_ID = #{shipperFatherId,jdbcType=DECIMAL},
- SHIPPER_SSO_ID = #{shipperSsoId,jdbcType=VARCHAR},
- SHIPPER_DEPARTMENT_LEVEL = #{shipperDepartmentLevel,jdbcType=VARCHAR},
- SHIPPER_PARTITION_CODE = #{shipperPartitionCode,jdbcType=VARCHAR},
- SHIPPER_ADDRESS = #{shipperAddress,jdbcType=VARCHAR},
- SHIPPER_LEGAL_REPRESENTATIVE = #{shipperLegalRepresentative,jdbcType=VARCHAR},
- SHIPPER_AGENT = #{shipperAgent,jdbcType=VARCHAR},
- SHIPPER_CONTACT_NUMBER = #{shipperContactNumber,jdbcType=VARCHAR},
- SHIPPER_FAX = #{shipperFax,jdbcType=VARCHAR},
- SHIPPER_ACCOUNT = #{shipperAccount,jdbcType=VARCHAR},
- SHIPPER_ACCOUNT_BLANK = #{shipperAccountBlank,jdbcType=VARCHAR},
- SHIPPER_REGISTER_NO = #{shipperRegisterNo,jdbcType=VARCHAR},
- SHIPPER_DUTY_PARAGRAPH = #{shipperDutyParagraph,jdbcType=VARCHAR},
- SHIPPER_POSTAL_CODE = #{shipperPostalCode,jdbcType=VARCHAR},
- SHIPPER_CONTACTS_NAME = #{shipperContactsName,jdbcType=VARCHAR},
- SHIPPER_REGISTER_CAPITAL = #{shipperRegisterCapital,jdbcType=DECIMAL},
- SHIPPER_BUSINESS_SCOPE = #{shipperBusinessScope,jdbcType=VARCHAR},
- SHIPPER_ANNUAL_DATE = #{shipperAnnualDate,jdbcType=VARCHAR},
- SHIPPER_COMPANY_STATUS_DESC = #{shipperCompanyStatusDesc,jdbcType=VARCHAR},
- SHIPPER_OPERATION_PERIOD = #{shipperOperationPeriod,jdbcType=VARCHAR},
- SHIPPER_REGISTER_DATE = #{shipperRegisterDate,jdbcType=TIMESTAMP},
- SHIPPER_REGISTER_ORGANIZATION = #{shipperRegisterOrganization,jdbcType=VARCHAR},
- SHIPPER_REGISTER_APTITUDES = #{shipperRegisterAptitudes,jdbcType=VARCHAR},
- SHIPPER_CREDENTIAL_DESC = #{shipperCredentialDesc,jdbcType=VARCHAR},
- MEMO = #{memo,jdbcType=VARCHAR},
- INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR},
- INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP},
- UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR},
- UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
- INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR},
- SHIPPER_APPID = #{shipperAppid,jdbcType=VARCHAR},
- SHIPPER_SECRETKEY = #{shipperSecretkey,jdbcType=VARCHAR},
- DELETED = #{deleted,jdbcType=DECIMAL},
- SHIPPER_COMPANY_BRANCH = #{shipperCompanyBranch,jdbcType=VARCHAR},
- SHIPPER_BRANCH_FACTORY = #{shipperBranchFactory,jdbcType=VARCHAR},
- SHIPPER_FACTORY_AREA = #{shipperFactoryArea,jdbcType=VARCHAR},
- SHIPPER_ORG_CODE = #{shipperOrgCode,jdbcType=VARCHAR}
- where SHIPPER_ID = #{shipperId,jdbcType=DECIMAL}
- </update>
- <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.RmsShipper">
- update RMS_SHIPPER
- <set>
- <if test="shipperName != null">
- SHIPPER_NAME = #{shipperName,jdbcType=VARCHAR},
- </if>
- <if test="shipperAbbreviation != null">
- SHIPPER_ABBREVIATION = #{shipperAbbreviation,jdbcType=VARCHAR},
- </if>
- <if test="shipperFatherId != null">
- SHIPPER_FATHER_ID = #{shipperFatherId,jdbcType=DECIMAL},
- </if>
- <if test="shipperSsoId != null">
- SHIPPER_SSO_ID = #{shipperSsoId,jdbcType=VARCHAR},
- </if>
- <if test="shipperDepartmentLevel != null">
- SHIPPER_DEPARTMENT_LEVEL = #{shipperDepartmentLevel,jdbcType=VARCHAR},
- </if>
- <if test="shipperPartitionCode != null">
- SHIPPER_PARTITION_CODE = #{shipperPartitionCode,jdbcType=VARCHAR},
- </if>
- <if test="shipperAddress != null">
- SHIPPER_ADDRESS = #{shipperAddress,jdbcType=VARCHAR},
- </if>
- <if test="shipperLegalRepresentative != null">
- SHIPPER_LEGAL_REPRESENTATIVE = #{shipperLegalRepresentative,jdbcType=VARCHAR},
- </if>
- <if test="shipperAgent != null">
- SHIPPER_AGENT = #{shipperAgent,jdbcType=VARCHAR},
- </if>
- <if test="shipperContactNumber != null">
- SHIPPER_CONTACT_NUMBER = #{shipperContactNumber,jdbcType=VARCHAR},
- </if>
- <if test="shipperFax != null">
- SHIPPER_FAX = #{shipperFax,jdbcType=VARCHAR},
- </if>
- <if test="shipperAccount != null">
- SHIPPER_ACCOUNT = #{shipperAccount,jdbcType=VARCHAR},
- </if>
- <if test="shipperAccountBlank != null">
- SHIPPER_ACCOUNT_BLANK = #{shipperAccountBlank,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterNo != null">
- SHIPPER_REGISTER_NO = #{shipperRegisterNo,jdbcType=VARCHAR},
- </if>
- <if test="shipperDutyParagraph != null">
- SHIPPER_DUTY_PARAGRAPH = #{shipperDutyParagraph,jdbcType=VARCHAR},
- </if>
- <if test="shipperPostalCode != null">
- SHIPPER_POSTAL_CODE = #{shipperPostalCode,jdbcType=VARCHAR},
- </if>
- <if test="shipperContactsName != null">
- SHIPPER_CONTACTS_NAME = #{shipperContactsName,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterCapital != null">
- SHIPPER_REGISTER_CAPITAL = #{shipperRegisterCapital,jdbcType=DECIMAL},
- </if>
- <if test="shipperBusinessScope != null">
- SHIPPER_BUSINESS_SCOPE = #{shipperBusinessScope,jdbcType=VARCHAR},
- </if>
- <if test="shipperAnnualDate != null">
- SHIPPER_ANNUAL_DATE = #{shipperAnnualDate,jdbcType=VARCHAR},
- </if>
- <if test="shipperCompanyStatusDesc != null">
- SHIPPER_COMPANY_STATUS_DESC = #{shipperCompanyStatusDesc,jdbcType=VARCHAR},
- </if>
- <if test="shipperOperationPeriod != null">
- SHIPPER_OPERATION_PERIOD = #{shipperOperationPeriod,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterDate != null">
- SHIPPER_REGISTER_DATE = #{shipperRegisterDate,jdbcType=TIMESTAMP},
- </if>
- <if test="shipperRegisterOrganization != null">
- SHIPPER_REGISTER_ORGANIZATION = #{shipperRegisterOrganization,jdbcType=VARCHAR},
- </if>
- <if test="shipperRegisterAptitudes != null">
- SHIPPER_REGISTER_APTITUDES = #{shipperRegisterAptitudes,jdbcType=VARCHAR},
- </if>
- <if test="shipperCredentialDesc != null">
- SHIPPER_CREDENTIAL_DESC = #{shipperCredentialDesc,jdbcType=VARCHAR},
- </if>
- <if test="memo != null">
- MEMO = #{memo,jdbcType=VARCHAR},
- </if>
- <if test="insertUsername != null">
- INSERT_USERNAME = #{insertUsername,jdbcType=VARCHAR},
- </if>
- <if test="insertTime != null">
- INSERT_TIME = #{insertTime,jdbcType=TIMESTAMP},
- </if>
- <if test="updateUsername != null">
- UPDATE_USERNAME = #{updateUsername,jdbcType=VARCHAR},
- </if>
- <if test="updateTime != null">
- UPDATE_TIME = #{updateTime,jdbcType=TIMESTAMP},
- </if>
- <if test="insertUpdateRemark != null">
- INSERT_UPDATE_REMARK = #{insertUpdateRemark,jdbcType=VARCHAR},
- </if>
- <if test="shipperAppid != null">
- SHIPPER_APPID = #{shipperAppid,jdbcType=VARCHAR},
- </if>
- <if test="shipperSecretkey != null">
- SHIPPER_SECRETKEY = #{shipperSecretkey,jdbcType=VARCHAR},
- </if>
- <if test="deleted != null">
- DELETED = #{deleted,jdbcType=DECIMAL},
- </if>
- <if test="shipperCompanyBranch != null">
- SHIPPER_COMPANY_BRANCH = #{shipperCompanyBranch,jdbcType=VARCHAR},
- </if>
- <if test="shipperBranchFactory != null">
- SHIPPER_BRANCH_FACTORY = #{shipperBranchFactory,jdbcType=VARCHAR},
- </if>
- <if test="shipperFactoryArea != null">
- SHIPPER_FACTORY_AREA = #{shipperFactoryArea,jdbcType=VARCHAR},
- </if>
- <if test="shipperOrgCode != null">
- SHIPPER_ORG_CODE = #{shipperOrgCode,jdbcType=VARCHAR},
- </if>
- </set>
- where SHIPPER_ID = #{shipperId,jdbcType=DECIMAL}
- </update>
- <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
- <include refid="select" />
- where SHIPPER_ID = #{shipperId,jdbcType=DECIMAL}
- </select>
- <select id="selectByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
- <include refid="select" />
- <include refid="where" />
- </select>
- <select id="selectLikeByParameters" parameterType="java.util.HashMap" resultMap="BaseResultMap">
- <include refid="select" />
- <include refid="whereLike" />
- </select>
- <insert id="batchInsert" parameterType="java.util.List">
- insert into RMS_SHIPPER
- (SHIPPER_ID,
- SHIPPER_NAME, SHIPPER_ABBREVIATION,
- SHIPPER_FATHER_ID, SHIPPER_SSO_ID,
- SHIPPER_DEPARTMENT_LEVEL, SHIPPER_PARTITION_CODE,
- SHIPPER_ADDRESS, SHIPPER_LEGAL_REPRESENTATIVE,
- SHIPPER_AGENT, SHIPPER_CONTACT_NUMBER,
- SHIPPER_FAX, SHIPPER_ACCOUNT, SHIPPER_ACCOUNT_BLANK,
- SHIPPER_REGISTER_NO, SHIPPER_DUTY_PARAGRAPH,
- SHIPPER_POSTAL_CODE, SHIPPER_CONTACTS_NAME,
- SHIPPER_REGISTER_CAPITAL, SHIPPER_BUSINESS_SCOPE,
- SHIPPER_ANNUAL_DATE, SHIPPER_COMPANY_STATUS_DESC,
- SHIPPER_OPERATION_PERIOD, SHIPPER_REGISTER_DATE,
- SHIPPER_REGISTER_ORGANIZATION, SHIPPER_REGISTER_APTITUDES,
- SHIPPER_CREDENTIAL_DESC, MEMO,
- INSERT_USERNAME, INSERT_TIME,
- UPDATE_USERNAME, UPDATE_TIME,
- INSERT_UPDATE_REMARK, SHIPPER_APPID,
- SHIPPER_SECRETKEY, DELETED, SHIPPER_COMPANY_BRANCH,
- SHIPPER_BRANCH_FACTORY, SHIPPER_FACTORY_AREA,
- SHIPPER_ORG_CODE)
- ( <foreach collection="list" item="item" separator="union all">
- select
- #{item.shipperId,jdbcType=DECIMAL},
- #{item.shipperName,jdbcType=VARCHAR}, #{item.shipperAbbreviation,jdbcType=VARCHAR},
- #{item.shipperFatherId,jdbcType=DECIMAL}, #{item.shipperSsoId,jdbcType=VARCHAR},
- #{item.shipperDepartmentLevel,jdbcType=VARCHAR}, #{item.shipperPartitionCode,jdbcType=VARCHAR},
- #{item.shipperAddress,jdbcType=VARCHAR}, #{item.shipperLegalRepresentative,jdbcType=VARCHAR},
- #{item.shipperAgent,jdbcType=VARCHAR}, #{item.shipperContactNumber,jdbcType=VARCHAR},
- #{item.shipperFax,jdbcType=VARCHAR}, #{item.shipperAccount,jdbcType=VARCHAR}, #{item.shipperAccountBlank,jdbcType=VARCHAR},
- #{item.shipperRegisterNo,jdbcType=VARCHAR}, #{item.shipperDutyParagraph,jdbcType=VARCHAR},
- #{item.shipperPostalCode,jdbcType=VARCHAR}, #{item.shipperContactsName,jdbcType=VARCHAR},
- #{item.shipperRegisterCapital,jdbcType=DECIMAL}, #{item.shipperBusinessScope,jdbcType=VARCHAR},
- #{item.shipperAnnualDate,jdbcType=VARCHAR}, #{item.shipperCompanyStatusDesc,jdbcType=VARCHAR},
- #{item.shipperOperationPeriod,jdbcType=VARCHAR}, #{item.shipperRegisterDate,jdbcType=TIMESTAMP},
- #{item.shipperRegisterOrganization,jdbcType=VARCHAR}, #{item.shipperRegisterAptitudes,jdbcType=VARCHAR},
- #{item.shipperCredentialDesc,jdbcType=VARCHAR}, #{item.memo,jdbcType=VARCHAR},
- #{item.insertUsername,jdbcType=VARCHAR}, #{item.insertTime,jdbcType=TIMESTAMP},
- #{item.updateUsername,jdbcType=VARCHAR}, #{item.updateTime,jdbcType=TIMESTAMP},
- #{item.insertUpdateRemark,jdbcType=VARCHAR}, #{item.shipperAppid,jdbcType=VARCHAR},
- #{item.shipperSecretkey,jdbcType=VARCHAR}, #{item.deleted,jdbcType=DECIMAL}, #{item.shipperCompanyBranch,jdbcType=VARCHAR},
- #{item.shipperBranchFactory,jdbcType=VARCHAR}, #{item.shipperFactoryArea,jdbcType=VARCHAR},
- #{item.shipperOrgCode,jdbcType=VARCHAR} from dual
- </foreach> )
- </insert>
- <update id="batchUpdate" parameterType="java.util.List">
- update RMS_SHIPPER
- set
- SHIPPER_ID=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperId,jdbcType=DECIMAL}
- </foreach>
- ,SHIPPER_NAME=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperName,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_ABBREVIATION=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAbbreviation,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_FATHER_ID=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperFatherId,jdbcType=DECIMAL}
- </foreach>
- ,SHIPPER_SSO_ID=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperSsoId,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_DEPARTMENT_LEVEL=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperDepartmentLevel,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_PARTITION_CODE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperPartitionCode,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_ADDRESS=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAddress,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_LEGAL_REPRESENTATIVE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperLegalRepresentative,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_AGENT=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAgent,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_CONTACT_NUMBER=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperContactNumber,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_FAX=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperFax,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_ACCOUNT=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAccount,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_ACCOUNT_BLANK=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAccountBlank,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_REGISTER_NO=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperRegisterNo,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_DUTY_PARAGRAPH=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperDutyParagraph,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_POSTAL_CODE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperPostalCode,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_CONTACTS_NAME=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperContactsName,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_REGISTER_CAPITAL=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperRegisterCapital,jdbcType=DECIMAL}
- </foreach>
- ,SHIPPER_BUSINESS_SCOPE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperBusinessScope,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_ANNUAL_DATE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAnnualDate,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_COMPANY_STATUS_DESC=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperCompanyStatusDesc,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_OPERATION_PERIOD=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperOperationPeriod,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_REGISTER_DATE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperRegisterDate,jdbcType=TIMESTAMP}
- </foreach>
- ,SHIPPER_REGISTER_ORGANIZATION=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperRegisterOrganization,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_REGISTER_APTITUDES=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperRegisterAptitudes,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_CREDENTIAL_DESC=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperCredentialDesc,jdbcType=VARCHAR}
- </foreach>
- ,MEMO=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.memo,jdbcType=VARCHAR}
- </foreach>
- ,INSERT_USERNAME=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.insertUsername,jdbcType=VARCHAR}
- </foreach>
- ,INSERT_TIME=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.insertTime,jdbcType=TIMESTAMP}
- </foreach>
- ,UPDATE_USERNAME=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.updateUsername,jdbcType=VARCHAR}
- </foreach>
- ,UPDATE_TIME=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP}
- </foreach>
- ,INSERT_UPDATE_REMARK=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.insertUpdateRemark,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_APPID=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperAppid,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_SECRETKEY=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperSecretkey,jdbcType=VARCHAR}
- </foreach>
- ,DELETED=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.deleted,jdbcType=DECIMAL}
- </foreach>
- ,SHIPPER_COMPANY_BRANCH=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperCompanyBranch,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_BRANCH_FACTORY=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperBranchFactory,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_FACTORY_AREA=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperFactoryArea,jdbcType=VARCHAR}
- </foreach>
- ,SHIPPER_ORG_CODE=
- <foreach close="end" collection="list" index="index" item="item" open="case SHIPPER_ID" separator=" ">
- when #{item.shipperId,jdbcType=DECIMAL} then #{item.shipperOrgCode,jdbcType=VARCHAR}
- </foreach>
- where SHIPPER_ID in
- <foreach close=")" collection="list" index="index" item="item" open="(" separator=",">
- #{item.shipperId,jdbcType=DECIMAL}
- </foreach>
- </update>
- <delete id="batchDelete" parameterType="java.util.List">
- delete from RMS_SHIPPER
- where SHIPPER_ID in
- <foreach close=")" collection="list" item="id" open="(" separator=",">
- #{id}
- </foreach>
- </delete>
- <!-- 友情提示!!!-->
- <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
- <!-- 展示托运人信息-->
- <select id="getShipperList" parameterType="java.util.Map" resultType="java.util.Map">
- select * from
- (
- select
- RS.SHIPPER_ID as "shipperId",
- RS.SHIPPER_NAME as "shipperName",
- RS.SHIPPER_ABBREVIATION as "shipperAbbreviation",
- RS.SHIPPER_COMPANY_BRANCH as "shipperCompanyBranch",
- RS.SHIPPER_BRANCH_FACTORY as "shipperBranchFactory"
- from RMS_SHIPPER RS
- where RS.DELETED !=1
- ORDER BY RS.INSERT_TIME DESC
- )
- <where>
- <if test="shipperId!= null">
- and
- <foreach collection="shipperId" item="item" open="(" separator="," close=")">
- "shipperId" in #{item}
- </foreach>
- </if>
- <if test="shipperName!= null">
- and
- <foreach collection="shipperName" item="item" open="(" separator="," close=")">
- "shipperName" in #{item}
- </foreach>
- </if>
- <if test="shipperAbbreviation!= null">
- and
- <foreach collection="shipperAbbreviation" item="item" open="(" separator="," close=")">
- "shipperAbbreviation" in #{item}
- </foreach>
- </if>
- <if test="shipperCompanyBranch!= null">
- and
- <foreach collection="shipperCompanyBranch" item="item" open="(" separator="," close=")">
- "shipperCompanyBranch" in #{item}
- </foreach>
- </if>
- <if test="shipperBranchFactory!= null">
- and
- <foreach collection="shipperBranchFactory" item="item" open="(" separator="," close=")">
- "shipperBranchFactory" in #{item}
- </foreach>
- </if>
- </where>
- <include refid="orderBy"></include>
- </select>
- <sql id="orderBy">
- <if test="orderField!=null and orderField !=''">
- order by "${orderField}"
- <if test="orderType !=null and orderType !=''">
- ${orderType}
- </if>
- </if>
- </sql>
- <!-- 根据id值获取托运人信息-->
- <select id="selectShipperById" resultType="java.util.LinkedHashMap">
- select
- RS.SHIPPER_ID as "shipperId",
- RS.SHIPPER_NAME as "shipperName",
- RS.SHIPPER_ABBREVIATION as "shipperAbbreviation",
- RS.SHIPPER_COMPANY_BRANCH as "shipperCompanyBranch",
- RS.SHIPPER_BRANCH_FACTORY as "shipperBranchFactory"
- from RMS_SHIPPER RS
- where RS.SHIPPER_ID=#{id}
- and RS.DELETED != 1
- </select>
- <select id="selectByParametersCompanyBranch" resultType="java.lang.Integer">
- SELECT count(*)
- FROM RMS_SHIPPER RS
- WHERE RS.SHIPPER_COMPANY_BRANCH =#{shipperCompanyBranch}
- AND RS.DELETED=0
- </select>
- <!-- 通过SSO主键查询组织机构主键 -->
- <select id="selectShipperResultId" parameterType="string" resultType="int">
- select RS.SHIPPER_ID
- from RMS_SHIPPER RS
- where RS.SHIPPER_SSO_ID = #{pId}
- </select>
- </mapper>
|