Pārlūkot izejas kodu

'物资和供应商'

HUJIANGUO 3 gadi atpakaļ
vecāks
revīzija
43ff335041

+ 1 - 1
pom.xml

@@ -165,7 +165,7 @@
     </dependencies>
     <build>
         <plugins>
-            <!--             自动生成代码文件 -->
+                        <!-- 自动生成代码文件-->
             <plugin>
                 <groupId>com.steerinfo</groupId>
                 <artifactId>generator-maven-plugin</artifactId>

+ 52 - 0
src/main/java/com/steerinfo/dil/controller/RmsMaterialTypeController.java

@@ -0,0 +1,52 @@
+package com.steerinfo.dil.controller;
+
+import com.steerinfo.dil.service.impl.RmsMaterialServiceImpl;
+import com.steerinfo.dil.service.impl.RmsMaterialTypeServiceImpl;
+import com.steerinfo.dil.util.BaseRESTfulController;
+import com.steerinfo.framework.controller.RESTfulResult;
+import io.swagger.annotations.ApiImplicitParam;
+import io.swagger.annotations.ApiImplicitParams;
+import io.swagger.annotations.ApiModelProperty;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.Map;
+
+/**
+ * @Description:
+ * @Author:HuJianGuo
+ * @GreateTime:2021/10/22 17:34
+ * @Version:V2.0
+ */
+@RestController
+@RequestMapping("/${api.version}/rmsmaterial")
+public class RmsMaterialTypeController extends BaseRESTfulController {
+
+    @Autowired
+    RmsMaterialTypeServiceImpl rmsMaterialTypeService;
+
+    /**
+     * 物资类型管理对接接口
+     *
+     * @param mapVal
+     * @return
+     */
+    @ApiModelProperty(value = "物资类型管理对接接口")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "EASMaterialId", value = "1", required = true, dataType = "String"),
+            @ApiImplicitParam(name = "materialTypeName", value = "钢材", required = true, dataType = "String"),
+            @ApiImplicitParam(name = "materialTypeCode", value = "0801", required = true, dataType = "String"),
+            @ApiImplicitParam(name = "dataStatus", value = "1", required = true, dataType = "Integer"),
+    })
+    @PostMapping("/operationMaterialType")
+    public RESTfulResult operationMaterialType(@RequestBody Map<String, Object> mapVal) {
+        int result = rmsMaterialTypeService.operationMaterialType(mapVal);
+        return success(result);
+    }
+
+
+
+}

+ 11 - 0
src/main/java/com/steerinfo/dil/mapper/RmsCarrierMapper.java

@@ -0,0 +1,11 @@
+package com.steerinfo.dil.mapper;
+
+import com.steerinfo.dil.model.RmsCarrier;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.math.BigDecimal;
+
+@Mapper
+public interface RmsCarrierMapper extends IBaseMapper<RmsCarrier, BigDecimal> {
+}

+ 574 - 0
src/main/java/com/steerinfo/dil/model/RmsCarrier.java

@@ -0,0 +1,574 @@
+package com.steerinfo.dil.model;
+
+import com.steerinfo.framework.model.IBasePO;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+@ApiModel(value="承运方")
+public class RmsCarrier implements IBasePO<BigDecimal> {
+    /**
+     * 主键ID(CARRIER_ID,DECIMAL,38)
+     */
+    @ApiModelProperty(value="主键ID",required=true)
+    private BigDecimal carrierId;
+
+    /**
+     * 运输类型:0危化品;1:其他(CARRIER_TRANSPORT_TYPE,DECIMAL,38)
+     */
+    @ApiModelProperty(value="运输类型:0危化品;1:其他",required=false)
+    private BigDecimal carrierTransportType;
+
+    /**
+     * 承运商名称(CARRIER_NAME,VARCHAR,32)
+     */
+    @ApiModelProperty(value="承运商名称",required=false)
+    private String carrierName;
+
+    /**
+     * 承运人简称(CARRIER_ABBREVIATION,VARCHAR,32)
+     */
+    @ApiModelProperty(value="承运人简称",required=false)
+    private String carrierAbbreviation;
+
+    /**
+     * 地址(CARRIER_ADDRESS,VARCHAR,64)
+     */
+    @ApiModelProperty(value="地址",required=false)
+    private String carrierAddress;
+
+    /**
+     * 中标区域(CARRIER_BID_AREA,VARCHAR,20)
+     */
+    @ApiModelProperty(value="中标区域",required=false)
+    private String carrierBidArea;
+
+    /**
+     * 中标时间(CARRIER_BID_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="中标时间",required=false)
+    private Date carrierBidTime;
+
+    /**
+     * 法人代表(CARRIER_LEGAL_REPRESENTATIVE,VARCHAR,16)
+     */
+    @ApiModelProperty(value="法人代表",required=false)
+    private String carrierLegalRepresentative;
+
+    /**
+     * 注册号(REGISTER_NO,VARCHAR,32)
+     */
+    @ApiModelProperty(value="注册号",required=false)
+    private String registerNo;
+
+    /**
+     * 委托代理人(CARRIER_AGENT,VARCHAR,16)
+     */
+    @ApiModelProperty(value="委托代理人",required=false)
+    private String carrierAgent;
+
+    /**
+     * 联系电话(CARRIER_CONTACT_NUMBER,VARCHAR,32)
+     */
+    @ApiModelProperty(value="联系电话",required=false)
+    private String carrierContactNumber;
+
+    /**
+     * 传真(CARRIER_FAX,VARCHAR,32)
+     */
+    @ApiModelProperty(value="传真",required=false)
+    private String carrierFax;
+
+    /**
+     * 账户(CARRIER_ACCOUNT,VARCHAR,32)
+     */
+    @ApiModelProperty(value="账户",required=false)
+    private String carrierAccount;
+
+    /**
+     * 开户行(CARRIER_ACCOUNT_BLANK,VARCHAR,32)
+     */
+    @ApiModelProperty(value="开户行",required=false)
+    private String carrierAccountBlank;
+
+    /**
+     * 税号(CARRIER_DUTY_PARAGRAPH,VARCHAR,32)
+     */
+    @ApiModelProperty(value="税号",required=false)
+    private String carrierDutyParagraph;
+
+    /**
+     * 邮政编码(CARRIER_POSTAL_CODE,VARCHAR,16)
+     */
+    @ApiModelProperty(value="邮政编码",required=false)
+    private String carrierPostalCode;
+
+    /**
+     * 注册资本(REGISTER_CAPITAL,VARCHAR,16)
+     */
+    @ApiModelProperty(value="注册资本",required=false)
+    private String registerCapital;
+
+    /**
+     * 经营范围(BUSINESS_SCOPE,VARCHAR,256)
+     */
+    @ApiModelProperty(value="经营范围",required=false)
+    private String businessScope;
+
+    /**
+     * 年检年度(ANNUAL_DATE,VARCHAR,16)
+     */
+    @ApiModelProperty(value="年检年度",required=false)
+    private String annualDate;
+
+    /**
+     * 企业状态(COMPANY_STATUS_DESC,VARCHAR,16)
+     */
+    @ApiModelProperty(value="企业状态",required=false)
+    private String companyStatusDesc;
+
+    /**
+     * 企业类型(COMPANY_TYPE_DESC,VARCHAR,16)
+     */
+    @ApiModelProperty(value="企业类型",required=false)
+    private String companyTypeDesc;
+
+    /**
+     * 经营期限(OPERATION_PERIOD,VARCHAR,16)
+     */
+    @ApiModelProperty(value="经营期限",required=false)
+    private String operationPeriod;
+
+    /**
+     * 成立日期(REGISTER_DATE,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="成立日期",required=false)
+    private Date registerDate;
+
+    /**
+     * 登记机构(REGISTER_ORGANIZATION,VARCHAR,16)
+     */
+    @ApiModelProperty(value="登记机构",required=false)
+    private String registerOrganization;
+
+    /**
+     * 相关资质(REGISTER_APTITUDES,VARCHAR,16)
+     */
+    @ApiModelProperty(value="相关资质",required=false)
+    private String registerAptitudes;
+
+    /**
+     * 企业资信等级(CREDENTIAL_DESC,VARCHAR,16)
+     */
+    @ApiModelProperty(value="企业资信等级",required=false)
+    private String credentialDesc;
+
+    /**
+     * 联系人(CONTACTS_NAME,VARCHAR,8)
+     */
+    @ApiModelProperty(value="联系人",required=false)
+    private String contactsName;
+
+    /**
+     * 记录创建人(INSERT_USERNAME,VARCHAR,20)
+     */
+    @ApiModelProperty(value="记录创建人",required=false)
+    private String insertUsername;
+
+    /**
+     * 记录创建时间(INSERT_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="记录创建时间",required=false)
+    private Date insertTime;
+
+    /**
+     * 记录修改人(UPDATE_USERNAME,VARCHAR,20)
+     */
+    @ApiModelProperty(value="记录修改人",required=false)
+    private String updateUsername;
+
+    /**
+     * 记录修改时间(UPDATE_TIME,TIMESTAMP,7)
+     */
+    @ApiModelProperty(value="记录修改时间",required=false)
+    private Date updateTime;
+
+    /**
+     * 记录创建或修改备注(INSERT_UPDATE_REMARK,VARCHAR,100)
+     */
+    @ApiModelProperty(value="记录创建或修改备注",required=false)
+    private String insertUpdateRemark;
+
+    /**
+     * 逻辑删除(DELETED,DECIMAL,0)
+     */
+    @ApiModelProperty(value="逻辑删除",required=false)
+    private BigDecimal deleted;
+
+    /**
+     * 运输证(照片)(CARRIER_TRANSPORT_CERTIFICATE,BLOB,4000)
+     */
+    @ApiModelProperty(value="运输证(照片)",required=false)
+    private byte[] carrierTransportCertificate;
+
+    /**
+     * 经营许可证(照片)(CARRIER_BUSINESS_LICENSE,BLOB,4000)
+     */
+    @ApiModelProperty(value="经营许可证(照片)",required=false)
+    private byte[] carrierBusinessLicense;
+
+    /**
+     * 营业执照(CARRIER_BUSINESS_ABLELICENSE,BLOB,4000)
+     */
+    @ApiModelProperty(value="营业执照",required=false)
+    private byte[] carrierBusinessAblelicense;
+
+    private static final long serialVersionUID = 1L;
+
+    @Override
+    public BigDecimal getId() {
+        return this.carrierId;
+    }
+
+    @Override
+    public void setId(BigDecimal carrierId) {
+        this.carrierId = carrierId;
+    }
+
+    public BigDecimal getCarrierId() {
+        return carrierId;
+    }
+
+    public void setCarrierId(BigDecimal carrierId) {
+        this.carrierId = carrierId;
+    }
+
+    public BigDecimal getCarrierTransportType() {
+        return carrierTransportType;
+    }
+
+    public void setCarrierTransportType(BigDecimal carrierTransportType) {
+        this.carrierTransportType = carrierTransportType;
+    }
+
+    public String getCarrierName() {
+        return carrierName;
+    }
+
+    public void setCarrierName(String carrierName) {
+        this.carrierName = carrierName == null ? null : carrierName.trim();
+    }
+
+    public String getCarrierAbbreviation() {
+        return carrierAbbreviation;
+    }
+
+    public void setCarrierAbbreviation(String carrierAbbreviation) {
+        this.carrierAbbreviation = carrierAbbreviation == null ? null : carrierAbbreviation.trim();
+    }
+
+    public String getCarrierAddress() {
+        return carrierAddress;
+    }
+
+    public void setCarrierAddress(String carrierAddress) {
+        this.carrierAddress = carrierAddress == null ? null : carrierAddress.trim();
+    }
+
+    public String getCarrierBidArea() {
+        return carrierBidArea;
+    }
+
+    public void setCarrierBidArea(String carrierBidArea) {
+        this.carrierBidArea = carrierBidArea == null ? null : carrierBidArea.trim();
+    }
+
+    public Date getCarrierBidTime() {
+        return carrierBidTime;
+    }
+
+    public void setCarrierBidTime(Date carrierBidTime) {
+        this.carrierBidTime = carrierBidTime;
+    }
+
+    public String getCarrierLegalRepresentative() {
+        return carrierLegalRepresentative;
+    }
+
+    public void setCarrierLegalRepresentative(String carrierLegalRepresentative) {
+        this.carrierLegalRepresentative = carrierLegalRepresentative == null ? null : carrierLegalRepresentative.trim();
+    }
+
+    public String getRegisterNo() {
+        return registerNo;
+    }
+
+    public void setRegisterNo(String registerNo) {
+        this.registerNo = registerNo == null ? null : registerNo.trim();
+    }
+
+    public String getCarrierAgent() {
+        return carrierAgent;
+    }
+
+    public void setCarrierAgent(String carrierAgent) {
+        this.carrierAgent = carrierAgent == null ? null : carrierAgent.trim();
+    }
+
+    public String getCarrierContactNumber() {
+        return carrierContactNumber;
+    }
+
+    public void setCarrierContactNumber(String carrierContactNumber) {
+        this.carrierContactNumber = carrierContactNumber == null ? null : carrierContactNumber.trim();
+    }
+
+    public String getCarrierFax() {
+        return carrierFax;
+    }
+
+    public void setCarrierFax(String carrierFax) {
+        this.carrierFax = carrierFax == null ? null : carrierFax.trim();
+    }
+
+    public String getCarrierAccount() {
+        return carrierAccount;
+    }
+
+    public void setCarrierAccount(String carrierAccount) {
+        this.carrierAccount = carrierAccount == null ? null : carrierAccount.trim();
+    }
+
+    public String getCarrierAccountBlank() {
+        return carrierAccountBlank;
+    }
+
+    public void setCarrierAccountBlank(String carrierAccountBlank) {
+        this.carrierAccountBlank = carrierAccountBlank == null ? null : carrierAccountBlank.trim();
+    }
+
+    public String getCarrierDutyParagraph() {
+        return carrierDutyParagraph;
+    }
+
+    public void setCarrierDutyParagraph(String carrierDutyParagraph) {
+        this.carrierDutyParagraph = carrierDutyParagraph == null ? null : carrierDutyParagraph.trim();
+    }
+
+    public String getCarrierPostalCode() {
+        return carrierPostalCode;
+    }
+
+    public void setCarrierPostalCode(String carrierPostalCode) {
+        this.carrierPostalCode = carrierPostalCode == null ? null : carrierPostalCode.trim();
+    }
+
+    public String getRegisterCapital() {
+        return registerCapital;
+    }
+
+    public void setRegisterCapital(String registerCapital) {
+        this.registerCapital = registerCapital == null ? null : registerCapital.trim();
+    }
+
+    public String getBusinessScope() {
+        return businessScope;
+    }
+
+    public void setBusinessScope(String businessScope) {
+        this.businessScope = businessScope == null ? null : businessScope.trim();
+    }
+
+    public String getAnnualDate() {
+        return annualDate;
+    }
+
+    public void setAnnualDate(String annualDate) {
+        this.annualDate = annualDate == null ? null : annualDate.trim();
+    }
+
+    public String getCompanyStatusDesc() {
+        return companyStatusDesc;
+    }
+
+    public void setCompanyStatusDesc(String companyStatusDesc) {
+        this.companyStatusDesc = companyStatusDesc == null ? null : companyStatusDesc.trim();
+    }
+
+    public String getCompanyTypeDesc() {
+        return companyTypeDesc;
+    }
+
+    public void setCompanyTypeDesc(String companyTypeDesc) {
+        this.companyTypeDesc = companyTypeDesc == null ? null : companyTypeDesc.trim();
+    }
+
+    public String getOperationPeriod() {
+        return operationPeriod;
+    }
+
+    public void setOperationPeriod(String operationPeriod) {
+        this.operationPeriod = operationPeriod == null ? null : operationPeriod.trim();
+    }
+
+    public Date getRegisterDate() {
+        return registerDate;
+    }
+
+    public void setRegisterDate(Date registerDate) {
+        this.registerDate = registerDate;
+    }
+
+    public String getRegisterOrganization() {
+        return registerOrganization;
+    }
+
+    public void setRegisterOrganization(String registerOrganization) {
+        this.registerOrganization = registerOrganization == null ? null : registerOrganization.trim();
+    }
+
+    public String getRegisterAptitudes() {
+        return registerAptitudes;
+    }
+
+    public void setRegisterAptitudes(String registerAptitudes) {
+        this.registerAptitudes = registerAptitudes == null ? null : registerAptitudes.trim();
+    }
+
+    public String getCredentialDesc() {
+        return credentialDesc;
+    }
+
+    public void setCredentialDesc(String credentialDesc) {
+        this.credentialDesc = credentialDesc == null ? null : credentialDesc.trim();
+    }
+
+    public String getContactsName() {
+        return contactsName;
+    }
+
+    public void setContactsName(String contactsName) {
+        this.contactsName = contactsName == null ? null : contactsName.trim();
+    }
+
+    public String getInsertUsername() {
+        return insertUsername;
+    }
+
+    public void setInsertUsername(String insertUsername) {
+        this.insertUsername = insertUsername == null ? null : insertUsername.trim();
+    }
+
+    public Date getInsertTime() {
+        return insertTime;
+    }
+
+    public void setInsertTime(Date insertTime) {
+        this.insertTime = insertTime;
+    }
+
+    public String getUpdateUsername() {
+        return updateUsername;
+    }
+
+    public void setUpdateUsername(String updateUsername) {
+        this.updateUsername = updateUsername == null ? null : updateUsername.trim();
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getInsertUpdateRemark() {
+        return insertUpdateRemark;
+    }
+
+    public void setInsertUpdateRemark(String insertUpdateRemark) {
+        this.insertUpdateRemark = insertUpdateRemark == null ? null : insertUpdateRemark.trim();
+    }
+
+    public BigDecimal getDeleted() {
+        return deleted;
+    }
+
+    public void setDeleted(BigDecimal deleted) {
+        this.deleted = deleted;
+    }
+
+    public byte[] getCarrierTransportCertificate() {
+        return carrierTransportCertificate;
+    }
+
+    public void setCarrierTransportCertificate(byte[] carrierTransportCertificate) {
+        this.carrierTransportCertificate = carrierTransportCertificate;
+    }
+
+    public byte[] getCarrierBusinessLicense() {
+        return carrierBusinessLicense;
+    }
+
+    public void setCarrierBusinessLicense(byte[] carrierBusinessLicense) {
+        this.carrierBusinessLicense = carrierBusinessLicense;
+    }
+
+    public byte[] getCarrierBusinessAblelicense() {
+        return carrierBusinessAblelicense;
+    }
+
+    public void setCarrierBusinessAblelicense(byte[] carrierBusinessAblelicense) {
+        this.carrierBusinessAblelicense = carrierBusinessAblelicense;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", carrierId=").append(carrierId);
+        sb.append(", carrierTransportType=").append(carrierTransportType);
+        sb.append(", carrierName=").append(carrierName);
+        sb.append(", carrierAbbreviation=").append(carrierAbbreviation);
+        sb.append(", carrierAddress=").append(carrierAddress);
+        sb.append(", carrierBidArea=").append(carrierBidArea);
+        sb.append(", carrierBidTime=").append(carrierBidTime);
+        sb.append(", carrierLegalRepresentative=").append(carrierLegalRepresentative);
+        sb.append(", registerNo=").append(registerNo);
+        sb.append(", carrierAgent=").append(carrierAgent);
+        sb.append(", carrierContactNumber=").append(carrierContactNumber);
+        sb.append(", carrierFax=").append(carrierFax);
+        sb.append(", carrierAccount=").append(carrierAccount);
+        sb.append(", carrierAccountBlank=").append(carrierAccountBlank);
+        sb.append(", carrierDutyParagraph=").append(carrierDutyParagraph);
+        sb.append(", carrierPostalCode=").append(carrierPostalCode);
+        sb.append(", registerCapital=").append(registerCapital);
+        sb.append(", businessScope=").append(businessScope);
+        sb.append(", annualDate=").append(annualDate);
+        sb.append(", companyStatusDesc=").append(companyStatusDesc);
+        sb.append(", companyTypeDesc=").append(companyTypeDesc);
+        sb.append(", operationPeriod=").append(operationPeriod);
+        sb.append(", registerDate=").append(registerDate);
+        sb.append(", registerOrganization=").append(registerOrganization);
+        sb.append(", registerAptitudes=").append(registerAptitudes);
+        sb.append(", credentialDesc=").append(credentialDesc);
+        sb.append(", contactsName=").append(contactsName);
+        sb.append(", insertUsername=").append(insertUsername);
+        sb.append(", insertTime=").append(insertTime);
+        sb.append(", updateUsername=").append(updateUsername);
+        sb.append(", updateTime=").append(updateTime);
+        sb.append(", insertUpdateRemark=").append(insertUpdateRemark);
+        sb.append(", deleted=").append(deleted);
+        sb.append(", carrierTransportCertificate=").append(carrierTransportCertificate);
+        sb.append(", carrierBusinessLicense=").append(carrierBusinessLicense);
+        sb.append(", carrierBusinessAblelicense=").append(carrierBusinessAblelicense);
+        sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 14 - 0
src/main/java/com/steerinfo/dil/service/IRmsMaterialTypeService.java

@@ -0,0 +1,14 @@
+package com.steerinfo.dil.service;
+
+import java.util.Map;
+
+/**
+ * @Description:
+ * @Author:HuJianGuo
+ * @GreateTime:2021/11/25 14:26
+ * @Version:V2.0
+ */
+public interface IRmsMaterialTypeService {
+    // 物资类型
+    int operationMaterialType(Map<String, Object> mapVal);
+}

+ 41 - 0
src/main/java/com/steerinfo/dil/service/impl/RmsMaterialTypeServiceImpl.java

@@ -0,0 +1,41 @@
+package com.steerinfo.dil.service.impl;
+
+import com.steerinfo.dil.mapper.RmsMaterialTypeMapper;
+import com.steerinfo.dil.model.RmsMaterialType;
+import com.steerinfo.dil.service.IRmsMaterialTypeService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.Map;
+
+/**
+ * @Description:
+ * @Author:HuJianGuo
+ * @GreateTime:2021/11/25 14:27
+ * @Version:V2.0
+ */
+@Service(value = "rmsSupplierTypeService")
+public class RmsMaterialTypeServiceImpl implements IRmsMaterialTypeService {
+
+    @Autowired
+    RmsMaterialTypeMapper rmsMaterialTypeMapper;
+
+    @Override
+    public int operationMaterialType(Map<String, Object> mapVal) {
+        String materialTypeName = (String) mapVal.get("materialTypeName");
+        String materialTypeCode = (String) mapVal.get("materialTypeCode");
+        BigDecimal materialTypeId = rmsMaterialTypeMapper.getMaterialId();
+        RmsMaterialType rmsMaterialType = new RmsMaterialType();
+        rmsMaterialType.setMaterialTypeId(materialTypeId);
+        rmsMaterialType.setMaterialTypeName(materialTypeName);
+        rmsMaterialType.setInsertTime(new Date());
+        rmsMaterialType.setUpdateTime(new Date());
+        rmsMaterialType.setInsertUsername("admin");
+        rmsMaterialType.setUpdateUsername("admin");
+        rmsMaterialType.setInsertUpdateRemark("采集金蝶物资类型");
+        int result = rmsMaterialTypeMapper.insertSelective(rmsMaterialType);
+        return result;
+    }
+}

+ 2 - 0
src/main/java/com/steerinfo/dil/service/impl/RmsSupplierServiceImpl.java

@@ -54,6 +54,8 @@ public class RmsSupplierServiceImpl implements IRmsSupplierService {
         String supplierContactNumber = (String) mapVal.get("supplierContactNumber");
         // 得到数据数据状态
         Integer dataStatus = (Integer) mapVal.get("dataStatus");
+        // 判断是供应商还是承运商
+        String dataType = (String) mapVal.get("dataType");
         // 判断是否EASId已存在
         Map<String,Object> map1 = new HashMap<>();
         map1.put("easSupplierId",EASSupplierId);

+ 28 - 23
src/main/java/com/steerinfo/dil/wsdl/TestEasUtil.java

@@ -16,33 +16,38 @@ import java.util.Scanner;
  */
 public class TestEasUtil {
 
-    public static void main(String[] args) {
-        TestEasUtil test = new TestEasUtil();
-        EASUtil easUtil = new EASUtil();
-        System.out.println(easUtil.getTotalMap());
-        System.out.println(String.class);
-        test.pleaseAsk();
-        System.out.println("罗棒:");
-        Scanner sc = new Scanner(System.in);
-        int i = sc.nextInt();
-        String answer = test.pleaseAnswer(i);
-        System.out.println(answer);
-        System.out.println("小峰:为什么?");
-        String reason = sc.next();
-        System.out.println("小峰:呜呜呜~");
+    public static void aiXin(){
+        for(float y = (float) 1.5;y>-1.5;y -=0.1) {
+            for(float x= (float) -1.5;x<1.5;x+= 0.05){
+                float a = x*x+y*y-1;
+                if((a*a*a-x*x*y*y*y)<=0.0) {
+                    System.out.print("^");
+                }
+                else
+                    System.out.print(" ");
+            }
+            System.out.println();
+        }
     }
 
-    public void pleaseAsk() {
-        System.out.println("小峰:请问你爱我吗?");
+    public static void main(String[] args) {
+        aiXin();
     }
 
-    public String pleaseAnswer(int answer) {
-        String name = "罗棒:";
-        if (answer == 520) {
-            return name + "我爱你";
-        }
-        else {
-            return name + "我不爱你";
+    public static void circle(){
+        int r=15;//圆形的半径
+        for (int y = 0; y <= 2 * r; y += 2) {//y的步长为2,改变y的步长可以将圆形变成椭圆
+            int x = (int)Math.round(r - Math.sqrt(2 * r * y - y * y));
+            int len = 2 * (r - x);
+            for (int i = 0; i <= x; i++) {
+                System.out.print(' ');
+            }
+            System.out.print('*');
+            for (int j = 0; j <= len; j++) {
+                System.out.print(' ');
+            }
+            System.out.println('*');
         }
     }
+
 }

+ 0 - 2
src/main/resources/com/steerinfo/dil/mapper/AmsSaleOrderMapper.xml

@@ -613,13 +613,11 @@
         SELECT ASO.SALE_NUMBER           AS "number",
                RC.CONSIGNEE_CODE AS "cusNum",
                 ASO.INSERT_TIME AS "bizDate"
-
         FROM AMS_SALE_ORDER ASO
                  LEFT JOIN RMS_CONSIGNEE RC
                            ON RC.CONSIGNEE_ID = ASO.RECEIVE_ID
                  LEFT JOIN AMS_SALE_PLAN ASP
                            ON ASP.PLAN_ID = ASO.PLAN_ID
-
     </select>
 
     <!-- 得到订单下的车序号 -->

+ 1026 - 0
src/main/resources/com/steerinfo/dil/mapper/RmsCarrierMapper.xml

@@ -0,0 +1,1026 @@
+<?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.RmsCarrierMapper">
+  <resultMap id="BaseResultMap" type="com.steerinfo.dil.model.RmsCarrier">
+    <id column="CARRIER_ID" jdbcType="DECIMAL" property="carrierId" />
+    <result column="CARRIER_TRANSPORT_TYPE" jdbcType="DECIMAL" property="carrierTransportType" />
+    <result column="CARRIER_NAME" jdbcType="VARCHAR" property="carrierName" />
+    <result column="CARRIER_ABBREVIATION" jdbcType="VARCHAR" property="carrierAbbreviation" />
+    <result column="CARRIER_ADDRESS" jdbcType="VARCHAR" property="carrierAddress" />
+    <result column="CARRIER_BID_AREA" jdbcType="VARCHAR" property="carrierBidArea" />
+    <result column="CARRIER_BID_TIME" jdbcType="TIMESTAMP" property="carrierBidTime" />
+    <result column="CARRIER_LEGAL_REPRESENTATIVE" jdbcType="VARCHAR" property="carrierLegalRepresentative" />
+    <result column="REGISTER_NO" jdbcType="VARCHAR" property="registerNo" />
+    <result column="CARRIER_AGENT" jdbcType="VARCHAR" property="carrierAgent" />
+    <result column="CARRIER_CONTACT_NUMBER" jdbcType="VARCHAR" property="carrierContactNumber" />
+    <result column="CARRIER_FAX" jdbcType="VARCHAR" property="carrierFax" />
+    <result column="CARRIER_ACCOUNT" jdbcType="VARCHAR" property="carrierAccount" />
+    <result column="CARRIER_ACCOUNT_BLANK" jdbcType="VARCHAR" property="carrierAccountBlank" />
+    <result column="CARRIER_DUTY_PARAGRAPH" jdbcType="VARCHAR" property="carrierDutyParagraph" />
+    <result column="CARRIER_POSTAL_CODE" jdbcType="VARCHAR" property="carrierPostalCode" />
+    <result column="REGISTER_CAPITAL" jdbcType="VARCHAR" property="registerCapital" />
+    <result column="BUSINESS_SCOPE" jdbcType="VARCHAR" property="businessScope" />
+    <result column="ANNUAL_DATE" jdbcType="VARCHAR" property="annualDate" />
+    <result column="COMPANY_STATUS_DESC" jdbcType="VARCHAR" property="companyStatusDesc" />
+    <result column="COMPANY_TYPE_DESC" jdbcType="VARCHAR" property="companyTypeDesc" />
+    <result column="OPERATION_PERIOD" jdbcType="VARCHAR" property="operationPeriod" />
+    <result column="REGISTER_DATE" jdbcType="TIMESTAMP" property="registerDate" />
+    <result column="REGISTER_ORGANIZATION" jdbcType="VARCHAR" property="registerOrganization" />
+    <result column="REGISTER_APTITUDES" jdbcType="VARCHAR" property="registerAptitudes" />
+    <result column="CREDENTIAL_DESC" jdbcType="VARCHAR" property="credentialDesc" />
+    <result column="CONTACTS_NAME" jdbcType="VARCHAR" property="contactsName" />
+    <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="DELETED" jdbcType="DECIMAL" property="deleted" />
+    <result column="CARRIER_TRANSPORT_CERTIFICATE" jdbcType="BLOB" property="carrierTransportCertificate" />
+    <result column="CARRIER_BUSINESS_LICENSE" jdbcType="BLOB" property="carrierBusinessLicense" />
+    <result column="CARRIER_BUSINESS_ABLELICENSE" jdbcType="BLOB" property="carrierBusinessAblelicense" />
+  </resultMap>
+  <sql id="columns">
+    CARRIER_ID, CARRIER_TRANSPORT_TYPE, CARRIER_NAME, CARRIER_ABBREVIATION, CARRIER_ADDRESS, 
+    CARRIER_BID_AREA, CARRIER_BID_TIME, CARRIER_LEGAL_REPRESENTATIVE, REGISTER_NO, CARRIER_AGENT, 
+    CARRIER_CONTACT_NUMBER, CARRIER_FAX, CARRIER_ACCOUNT, CARRIER_ACCOUNT_BLANK, CARRIER_DUTY_PARAGRAPH, 
+    CARRIER_POSTAL_CODE, REGISTER_CAPITAL, BUSINESS_SCOPE, ANNUAL_DATE, COMPANY_STATUS_DESC, 
+    COMPANY_TYPE_DESC, OPERATION_PERIOD, REGISTER_DATE, REGISTER_ORGANIZATION, REGISTER_APTITUDES, 
+    CREDENTIAL_DESC, CONTACTS_NAME, INSERT_USERNAME, INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, 
+    INSERT_UPDATE_REMARK, DELETED, CARRIER_TRANSPORT_CERTIFICATE, CARRIER_BUSINESS_LICENSE, 
+    CARRIER_BUSINESS_ABLELICENSE
+  </sql>
+  <sql id="columns_alias">
+    t.CARRIER_ID, t.CARRIER_TRANSPORT_TYPE, t.CARRIER_NAME, t.CARRIER_ABBREVIATION, t.CARRIER_ADDRESS, 
+    t.CARRIER_BID_AREA, t.CARRIER_BID_TIME, t.CARRIER_LEGAL_REPRESENTATIVE, t.REGISTER_NO, 
+    t.CARRIER_AGENT, t.CARRIER_CONTACT_NUMBER, t.CARRIER_FAX, t.CARRIER_ACCOUNT, t.CARRIER_ACCOUNT_BLANK, 
+    t.CARRIER_DUTY_PARAGRAPH, t.CARRIER_POSTAL_CODE, t.REGISTER_CAPITAL, t.BUSINESS_SCOPE, 
+    t.ANNUAL_DATE, t.COMPANY_STATUS_DESC, t.COMPANY_TYPE_DESC, t.OPERATION_PERIOD, t.REGISTER_DATE, 
+    t.REGISTER_ORGANIZATION, t.REGISTER_APTITUDES, t.CREDENTIAL_DESC, t.CONTACTS_NAME, 
+    t.INSERT_USERNAME, t.INSERT_TIME, t.UPDATE_USERNAME, t.UPDATE_TIME, t.INSERT_UPDATE_REMARK, 
+    t.DELETED, t.CARRIER_TRANSPORT_CERTIFICATE, t.CARRIER_BUSINESS_LICENSE, t.CARRIER_BUSINESS_ABLELICENSE
+  </sql>
+  <sql id="select">
+    SELECT <include refid="columns"/> FROM RMS_CARRIER
+  </sql>
+  <sql id="select_alias">
+    SELECT <include refid="columns_alias"/> FROM RMS_CARRIER t
+  </sql>
+  <sql id="where">
+    <where> 
+      <if test="carrierId != null">
+        and CARRIER_ID = #{carrierId}
+      </if>
+      <if test="carrierTransportType != null">
+        and CARRIER_TRANSPORT_TYPE = #{carrierTransportType}
+      </if>
+      <if test="carrierName != null and carrierName != ''">
+        and CARRIER_NAME = #{carrierName}
+      </if>
+      <if test="carrierAbbreviation != null and carrierAbbreviation != ''">
+        and CARRIER_ABBREVIATION = #{carrierAbbreviation}
+      </if>
+      <if test="carrierAddress != null and carrierAddress != ''">
+        and CARRIER_ADDRESS = #{carrierAddress}
+      </if>
+      <if test="carrierBidArea != null and carrierBidArea != ''">
+        and CARRIER_BID_AREA = #{carrierBidArea}
+      </if>
+      <if test="carrierBidTime != null">
+        and TO_CHAR(CARRIER_BID_TIME,'yyyy-MM-dd') = #{carrierBidTime}
+      </if>
+      <if test="carrierLegalRepresentative != null and carrierLegalRepresentative != ''">
+        and CARRIER_LEGAL_REPRESENTATIVE = #{carrierLegalRepresentative}
+      </if>
+      <if test="registerNo != null and registerNo != ''">
+        and REGISTER_NO = #{registerNo}
+      </if>
+      <if test="carrierAgent != null and carrierAgent != ''">
+        and CARRIER_AGENT = #{carrierAgent}
+      </if>
+      <if test="carrierContactNumber != null and carrierContactNumber != ''">
+        and CARRIER_CONTACT_NUMBER = #{carrierContactNumber}
+      </if>
+      <if test="carrierFax != null and carrierFax != ''">
+        and CARRIER_FAX = #{carrierFax}
+      </if>
+      <if test="carrierAccount != null and carrierAccount != ''">
+        and CARRIER_ACCOUNT = #{carrierAccount}
+      </if>
+      <if test="carrierAccountBlank != null and carrierAccountBlank != ''">
+        and CARRIER_ACCOUNT_BLANK = #{carrierAccountBlank}
+      </if>
+      <if test="carrierDutyParagraph != null and carrierDutyParagraph != ''">
+        and CARRIER_DUTY_PARAGRAPH = #{carrierDutyParagraph}
+      </if>
+      <if test="carrierPostalCode != null and carrierPostalCode != ''">
+        and CARRIER_POSTAL_CODE = #{carrierPostalCode}
+      </if>
+      <if test="registerCapital != null and registerCapital != ''">
+        and REGISTER_CAPITAL = #{registerCapital}
+      </if>
+      <if test="businessScope != null and businessScope != ''">
+        and BUSINESS_SCOPE = #{businessScope}
+      </if>
+      <if test="annualDate != null and annualDate != ''">
+        and ANNUAL_DATE = #{annualDate}
+      </if>
+      <if test="companyStatusDesc != null and companyStatusDesc != ''">
+        and COMPANY_STATUS_DESC = #{companyStatusDesc}
+      </if>
+      <if test="companyTypeDesc != null and companyTypeDesc != ''">
+        and COMPANY_TYPE_DESC = #{companyTypeDesc}
+      </if>
+      <if test="operationPeriod != null and operationPeriod != ''">
+        and OPERATION_PERIOD = #{operationPeriod}
+      </if>
+      <if test="registerDate != null">
+        and TO_CHAR(REGISTER_DATE,'yyyy-MM-dd') = #{registerDate}
+      </if>
+      <if test="registerOrganization != null and registerOrganization != ''">
+        and REGISTER_ORGANIZATION = #{registerOrganization}
+      </if>
+      <if test="registerAptitudes != null and registerAptitudes != ''">
+        and REGISTER_APTITUDES = #{registerAptitudes}
+      </if>
+      <if test="credentialDesc != null and credentialDesc != ''">
+        and CREDENTIAL_DESC = #{credentialDesc}
+      </if>
+      <if test="contactsName != null and contactsName != ''">
+        and CONTACTS_NAME = #{contactsName}
+      </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="deleted != null">
+        and DELETED = #{deleted}
+      </if>
+      <if test="carrierTransportCertificate != null">
+        and CARRIER_TRANSPORT_CERTIFICATE = #{carrierTransportCertificate}
+      </if>
+      <if test="carrierBusinessLicense != null">
+        and CARRIER_BUSINESS_LICENSE = #{carrierBusinessLicense}
+      </if>
+      <if test="carrierBusinessAblelicense != null">
+        and CARRIER_BUSINESS_ABLELICENSE = #{carrierBusinessAblelicense}
+      </if>
+    </where>
+  </sql>
+  <sql id="whereLike">
+    <where> 
+      <if test="carrierId != null">
+        and CARRIER_ID = #{carrierId}
+      </if>
+      <if test="carrierTransportType != null">
+        and CARRIER_TRANSPORT_TYPE = #{carrierTransportType}
+      </if>
+      <if test="carrierName != null and carrierName != ''">
+        and CARRIER_NAME LIKE '%${carrierName}%'
+      </if>
+      <if test="carrierAbbreviation != null and carrierAbbreviation != ''">
+        and CARRIER_ABBREVIATION LIKE '%${carrierAbbreviation}%'
+      </if>
+      <if test="carrierAddress != null and carrierAddress != ''">
+        and CARRIER_ADDRESS LIKE '%${carrierAddress}%'
+      </if>
+      <if test="carrierBidArea != null and carrierBidArea != ''">
+        and CARRIER_BID_AREA LIKE '%${carrierBidArea}%'
+      </if>
+      <if test="carrierBidTime != null">
+        and TO_CHAR(CARRIER_BID_TIME,'yyyy-MM-dd') = #{carrierBidTime}
+      </if>
+      <if test="carrierLegalRepresentative != null and carrierLegalRepresentative != ''">
+        and CARRIER_LEGAL_REPRESENTATIVE LIKE '%${carrierLegalRepresentative}%'
+      </if>
+      <if test="registerNo != null and registerNo != ''">
+        and REGISTER_NO LIKE '%${registerNo}%'
+      </if>
+      <if test="carrierAgent != null and carrierAgent != ''">
+        and CARRIER_AGENT LIKE '%${carrierAgent}%'
+      </if>
+      <if test="carrierContactNumber != null and carrierContactNumber != ''">
+        and CARRIER_CONTACT_NUMBER LIKE '%${carrierContactNumber}%'
+      </if>
+      <if test="carrierFax != null and carrierFax != ''">
+        and CARRIER_FAX LIKE '%${carrierFax}%'
+      </if>
+      <if test="carrierAccount != null and carrierAccount != ''">
+        and CARRIER_ACCOUNT LIKE '%${carrierAccount}%'
+      </if>
+      <if test="carrierAccountBlank != null and carrierAccountBlank != ''">
+        and CARRIER_ACCOUNT_BLANK LIKE '%${carrierAccountBlank}%'
+      </if>
+      <if test="carrierDutyParagraph != null and carrierDutyParagraph != ''">
+        and CARRIER_DUTY_PARAGRAPH LIKE '%${carrierDutyParagraph}%'
+      </if>
+      <if test="carrierPostalCode != null and carrierPostalCode != ''">
+        and CARRIER_POSTAL_CODE LIKE '%${carrierPostalCode}%'
+      </if>
+      <if test="registerCapital != null and registerCapital != ''">
+        and REGISTER_CAPITAL LIKE '%${registerCapital}%'
+      </if>
+      <if test="businessScope != null and businessScope != ''">
+        and BUSINESS_SCOPE LIKE '%${businessScope}%'
+      </if>
+      <if test="annualDate != null and annualDate != ''">
+        and ANNUAL_DATE LIKE '%${annualDate}%'
+      </if>
+      <if test="companyStatusDesc != null and companyStatusDesc != ''">
+        and COMPANY_STATUS_DESC LIKE '%${companyStatusDesc}%'
+      </if>
+      <if test="companyTypeDesc != null and companyTypeDesc != ''">
+        and COMPANY_TYPE_DESC LIKE '%${companyTypeDesc}%'
+      </if>
+      <if test="operationPeriod != null and operationPeriod != ''">
+        and OPERATION_PERIOD LIKE '%${operationPeriod}%'
+      </if>
+      <if test="registerDate != null">
+        and TO_CHAR(REGISTER_DATE,'yyyy-MM-dd') = #{registerDate}
+      </if>
+      <if test="registerOrganization != null and registerOrganization != ''">
+        and REGISTER_ORGANIZATION LIKE '%${registerOrganization}%'
+      </if>
+      <if test="registerAptitudes != null and registerAptitudes != ''">
+        and REGISTER_APTITUDES LIKE '%${registerAptitudes}%'
+      </if>
+      <if test="credentialDesc != null and credentialDesc != ''">
+        and CREDENTIAL_DESC LIKE '%${credentialDesc}%'
+      </if>
+      <if test="contactsName != null and contactsName != ''">
+        and CONTACTS_NAME LIKE '%${contactsName}%'
+      </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="deleted != null">
+        and DELETED = #{deleted}
+      </if>
+      <if test="carrierTransportCertificate != null">
+        and CARRIER_TRANSPORT_CERTIFICATE = #{carrierTransportCertificate}
+      </if>
+      <if test="carrierBusinessLicense != null">
+        and CARRIER_BUSINESS_LICENSE = #{carrierBusinessLicense}
+      </if>
+      <if test="carrierBusinessAblelicense != null">
+        and CARRIER_BUSINESS_ABLELICENSE = #{carrierBusinessAblelicense}
+      </if>
+    </where>
+  </sql>
+  <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+    delete from RMS_CARRIER
+    where CARRIER_ID = #{carrierId,jdbcType=DECIMAL}
+  </delete>
+  <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+    delete from RMS_CARRIER
+    where 1!=1 
+      <if test="carrierTransportType != null">
+        or CARRIER_TRANSPORT_TYPE = #{carrierTransportType}
+      </if>
+      <if test="carrierName != null and carrierName != ''">
+        or CARRIER_NAME = #{carrierName}
+      </if>
+      <if test="carrierAbbreviation != null and carrierAbbreviation != ''">
+        or CARRIER_ABBREVIATION = #{carrierAbbreviation}
+      </if>
+      <if test="carrierAddress != null and carrierAddress != ''">
+        or CARRIER_ADDRESS = #{carrierAddress}
+      </if>
+      <if test="carrierBidArea != null and carrierBidArea != ''">
+        or CARRIER_BID_AREA = #{carrierBidArea}
+      </if>
+      <if test="carrierBidTime != null">
+        or TO_CHAR(CARRIER_BID_TIME,'yyyy-MM-dd') = '#{carrierBidTime}'
+      </if>
+      <if test="carrierLegalRepresentative != null and carrierLegalRepresentative != ''">
+        or CARRIER_LEGAL_REPRESENTATIVE = #{carrierLegalRepresentative}
+      </if>
+      <if test="registerNo != null and registerNo != ''">
+        or REGISTER_NO = #{registerNo}
+      </if>
+      <if test="carrierAgent != null and carrierAgent != ''">
+        or CARRIER_AGENT = #{carrierAgent}
+      </if>
+      <if test="carrierContactNumber != null and carrierContactNumber != ''">
+        or CARRIER_CONTACT_NUMBER = #{carrierContactNumber}
+      </if>
+      <if test="carrierFax != null and carrierFax != ''">
+        or CARRIER_FAX = #{carrierFax}
+      </if>
+      <if test="carrierAccount != null and carrierAccount != ''">
+        or CARRIER_ACCOUNT = #{carrierAccount}
+      </if>
+      <if test="carrierAccountBlank != null and carrierAccountBlank != ''">
+        or CARRIER_ACCOUNT_BLANK = #{carrierAccountBlank}
+      </if>
+      <if test="carrierDutyParagraph != null and carrierDutyParagraph != ''">
+        or CARRIER_DUTY_PARAGRAPH = #{carrierDutyParagraph}
+      </if>
+      <if test="carrierPostalCode != null and carrierPostalCode != ''">
+        or CARRIER_POSTAL_CODE = #{carrierPostalCode}
+      </if>
+      <if test="registerCapital != null and registerCapital != ''">
+        or REGISTER_CAPITAL = #{registerCapital}
+      </if>
+      <if test="businessScope != null and businessScope != ''">
+        or BUSINESS_SCOPE = #{businessScope}
+      </if>
+      <if test="annualDate != null and annualDate != ''">
+        or ANNUAL_DATE = #{annualDate}
+      </if>
+      <if test="companyStatusDesc != null and companyStatusDesc != ''">
+        or COMPANY_STATUS_DESC = #{companyStatusDesc}
+      </if>
+      <if test="companyTypeDesc != null and companyTypeDesc != ''">
+        or COMPANY_TYPE_DESC = #{companyTypeDesc}
+      </if>
+      <if test="operationPeriod != null and operationPeriod != ''">
+        or OPERATION_PERIOD = #{operationPeriod}
+      </if>
+      <if test="registerDate != null">
+        or TO_CHAR(REGISTER_DATE,'yyyy-MM-dd') = '#{registerDate}'
+      </if>
+      <if test="registerOrganization != null and registerOrganization != ''">
+        or REGISTER_ORGANIZATION = #{registerOrganization}
+      </if>
+      <if test="registerAptitudes != null and registerAptitudes != ''">
+        or REGISTER_APTITUDES = #{registerAptitudes}
+      </if>
+      <if test="credentialDesc != null and credentialDesc != ''">
+        or CREDENTIAL_DESC = #{credentialDesc}
+      </if>
+      <if test="contactsName != null and contactsName != ''">
+        or CONTACTS_NAME = #{contactsName}
+      </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="deleted != null">
+        or DELETED = #{deleted}
+      </if>
+      <if test="carrierTransportCertificate != null">
+        or CARRIER_TRANSPORT_CERTIFICATE = #{carrierTransportCertificate}
+      </if>
+      <if test="carrierBusinessLicense != null">
+        or CARRIER_BUSINESS_LICENSE = #{carrierBusinessLicense}
+      </if>
+      <if test="carrierBusinessAblelicense != null">
+        or CARRIER_BUSINESS_ABLELICENSE = #{carrierBusinessAblelicense}
+      </if>
+  </delete>
+  <insert id="insert" parameterType="com.steerinfo.dil.model.RmsCarrier">
+    insert into RMS_CARRIER (CARRIER_ID, CARRIER_TRANSPORT_TYPE, 
+      CARRIER_NAME, CARRIER_ABBREVIATION, CARRIER_ADDRESS, 
+      CARRIER_BID_AREA, CARRIER_BID_TIME, CARRIER_LEGAL_REPRESENTATIVE, 
+      REGISTER_NO, CARRIER_AGENT, CARRIER_CONTACT_NUMBER, 
+      CARRIER_FAX, CARRIER_ACCOUNT, CARRIER_ACCOUNT_BLANK, 
+      CARRIER_DUTY_PARAGRAPH, CARRIER_POSTAL_CODE, 
+      REGISTER_CAPITAL, BUSINESS_SCOPE, ANNUAL_DATE, 
+      COMPANY_STATUS_DESC, COMPANY_TYPE_DESC, OPERATION_PERIOD, 
+      REGISTER_DATE, REGISTER_ORGANIZATION, REGISTER_APTITUDES, 
+      CREDENTIAL_DESC, CONTACTS_NAME, INSERT_USERNAME, 
+      INSERT_TIME, UPDATE_USERNAME, UPDATE_TIME, 
+      INSERT_UPDATE_REMARK, DELETED, CARRIER_TRANSPORT_CERTIFICATE, 
+      CARRIER_BUSINESS_LICENSE, CARRIER_BUSINESS_ABLELICENSE
+      )
+    values (#{carrierId,jdbcType=DECIMAL}, #{carrierTransportType,jdbcType=DECIMAL}, 
+      #{carrierName,jdbcType=VARCHAR}, #{carrierAbbreviation,jdbcType=VARCHAR}, #{carrierAddress,jdbcType=VARCHAR}, 
+      #{carrierBidArea,jdbcType=VARCHAR}, #{carrierBidTime,jdbcType=TIMESTAMP}, #{carrierLegalRepresentative,jdbcType=VARCHAR}, 
+      #{registerNo,jdbcType=VARCHAR}, #{carrierAgent,jdbcType=VARCHAR}, #{carrierContactNumber,jdbcType=VARCHAR}, 
+      #{carrierFax,jdbcType=VARCHAR}, #{carrierAccount,jdbcType=VARCHAR}, #{carrierAccountBlank,jdbcType=VARCHAR}, 
+      #{carrierDutyParagraph,jdbcType=VARCHAR}, #{carrierPostalCode,jdbcType=VARCHAR}, 
+      #{registerCapital,jdbcType=VARCHAR}, #{businessScope,jdbcType=VARCHAR}, #{annualDate,jdbcType=VARCHAR}, 
+      #{companyStatusDesc,jdbcType=VARCHAR}, #{companyTypeDesc,jdbcType=VARCHAR}, #{operationPeriod,jdbcType=VARCHAR}, 
+      #{registerDate,jdbcType=TIMESTAMP}, #{registerOrganization,jdbcType=VARCHAR}, #{registerAptitudes,jdbcType=VARCHAR}, 
+      #{credentialDesc,jdbcType=VARCHAR}, #{contactsName,jdbcType=VARCHAR}, #{insertUsername,jdbcType=VARCHAR}, 
+      #{insertTime,jdbcType=TIMESTAMP}, #{updateUsername,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, 
+      #{insertUpdateRemark,jdbcType=VARCHAR}, #{deleted,jdbcType=DECIMAL}, #{carrierTransportCertificate,jdbcType=BLOB}, 
+      #{carrierBusinessLicense,jdbcType=BLOB}, #{carrierBusinessAblelicense,jdbcType=BLOB}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.steerinfo.dil.model.RmsCarrier">
+    insert into RMS_CARRIER
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="carrierId != null">
+        CARRIER_ID,
+      </if>
+      <if test="carrierTransportType != null">
+        CARRIER_TRANSPORT_TYPE,
+      </if>
+      <if test="carrierName != null">
+        CARRIER_NAME,
+      </if>
+      <if test="carrierAbbreviation != null">
+        CARRIER_ABBREVIATION,
+      </if>
+      <if test="carrierAddress != null">
+        CARRIER_ADDRESS,
+      </if>
+      <if test="carrierBidArea != null">
+        CARRIER_BID_AREA,
+      </if>
+      <if test="carrierBidTime != null">
+        CARRIER_BID_TIME,
+      </if>
+      <if test="carrierLegalRepresentative != null">
+        CARRIER_LEGAL_REPRESENTATIVE,
+      </if>
+      <if test="registerNo != null">
+        REGISTER_NO,
+      </if>
+      <if test="carrierAgent != null">
+        CARRIER_AGENT,
+      </if>
+      <if test="carrierContactNumber != null">
+        CARRIER_CONTACT_NUMBER,
+      </if>
+      <if test="carrierFax != null">
+        CARRIER_FAX,
+      </if>
+      <if test="carrierAccount != null">
+        CARRIER_ACCOUNT,
+      </if>
+      <if test="carrierAccountBlank != null">
+        CARRIER_ACCOUNT_BLANK,
+      </if>
+      <if test="carrierDutyParagraph != null">
+        CARRIER_DUTY_PARAGRAPH,
+      </if>
+      <if test="carrierPostalCode != null">
+        CARRIER_POSTAL_CODE,
+      </if>
+      <if test="registerCapital != null">
+        REGISTER_CAPITAL,
+      </if>
+      <if test="businessScope != null">
+        BUSINESS_SCOPE,
+      </if>
+      <if test="annualDate != null">
+        ANNUAL_DATE,
+      </if>
+      <if test="companyStatusDesc != null">
+        COMPANY_STATUS_DESC,
+      </if>
+      <if test="companyTypeDesc != null">
+        COMPANY_TYPE_DESC,
+      </if>
+      <if test="operationPeriod != null">
+        OPERATION_PERIOD,
+      </if>
+      <if test="registerDate != null">
+        REGISTER_DATE,
+      </if>
+      <if test="registerOrganization != null">
+        REGISTER_ORGANIZATION,
+      </if>
+      <if test="registerAptitudes != null">
+        REGISTER_APTITUDES,
+      </if>
+      <if test="credentialDesc != null">
+        CREDENTIAL_DESC,
+      </if>
+      <if test="contactsName != null">
+        CONTACTS_NAME,
+      </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="deleted != null">
+        DELETED,
+      </if>
+      <if test="carrierTransportCertificate != null">
+        CARRIER_TRANSPORT_CERTIFICATE,
+      </if>
+      <if test="carrierBusinessLicense != null">
+        CARRIER_BUSINESS_LICENSE,
+      </if>
+      <if test="carrierBusinessAblelicense != null">
+        CARRIER_BUSINESS_ABLELICENSE,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="carrierId != null">
+        #{carrierId,jdbcType=DECIMAL},
+      </if>
+      <if test="carrierTransportType != null">
+        #{carrierTransportType,jdbcType=DECIMAL},
+      </if>
+      <if test="carrierName != null">
+        #{carrierName,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAbbreviation != null">
+        #{carrierAbbreviation,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAddress != null">
+        #{carrierAddress,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierBidArea != null">
+        #{carrierBidArea,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierBidTime != null">
+        #{carrierBidTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="carrierLegalRepresentative != null">
+        #{carrierLegalRepresentative,jdbcType=VARCHAR},
+      </if>
+      <if test="registerNo != null">
+        #{registerNo,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAgent != null">
+        #{carrierAgent,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierContactNumber != null">
+        #{carrierContactNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierFax != null">
+        #{carrierFax,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAccount != null">
+        #{carrierAccount,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAccountBlank != null">
+        #{carrierAccountBlank,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierDutyParagraph != null">
+        #{carrierDutyParagraph,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierPostalCode != null">
+        #{carrierPostalCode,jdbcType=VARCHAR},
+      </if>
+      <if test="registerCapital != null">
+        #{registerCapital,jdbcType=VARCHAR},
+      </if>
+      <if test="businessScope != null">
+        #{businessScope,jdbcType=VARCHAR},
+      </if>
+      <if test="annualDate != null">
+        #{annualDate,jdbcType=VARCHAR},
+      </if>
+      <if test="companyStatusDesc != null">
+        #{companyStatusDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="companyTypeDesc != null">
+        #{companyTypeDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="operationPeriod != null">
+        #{operationPeriod,jdbcType=VARCHAR},
+      </if>
+      <if test="registerDate != null">
+        #{registerDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="registerOrganization != null">
+        #{registerOrganization,jdbcType=VARCHAR},
+      </if>
+      <if test="registerAptitudes != null">
+        #{registerAptitudes,jdbcType=VARCHAR},
+      </if>
+      <if test="credentialDesc != null">
+        #{credentialDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="contactsName != null">
+        #{contactsName,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="deleted != null">
+        #{deleted,jdbcType=DECIMAL},
+      </if>
+      <if test="carrierTransportCertificate != null">
+        #{carrierTransportCertificate,jdbcType=BLOB},
+      </if>
+      <if test="carrierBusinessLicense != null">
+        #{carrierBusinessLicense,jdbcType=BLOB},
+      </if>
+      <if test="carrierBusinessAblelicense != null">
+        #{carrierBusinessAblelicense,jdbcType=BLOB},
+      </if>
+    </trim>
+  </insert>
+  <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.RmsCarrier">
+    update RMS_CARRIER
+    set CARRIER_TRANSPORT_TYPE = #{carrierTransportType,jdbcType=DECIMAL},
+      CARRIER_NAME = #{carrierName,jdbcType=VARCHAR},
+      CARRIER_ABBREVIATION = #{carrierAbbreviation,jdbcType=VARCHAR},
+      CARRIER_ADDRESS = #{carrierAddress,jdbcType=VARCHAR},
+      CARRIER_BID_AREA = #{carrierBidArea,jdbcType=VARCHAR},
+      CARRIER_BID_TIME = #{carrierBidTime,jdbcType=TIMESTAMP},
+      CARRIER_LEGAL_REPRESENTATIVE = #{carrierLegalRepresentative,jdbcType=VARCHAR},
+      REGISTER_NO = #{registerNo,jdbcType=VARCHAR},
+      CARRIER_AGENT = #{carrierAgent,jdbcType=VARCHAR},
+      CARRIER_CONTACT_NUMBER = #{carrierContactNumber,jdbcType=VARCHAR},
+      CARRIER_FAX = #{carrierFax,jdbcType=VARCHAR},
+      CARRIER_ACCOUNT = #{carrierAccount,jdbcType=VARCHAR},
+      CARRIER_ACCOUNT_BLANK = #{carrierAccountBlank,jdbcType=VARCHAR},
+      CARRIER_DUTY_PARAGRAPH = #{carrierDutyParagraph,jdbcType=VARCHAR},
+      CARRIER_POSTAL_CODE = #{carrierPostalCode,jdbcType=VARCHAR},
+      REGISTER_CAPITAL = #{registerCapital,jdbcType=VARCHAR},
+      BUSINESS_SCOPE = #{businessScope,jdbcType=VARCHAR},
+      ANNUAL_DATE = #{annualDate,jdbcType=VARCHAR},
+      COMPANY_STATUS_DESC = #{companyStatusDesc,jdbcType=VARCHAR},
+      COMPANY_TYPE_DESC = #{companyTypeDesc,jdbcType=VARCHAR},
+      OPERATION_PERIOD = #{operationPeriod,jdbcType=VARCHAR},
+      REGISTER_DATE = #{registerDate,jdbcType=TIMESTAMP},
+      REGISTER_ORGANIZATION = #{registerOrganization,jdbcType=VARCHAR},
+      REGISTER_APTITUDES = #{registerAptitudes,jdbcType=VARCHAR},
+      CREDENTIAL_DESC = #{credentialDesc,jdbcType=VARCHAR},
+      CONTACTS_NAME = #{contactsName,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},
+      DELETED = #{deleted,jdbcType=DECIMAL},
+      CARRIER_TRANSPORT_CERTIFICATE = #{carrierTransportCertificate,jdbcType=BLOB},
+      CARRIER_BUSINESS_LICENSE = #{carrierBusinessLicense,jdbcType=BLOB},
+      CARRIER_BUSINESS_ABLELICENSE = #{carrierBusinessAblelicense,jdbcType=BLOB}
+    where CARRIER_ID = #{carrierId,jdbcType=DECIMAL}
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.RmsCarrier">
+    update RMS_CARRIER
+    <set>
+      <if test="carrierTransportType != null">
+        CARRIER_TRANSPORT_TYPE = #{carrierTransportType,jdbcType=DECIMAL},
+      </if>
+      <if test="carrierName != null">
+        CARRIER_NAME = #{carrierName,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAbbreviation != null">
+        CARRIER_ABBREVIATION = #{carrierAbbreviation,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAddress != null">
+        CARRIER_ADDRESS = #{carrierAddress,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierBidArea != null">
+        CARRIER_BID_AREA = #{carrierBidArea,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierBidTime != null">
+        CARRIER_BID_TIME = #{carrierBidTime,jdbcType=TIMESTAMP},
+      </if>
+      <if test="carrierLegalRepresentative != null">
+        CARRIER_LEGAL_REPRESENTATIVE = #{carrierLegalRepresentative,jdbcType=VARCHAR},
+      </if>
+      <if test="registerNo != null">
+        REGISTER_NO = #{registerNo,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAgent != null">
+        CARRIER_AGENT = #{carrierAgent,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierContactNumber != null">
+        CARRIER_CONTACT_NUMBER = #{carrierContactNumber,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierFax != null">
+        CARRIER_FAX = #{carrierFax,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAccount != null">
+        CARRIER_ACCOUNT = #{carrierAccount,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierAccountBlank != null">
+        CARRIER_ACCOUNT_BLANK = #{carrierAccountBlank,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierDutyParagraph != null">
+        CARRIER_DUTY_PARAGRAPH = #{carrierDutyParagraph,jdbcType=VARCHAR},
+      </if>
+      <if test="carrierPostalCode != null">
+        CARRIER_POSTAL_CODE = #{carrierPostalCode,jdbcType=VARCHAR},
+      </if>
+      <if test="registerCapital != null">
+        REGISTER_CAPITAL = #{registerCapital,jdbcType=VARCHAR},
+      </if>
+      <if test="businessScope != null">
+        BUSINESS_SCOPE = #{businessScope,jdbcType=VARCHAR},
+      </if>
+      <if test="annualDate != null">
+        ANNUAL_DATE = #{annualDate,jdbcType=VARCHAR},
+      </if>
+      <if test="companyStatusDesc != null">
+        COMPANY_STATUS_DESC = #{companyStatusDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="companyTypeDesc != null">
+        COMPANY_TYPE_DESC = #{companyTypeDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="operationPeriod != null">
+        OPERATION_PERIOD = #{operationPeriod,jdbcType=VARCHAR},
+      </if>
+      <if test="registerDate != null">
+        REGISTER_DATE = #{registerDate,jdbcType=TIMESTAMP},
+      </if>
+      <if test="registerOrganization != null">
+        REGISTER_ORGANIZATION = #{registerOrganization,jdbcType=VARCHAR},
+      </if>
+      <if test="registerAptitudes != null">
+        REGISTER_APTITUDES = #{registerAptitudes,jdbcType=VARCHAR},
+      </if>
+      <if test="credentialDesc != null">
+        CREDENTIAL_DESC = #{credentialDesc,jdbcType=VARCHAR},
+      </if>
+      <if test="contactsName != null">
+        CONTACTS_NAME = #{contactsName,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="deleted != null">
+        DELETED = #{deleted,jdbcType=DECIMAL},
+      </if>
+      <if test="carrierTransportCertificate != null">
+        CARRIER_TRANSPORT_CERTIFICATE = #{carrierTransportCertificate,jdbcType=BLOB},
+      </if>
+      <if test="carrierBusinessLicense != null">
+        CARRIER_BUSINESS_LICENSE = #{carrierBusinessLicense,jdbcType=BLOB},
+      </if>
+      <if test="carrierBusinessAblelicense != null">
+        CARRIER_BUSINESS_ABLELICENSE = #{carrierBusinessAblelicense,jdbcType=BLOB},
+      </if>
+    </set>
+    where CARRIER_ID = #{carrierId,jdbcType=DECIMAL}
+  </update>
+  <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+    <include refid="select"/>
+    where CARRIER_ID = #{carrierId,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_CARRIER 
+      (CARRIER_ID, 
+      CARRIER_TRANSPORT_TYPE, CARRIER_NAME, 
+      CARRIER_ABBREVIATION, CARRIER_ADDRESS, 
+      CARRIER_BID_AREA, CARRIER_BID_TIME, 
+      CARRIER_LEGAL_REPRESENTATIVE, REGISTER_NO, 
+      CARRIER_AGENT, CARRIER_CONTACT_NUMBER, 
+      CARRIER_FAX, CARRIER_ACCOUNT, CARRIER_ACCOUNT_BLANK, 
+      CARRIER_DUTY_PARAGRAPH, CARRIER_POSTAL_CODE, 
+      REGISTER_CAPITAL, BUSINESS_SCOPE, 
+      ANNUAL_DATE, COMPANY_STATUS_DESC, 
+      COMPANY_TYPE_DESC, OPERATION_PERIOD, 
+      REGISTER_DATE, REGISTER_ORGANIZATION, 
+      REGISTER_APTITUDES, CREDENTIAL_DESC, 
+      CONTACTS_NAME, INSERT_USERNAME, 
+      INSERT_TIME, UPDATE_USERNAME, 
+      UPDATE_TIME, INSERT_UPDATE_REMARK, 
+      DELETED, CARRIER_TRANSPORT_CERTIFICATE, 
+      CARRIER_BUSINESS_LICENSE, CARRIER_BUSINESS_ABLELICENSE
+      )
+    ( <foreach collection="list" item="item" separator="union all"> 
+   select  
+      #{item.carrierId,jdbcType=DECIMAL}, 
+      #{item.carrierTransportType,jdbcType=DECIMAL}, #{item.carrierName,jdbcType=VARCHAR}, 
+      #{item.carrierAbbreviation,jdbcType=VARCHAR}, #{item.carrierAddress,jdbcType=VARCHAR}, 
+      #{item.carrierBidArea,jdbcType=VARCHAR}, #{item.carrierBidTime,jdbcType=TIMESTAMP}, 
+      #{item.carrierLegalRepresentative,jdbcType=VARCHAR}, #{item.registerNo,jdbcType=VARCHAR}, 
+      #{item.carrierAgent,jdbcType=VARCHAR}, #{item.carrierContactNumber,jdbcType=VARCHAR}, 
+      #{item.carrierFax,jdbcType=VARCHAR}, #{item.carrierAccount,jdbcType=VARCHAR}, #{item.carrierAccountBlank,jdbcType=VARCHAR}, 
+      #{item.carrierDutyParagraph,jdbcType=VARCHAR}, #{item.carrierPostalCode,jdbcType=VARCHAR}, 
+      #{item.registerCapital,jdbcType=VARCHAR}, #{item.businessScope,jdbcType=VARCHAR}, 
+      #{item.annualDate,jdbcType=VARCHAR}, #{item.companyStatusDesc,jdbcType=VARCHAR}, 
+      #{item.companyTypeDesc,jdbcType=VARCHAR}, #{item.operationPeriod,jdbcType=VARCHAR}, 
+      #{item.registerDate,jdbcType=TIMESTAMP}, #{item.registerOrganization,jdbcType=VARCHAR}, 
+      #{item.registerAptitudes,jdbcType=VARCHAR}, #{item.credentialDesc,jdbcType=VARCHAR}, 
+      #{item.contactsName,jdbcType=VARCHAR}, #{item.insertUsername,jdbcType=VARCHAR}, 
+      #{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateUsername,jdbcType=VARCHAR}, 
+      #{item.updateTime,jdbcType=TIMESTAMP}, #{item.insertUpdateRemark,jdbcType=VARCHAR}, 
+      #{item.deleted,jdbcType=DECIMAL}, #{item.carrierTransportCertificate,jdbcType=BLOB}, 
+      #{item.carrierBusinessLicense,jdbcType=BLOB}, #{item.carrierBusinessAblelicense,jdbcType=BLOB}
+       from dual  
+   </foreach> )
+  </insert>
+  <update id="batchUpdate" parameterType="java.util.List">
+     update RMS_CARRIER
+     set
+       CARRIER_ID=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierId,jdbcType=DECIMAL}
+       </foreach>
+       ,CARRIER_TRANSPORT_TYPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierTransportType,jdbcType=DECIMAL}
+       </foreach>
+       ,CARRIER_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierName,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_ABBREVIATION=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierAbbreviation,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_ADDRESS=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierAddress,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_BID_AREA=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierBidArea,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_BID_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierBidTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,CARRIER_LEGAL_REPRESENTATIVE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierLegalRepresentative,jdbcType=VARCHAR}
+       </foreach>
+       ,REGISTER_NO=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.registerNo,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_AGENT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierAgent,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_CONTACT_NUMBER=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierContactNumber,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_FAX=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierFax,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_ACCOUNT=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierAccount,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_ACCOUNT_BLANK=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierAccountBlank,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_DUTY_PARAGRAPH=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierDutyParagraph,jdbcType=VARCHAR}
+       </foreach>
+       ,CARRIER_POSTAL_CODE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierPostalCode,jdbcType=VARCHAR}
+       </foreach>
+       ,REGISTER_CAPITAL=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.registerCapital,jdbcType=VARCHAR}
+       </foreach>
+       ,BUSINESS_SCOPE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.businessScope,jdbcType=VARCHAR}
+       </foreach>
+       ,ANNUAL_DATE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.annualDate,jdbcType=VARCHAR}
+       </foreach>
+       ,COMPANY_STATUS_DESC=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.companyStatusDesc,jdbcType=VARCHAR}
+       </foreach>
+       ,COMPANY_TYPE_DESC=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.companyTypeDesc,jdbcType=VARCHAR}
+       </foreach>
+       ,OPERATION_PERIOD=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.operationPeriod,jdbcType=VARCHAR}
+       </foreach>
+       ,REGISTER_DATE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.registerDate,jdbcType=TIMESTAMP}
+       </foreach>
+       ,REGISTER_ORGANIZATION=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.registerOrganization,jdbcType=VARCHAR}
+       </foreach>
+       ,REGISTER_APTITUDES=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.registerAptitudes,jdbcType=VARCHAR}
+       </foreach>
+       ,CREDENTIAL_DESC=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.credentialDesc,jdbcType=VARCHAR}
+       </foreach>
+       ,CONTACTS_NAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.contactsName,jdbcType=VARCHAR}
+       </foreach>
+       ,INSERT_USERNAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.insertUsername,jdbcType=VARCHAR}
+       </foreach>
+       ,INSERT_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.insertTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,UPDATE_USERNAME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.updateUsername,jdbcType=VARCHAR}
+       </foreach>
+       ,UPDATE_TIME=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.updateTime,jdbcType=TIMESTAMP}
+       </foreach>
+       ,INSERT_UPDATE_REMARK=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.insertUpdateRemark,jdbcType=VARCHAR}
+       </foreach>
+       ,DELETED=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.deleted,jdbcType=DECIMAL}
+       </foreach>
+       ,CARRIER_TRANSPORT_CERTIFICATE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierTransportCertificate,jdbcType=BLOB}
+       </foreach>
+       ,CARRIER_BUSINESS_LICENSE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierBusinessLicense,jdbcType=BLOB}
+       </foreach>
+       ,CARRIER_BUSINESS_ABLELICENSE=
+       <foreach collection="list" item="item" index="index" separator=" " open="case CARRIER_ID" close="end">
+          when #{item.carrierId,jdbcType=DECIMAL} then #{item.carrierBusinessAblelicense,jdbcType=BLOB}
+       </foreach>
+     where CARRIER_ID in 
+     <foreach collection="list" index="index" item="item" separator="," open="(" close=")">
+    #{item.carrierId,jdbcType=DECIMAL}
+     </foreach> 
+  </update>
+  <delete id="batchDelete" parameterType="java.util.List">
+    delete from RMS_CARRIER
+    where CARRIER_ID in 
+    <foreach collection="list" item="id" open="(" close=")" separator=",">
+      #{id}
+    </foreach>
+  </delete>
+  <!-- 友情提示!!!-->
+  <!-- 请将自己写的代码放在此标签之下,方便以后粘贴复制。-->
+  
+</mapper>