Просмотр исходного кода

Merge remote-tracking branch 'origin/master'

zyf 2 лет назад
Родитель
Сommit
839ced3e40

+ 12 - 0
src/main/java/com/steerinfo/dil/controller/AMScontroller.java

@@ -2120,4 +2120,16 @@ public class AMScontroller{
         }
         return amsFeign.getcargonameId(mapValue);
     }
+
+    @PostMapping("/reverseCloseOrder")
+    @ApiOperation("反关闭运单")
+    public Map<String,Object> reverseCloseOrder(@RequestBody(required = false) Map<String,Object> map){
+        return amsFeign.reverseCloseOrder(map);
+    }
+
+    @PostMapping("getSaleOrderStatus")
+    @ApiOperation("查询销售订单状态")
+    public Map<String,Object> getSaleOrderStatus(@RequestParam String saleNumber ) {
+        return amsFeign.getSaleOrderStatus(saleNumber);
+    }
 }

+ 34 - 0
src/main/java/com/steerinfo/dil/controller/RmsReceivingCompanyController.java

@@ -0,0 +1,34 @@
+package com.steerinfo.dil.controller;
+
+import com.steerinfo.dil.service.RmsReceivingCompanyService;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+
+import javax.annotation.Resource;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author xiaosh
+ */
+@RestController
+@RequestMapping("${api.version}/rmsReceivingCompany")
+public class RmsReceivingCompanyController {
+
+    @Resource(name = "rmsReceivingCompanyService1")
+    private RmsReceivingCompanyService rmsReceivingCompanyService;
+
+    @ApiOperation(value = "查询收款客户")
+    @PostMapping("/name")
+    public List<String> queryRmsReceivingCompanyName(){
+        return rmsReceivingCompanyService.queryRmsReceivingCompanyName();
+    }
+
+    @ApiOperation(value = "查询收款客户")
+    @PostMapping("/map")
+    public List<Map<String, Object>> queryRmsReceivingCompanyMap(){
+        return rmsReceivingCompanyService.queryRmsReceivingCompanyMap();
+    }
+    }

+ 20 - 0
src/main/java/com/steerinfo/dil/controller/TMSController.java

@@ -1972,6 +1972,26 @@ public class TMSController extends BaseRESTfulController {
         return tmsTruckFeign.getAllTimeTaskResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con,userId,startTime,endTime,orderType);
     }
 
+    @ApiOperation(value="查询倒库实绩")
+    @ApiImplicitParams({
+            @ApiImplicitParam(name = "mapValue", value = "表头和参数", required = false, dataType = "map"),
+            @ApiImplicitParam(name = "apiId(516)", value = "动态表头", required = false, dataType = "Integer"),
+            @ApiImplicitParam(name = "pageNum", value = "页码", required = false, dataType = "Integer"),
+            @ApiImplicitParam(name = "pageSize", value = "页", required = false, dataType = "Integer"),
+            @ApiImplicitParam(name = "status", value = "状态码", required = false, dataType = "Integer"),
+    })
+    @PostMapping("/getAllReverseResult")
+    public RESTfulResult getAllReverseResult(@RequestBody(required=false) Map<String,Object> mapValue,
+                                              Integer apiId,
+                                              Integer pageNum,
+                                              Integer pageSize,
+                                              String con,
+                                              String  userId,
+                                              String startTime,
+                                              String endTime){
+        return tmsTruckFeign.getAllReverseResult(mapValue==null?new HashMap<>():mapValue, apiId, pageNum, pageSize, con,userId,startTime,endTime);
+    }
+
     @ApiOperation(value="新增钢材到异地库达州站驻港人员确定收货")
     @PostMapping("/addSteelNzReceiptResult")
     public Map<String, Object> addSteelNzReceiptResult(@RequestBody(required = false) Map<String, Object> map) {

+ 12 - 0
src/main/java/com/steerinfo/dil/controller/WMSHController.java

@@ -196,4 +196,16 @@ public class WMSHController extends BaseRESTfulController {
     RESTfulResult addResult(@RequestBody Map<String, Object> map) {
         return wmshFeign.addResult(map);
     }
+
+    @PostMapping("findInboundDetail")
+    @ApiOperation(value = "查询点后批次入库操作详情")
+    RESTfulResult findInboundDetail(@RequestBody Map<String, Object> map) {
+        return wmshFeign.findInboundDetail(map);
+    }
+
+    @PostMapping("findOutboundDetail")
+    @ApiOperation(value = "查询点后批次出库操作详情")
+    RESTfulResult findOutboundDetail(@RequestBody Map<String, Object> map) {
+        return wmshFeign.findOutboundDetail(map);
+    }
 }

+ 7 - 0
src/main/java/com/steerinfo/dil/feign/AmsFeign.java

@@ -1802,4 +1802,11 @@ public interface AmsFeign {
 
     @PostMapping("/api/v1/ams/amscontracttruckprices/getcargonameId")
     Map<String, Object> getcargonameId(@RequestBody Map<String, Object> mapList);
+
+    @PostMapping("/api/v1/ams/amssaleorders/reverseCloseOrder")
+    Map<String, Object> reverseCloseOrder(@RequestBody(required = false) Map<String, Object> map);
+
+    @PostMapping("/api/v1/ams/amssaleorders/getSaleOrderStatus")
+    Map<String, Object> getSaleOrderStatus(@RequestParam String saleNumber);
+
 }

+ 10 - 0
src/main/java/com/steerinfo/dil/feign/TmsTruckFeign.java

@@ -353,6 +353,16 @@ public interface TmsTruckFeign {
                                               @RequestParam("endTime") String endTime,
                                               @RequestParam("orderType")Integer orderType);
 
+    @PostMapping("api/v1/truckTms/tmstrucktotalresults/getAllReverseResult")
+    RESTfulResult getAllReverseResult(@RequestBody(required=false) Map<String,Object> mapValue,
+                                              @RequestParam("apiId") Integer apiId,
+                                              @RequestParam("pageNum") Integer pageNum,
+                                              @RequestParam("pageSize") Integer pageSize,
+                                              @RequestParam("con") String con,
+                                              @RequestParam("userId") String userId,
+                                              @RequestParam("startTime") String startTime,
+                                              @RequestParam("endTime") String endTime);
+
     @PostMapping("api/v1/truckTms/tmstruckloadresults/addDaZhouToDaGangLoadResult")
     Map<String, Object> addDaZhouToDaGangLoadResult(@RequestBody(required = false)Map<String, Object> map);
 

+ 5 - 0
src/main/java/com/steerinfo/dil/feign/WMSHFeign.java

@@ -124,6 +124,11 @@ public interface WMSHFeign {
     @PostMapping(value = "/api/v1/wmsh/wmshoutboundresults/addResult")
     RESTfulResult addResult(@RequestBody(required = false) Map<String, Object> map);
 
+    @PostMapping(value = "/api/v1/wmsh/wmshinboundresults/findInboundDetail")
+    RESTfulResult findInboundDetail(@RequestBody(required = false) Map<String, Object> map);
+
+    @PostMapping(value = "/api/v1/wmsh/wmshoutboundresults/findOutboundDetail")
+    RESTfulResult findOutboundDetail(@RequestBody(required = false) Map<String, Object> map);
 
     @PostMapping(value = "/api/v1/wmsh/wmshgridmaterials/clearWmshGridMaterial")
     RESTfulResult clearWmshGridMaterial(@RequestBody(required = false) Map<String, Object> wmshInboundResult);

+ 21 - 0
src/main/java/com/steerinfo/dil/mapper/RmsReceivingCompanyMapper.java

@@ -0,0 +1,21 @@
+package com.steerinfo.dil.mapper;
+
+import com.steerinfo.dil.model.RmsReceivingCompany;
+import com.steerinfo.framework.mapper.IBaseMapper;
+import org.apache.ibatis.annotations.Mapper;
+
+
+import java.math.BigDecimal;
+import java.util.List;
+
+/**
+ * @author xiaosh
+ */
+@Mapper
+public interface RmsReceivingCompanyMapper extends IBaseMapper<RmsReceivingCompany, BigDecimal> {
+    /**
+     * 查询所有收款客户
+     * @return 收款客户列表
+     */
+    List<RmsReceivingCompany> selectAll();
+}

+ 128 - 0
src/main/java/com/steerinfo/dil/model/RmsReceivingCompany.java

@@ -0,0 +1,128 @@
+package com.steerinfo.dil.model;
+
+import com.steerinfo.framework.model.IBasePO;
+import io.swagger.annotations.ApiModelProperty;
+
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 收款客户 rms_receiving_company
+ * @author xiaosh
+ */
+public class RmsReceivingCompany implements IBasePO<BigDecimal> {
+    /**
+     * 收款客户ID
+     */
+    @ApiModelProperty(value = "收款客户ID")
+    private BigDecimal companyId;
+    /**
+     * 收款客户编码
+     */
+    @ApiModelProperty(value = "收款客户编码")
+    private String companyCode;
+    /**
+     * 收款客户名称
+     */
+    @ApiModelProperty(value = "收款客户名称")
+    private String companyName;
+    /**
+     * 记录创建人
+     */
+    @ApiModelProperty(value = "记录创建人")
+    private String insertUsername;
+    /**
+     * 记录创建时间
+     */
+    @ApiModelProperty(value = "记录创建时间")
+    private Date insertTime;
+    /**
+     * 记录修改人
+     */
+    @ApiModelProperty(value = "记录修改人")
+    private String updateUsername;
+    /**
+     * 记录修改时间
+     */
+    @ApiModelProperty(value = "记录修改时间")
+    private Date updateTime;
+    /**
+     * 记录创建或修改备注
+     */
+    @ApiModelProperty(value = "记录创建或修改备注")
+    private String insertUpdateRemark;
+
+    @Override
+    public BigDecimal getId() {
+        return this.companyId;
+    }
+
+    @Override
+    public void setId(BigDecimal companyId) {
+        this.companyId = companyId;
+    }
+
+    public BigDecimal getCompanyId() {
+        return companyId;
+    }
+
+    public void setCompanyId(BigDecimal companyId) {
+        this.companyId = companyId;
+    }
+
+    public String getCompanyCode() {
+        return companyCode;
+    }
+
+    public void setCompanyCode(String companyCode) {
+        this.companyCode = companyCode;
+    }
+
+    public String getCompanyName() {
+        return companyName;
+    }
+
+    public void setCompanyName(String companyName) {
+        this.companyName = companyName;
+    }
+
+    public String getInsertUsername() {
+        return insertUsername;
+    }
+
+    public void setInsertUsername(String insertUsername) {
+        this.insertUsername = insertUsername;
+    }
+
+    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;
+    }
+
+    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;
+    }
+}

+ 21 - 0
src/main/java/com/steerinfo/dil/service/RmsReceivingCompanyService.java

@@ -0,0 +1,21 @@
+package com.steerinfo.dil.service;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author xiaosh
+ */
+public interface RmsReceivingCompanyService {
+    /**
+     * 查询收款客户
+     * @return 名称列表
+     */
+    List<String> queryRmsReceivingCompanyName();
+
+    /**
+     * 查询收款客户
+     * @return 编号名称列表
+     */
+    List<Map<String, Object>> queryRmsReceivingCompanyMap();
+}

+ 49 - 0
src/main/java/com/steerinfo/dil/service/impl/RmsReceivingCompanyServiceImpl.java

@@ -0,0 +1,49 @@
+package com.steerinfo.dil.service.impl;
+
+import com.steerinfo.dil.mapper.RmsReceivingCompanyMapper;
+import com.steerinfo.dil.model.RmsReceivingCompany;
+import com.steerinfo.dil.service.RmsReceivingCompanyService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author xiaosh
+ */
+@Service(value = "rmsReceivingCompanyService1")
+public class RmsReceivingCompanyServiceImpl implements RmsReceivingCompanyService {
+
+    @Autowired
+    private RmsReceivingCompanyMapper rmsReceivingCompanyMapper;
+
+    @Override
+    public List<String> queryRmsReceivingCompanyName() {
+        List<String> receivingCompany = new ArrayList<>();
+        List<RmsReceivingCompany> list = rmsReceivingCompanyMapper.selectAll();
+        if(null != list && !list.isEmpty()){
+            for (RmsReceivingCompany rmsReceivingCompany : list) {
+                receivingCompany.add(rmsReceivingCompany.getCompanyName());
+            }
+        }
+        return receivingCompany;
+    }
+
+    @Override
+    public List<Map<String, Object>> queryRmsReceivingCompanyMap() {
+        List<Map<String, Object>> receivingCompany = new ArrayList<>();
+        List<RmsReceivingCompany> list = rmsReceivingCompanyMapper.selectAll();
+        if(null != list && !list.isEmpty()){
+            for (RmsReceivingCompany rmsReceivingCompany : list) {
+                Map<String, Object> map = new HashMap<>(4);
+                map.put("values1", rmsReceivingCompany.getCompanyCode());
+                map.put("label1", rmsReceivingCompany.getCompanyName());
+                receivingCompany.add(map);
+            }
+        }
+        return receivingCompany;
+    }
+}

+ 1 - 1
src/main/resources/application-prod.yml

@@ -9,7 +9,7 @@ spring:
 
 openfeign:
   ColumnDataFeign:
-    url: ${COLUMNDATAFEIGN_URL:172.16.33.166:8083}
+    url: ${COLUMNDATAFEIGN_URL:172.16.33.161:8083}
   AmsFeign:
     url: ${AMSFEIGN_URL:172.16.33.166:8079}
   BmsshipFeign:

+ 235 - 0
src/main/resources/com/steerinfo/dil/mapper/RmsReceivingCompanyMapper.xml

@@ -0,0 +1,235 @@
+<?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.RmsReceivingCompanyMapper">
+    <resultMap id="BaseResultMap" type="com.steerinfo.dil.model.RmsReceivingCompany">
+        <id column="COMPANY_ID" javaType="DECIMAL" property="companyId"/>
+        <result column="COMPANY_CODE" jdbcType="VARCHAR" property="companyCode" />
+        <result column="COMPANY_NAME" jdbcType="VARCHAR" property="companyName" />
+        <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" />
+    </resultMap>
+    <sql id="columns">
+        t.COMPANY_ID, t.COMPANY_CODE, t.COMPANY_NAME, t.INSERT_USERNAME, t.INSERT_TIME, t.UPDATE_USERNAME,
+            t.UPDATE_TIME, t.INSERT_UPDATE_REMARK
+    </sql>
+    <sql id="select">
+        SELECT <include refid="columns" /> FROM rms_receiving_company t
+    </sql>
+    <sql id="where">
+        <where>
+            <if test="companyId != null">
+                and t.COMPANY_ID = #{companyId}
+            </if>
+            <if test="companyCode != null and companyCode != ''">
+                and t.COMPANY_CODE = #{companyCode}
+            </if>
+            <if test="companyName != null and companyName != ''">
+                and t.COMPANY_NAME = #{companyName}
+            </if>
+            <if test="insertUsername != null and insertUsername != ''">
+                and t.INSERT_USERNAME = #{insertUsername}
+            </if>
+            <if test="insertTime != null">
+                and t.INSERT_TIME = #{insertTime}
+            </if>
+            <if test="updateUsername != null and updateUsername != ''">
+                and t.UPDATE_USERNAME = #{updateUsername}
+            </if>
+            <if test="updateTime != null">
+                and t.UPDATE_TIME = #{updateTime}
+            </if>
+            <if test="insertUpdateRemark != null and insertUpdateRemark != ''">
+                and t.INSERT_UPDATE_REMARK = #{insertUpdateRemark}
+            </if>
+        </where>
+    </sql>
+    <delete id="deleteByPrimaryKey" parameterType="java.math.BigDecimal">
+        delete from rms_receiving_company
+        where COMPANY_ID = #{companyId, jdbcType=DECIMAL}
+    </delete>
+    <delete id="deleteBySelectiveElement" parameterType="java.util.HashMap">
+        delete from rms_receiving_company
+        where 1 != 1
+        <if test="companyId != null and companyId != ''">
+            or COMPANY_ID = #{companyId}
+        </if>
+        <if test="companyCode != null and companyCode != ''">
+            or COMPANY_CODE = #{companyCode}
+        </if>
+        <if test="companyName != null and companyName != ''">
+            or COMPANY_NAME = #{companyName}
+        </if>
+    </delete>
+    <insert id="insert" parameterType="com.steerinfo.dil.model.RmsReceivingCompany">
+        insert into rms_receiving_company
+            (
+                COMPANY_ID,
+                COMPANY_CODE,
+                COMPANY_NAME,
+                INSERT_USERNAME,
+                INSERT_TIME,
+                UPDATE_USERNAME,
+                UPDATE_TIME,
+                INSERT_UPDATE_REMARK
+             )
+        values
+            (
+                #{companyId, jdbcType=DECIMAL},
+                #{companyCode, jdbcType=VARCHAR},
+                #{companyName, jdbcType=VARCHAR},
+                #{insertUsername, jdbcType=VARCHAR},
+                #{insertTime, jdbcType=TIMESTAMP},
+                #{updateUsername, jdbcType=VARCHAR},
+                #{updateTime, jdbcType=TIMESTAMP},
+                #{insertUpdateRemark, jdbcType=VARCHAR}
+             )
+    </insert>
+    <insert id="insertSelective" parameterType="com.steerinfo.dil.model.RmsReceivingCompany">
+        insert into rms_receiving_company
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="companyId != null">
+                COMPANY_ID,
+            </if>
+            <if test="companyCode != null">
+                COMPANY_CODE,
+            </if>
+            <if test="companyName != null">
+                COMPANY_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>
+        </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="companyId != null">
+                #{companyId, jdbcType=DECIMAL},
+            </if>
+            <if test="companyCode != null">
+                #{companyCode, jdbcType=VARCHAR},
+            </if>
+            <if test="companyName != null">
+                #{companyName, 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>
+        </trim>
+    </insert>
+    <update id="updateByPrimaryKey" parameterType="com.steerinfo.dil.model.RmsReceivingCompany">
+        update rms_receiving_company set
+            COMPANY_CODE = #{companyCode, jdbcType=VARCHAR},
+            COMPANY_NAME = #{companyName, 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}
+        where
+            COMPANY_ID = #{companyId, jdbcType=DECIMAL}
+    </update>
+    <update id="updateByPrimaryKeySelective" parameterType="com.steerinfo.dil.model.RmsReceivingCompany">
+        update rms_receiving_company
+        <set>
+            <if test="companyCode != null">
+                COMPANY_CODE = #{companyCode, jdbcType=VARCHAR},
+            </if>
+            <if test="companyName != null">
+                COMPANY_NAME = #{companyName, 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>
+        </set>
+        where COMPANY_ID = #{companyId, jdbcType=DECIMAL}
+    </update>
+    <select id="selectByPrimaryKey" parameterType="java.math.BigDecimal" resultMap="BaseResultMap">
+        <include refid="select" />
+        where COMPANY_ID = #{companyId, 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="where" />
+    </select>
+    <insert id="batchInsert" parameterType="java.util.List">
+        insert into rms_receiving_company
+        (
+            COMPANY_ID,
+            COMPANY_CODE,
+            COMPANY_NAME,
+            INSERT_USERNAME,
+            INSERT_TIME,
+            UPDATE_USERNAME,
+            UPDATE_TIME,
+            INSERT_UPDATE_REMARK
+        )
+        ( <foreach collection="list" item="item" separator="union all">
+        select
+            #{companyId, jdbcType=DECIMAL},
+            #{companyCode, jdbcType=VARCHAR},
+            #{companyName, jdbcType=VARCHAR},
+            #{insertUsername, jdbcType=VARCHAR},
+            #{insertTime, jdbcType=TIMESTAMP},
+            #{updateUsername, jdbcType=VARCHAR},
+            #{updateTime, jdbcType=TIMESTAMP},
+            #{insertUpdateRemark, jdbcType=VARCHAR}
+        from dual
+    </foreach> )
+    </insert>
+    <update id="batchUpdate" parameterType="java.util.List">
+
+    </update>
+    <delete id="batchDelete" parameterType="java.util.List">
+        delete from rms_receiving_company
+        where COMPANY_ID in
+        <foreach close=")" collection="list" item="id" open="(" separator=",">
+            #{id}
+        </foreach>
+    </delete>
+
+    <select id="selectAll" resultMap="BaseResultMap">
+        <include refid="select" />
+    </select>
+</mapper>