|
|
|
@ -1,28 +1,6 @@
|
|
|
|
|
<?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.glxp.api.dao.collect.RelCodeBatchMapper">
|
|
|
|
|
<resultMap id="BaseResultMap" type="com.glxp.api.entity.collect.RelCodeBatch">
|
|
|
|
|
<!--@mbg.generated-->
|
|
|
|
|
<!--@Table udi_wms_ywj.rel_code_batch-->
|
|
|
|
|
<id column="id" jdbcType="INTEGER" property="id" />
|
|
|
|
|
<result column="productCode" jdbcType="VARCHAR" property="productCode" />
|
|
|
|
|
<result column="subTypeNo" jdbcType="VARCHAR" property="subTypeNo" />
|
|
|
|
|
<result column="cascadeRatio" jdbcType="VARCHAR" property="cascadeRatio" />
|
|
|
|
|
<result column="packageSpec" jdbcType="VARCHAR" property="packageSpec" />
|
|
|
|
|
<result column="comment" jdbcType="VARCHAR" property="comment" />
|
|
|
|
|
<result column="batchNo" jdbcType="VARCHAR" property="batchNo" />
|
|
|
|
|
<result column="madeDate" jdbcType="TIMESTAMP" property="madeDate" />
|
|
|
|
|
<result column="validateDate" jdbcType="TIMESTAMP" property="validateDate" />
|
|
|
|
|
<result column="workShop" jdbcType="VARCHAR" property="workShop" />
|
|
|
|
|
<result column="lineName" jdbcType="VARCHAR" property="lineName" />
|
|
|
|
|
<result column="lineManager" jdbcType="VARCHAR" property="lineManager" />
|
|
|
|
|
<result column="erpId" jdbcType="VARCHAR" property="erpId" />
|
|
|
|
|
</resultMap>
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
|
<!--@mbg.generated-->
|
|
|
|
|
id, productCode, subTypeNo, `cascadeRatio`, packageSpec, `comment`, batchNo, madeDate,
|
|
|
|
|
validateDate, workShop, lineName, lineManager, erpId
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="filterList" parameterType="com.glxp.api.req.collect.RelCodeBatchRequest" resultType="com.glxp.api.res.collect.RelCodeBatchResponse">
|
|
|
|
|
select
|
|
|
|
@ -85,5 +63,7 @@
|
|
|
|
|
<![CDATA[ and a.validateDate <= DATE_FORMAT(#{endDate}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
group by a.id
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|