12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?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.emato.cus.supervise.mapperCus.CusAcqShelfLoadMapper04">
- <resultMap id="cusAcqInventoryInfo" type="com.emato.cus.supervise.domainCus.CusAcqShelfLoad04">
- <id property="id" column="id"/>
- <result property="goodsName" column="goods_name"/>
- <result property="codeTs" column="code_ts"/>
- <result property="formNoDec" column="form_no_dec"/>
- <result property="formNo" column="form_no"/>
- <result property="skuNo" column="sku_no"/>
- <result property="goodsId" column="goods_id"/>
- <result property="gUnit" column="g_unit"/>
- <result property="gQty" column="g_qyt"/>
- <result property="legalUnit" column="legal_unit"/>
- <result property="legalQty" column="legal_qyt"/>
- <result property="goodsModel" column="goods_model"/>
- <result property="localEmsNo" column="local_ems_no"/>
- <result property="seatNo" column="seat_no"/>
- <result property="shelfLoadTime" column="shelf_load_time"/>
- <result property="shelfLoadType" column="shelf_load_type"/>
- <result property="storeCompanyName" column="store_company_name"/>
- <result property="storeUscCode" column="store_usc_code"/>
- <result property="storeCustomsCode" column="store_customs_code"/>
- <result property="storeCode" column="store_code"/>
- <result property="createrSn" column="creater_sn"/>
- <result property="createTime" column="create_time"/>
- <result property="moderSn" column="moder_sn"/>
- <result property="modTime" column="mod_time"/>
- </resultMap>
- <!-- 货物上下架数据 -->
- <insert id="addCusAcqShelfLoad04" parameterType="List">
- INSERT INTO acq_shelf_load (goods_name, code_ts,
- form_no_dec, form_no,
- sku_no, goods_id,
- g_unit, g_qyt, legal_unit, legal_qyt,
- goods_model, local_ems_no,
- seat_no, shelf_load_time, shelf_load_type,
- store_company_name,store_usc_code, store_customs_code, store_code,
- creater_sn, create_time, moder_sn, mod_time) VALUES
- <foreach collection="list" item="item" index="idx" separator="," close=";">
- (
- #{item.goodsName, jdbcType=VARCHAR}, #{item.codeTs, jdbcType=VARCHAR},
- #{item.formNoDec, jdbcType=VARCHAR}, #{item.formNo, jdbcType=VARCHAR},
- #{item.skuNo, jdbcType=VARCHAR}, #{item.goodsId, jdbcType=VARCHAR},
- #{item.gUnit, jdbcType=VARCHAR}, #{item.gQty, jdbcType=NUMERIC}, #{item.legalUnit, jdbcType=VARCHAR}, #{item.legalQty, jdbcType=NUMERIC},
- #{item.goodsModel, jdbcType=VARCHAR}, #{item.localEmsNo, jdbcType=VARCHAR},
- #{item.seatNo, jdbcType=VARCHAR}, #{item.shelfLoadTime, jdbcType=DATE}, #{item.shelfLoadType, jdbcType=VARCHAR},
- #{item.storeCompanyName, jdbcType=VARCHAR}, #{item.storeUscCode, jdbcType=VARCHAR}, #{item.storeCustomsCode, jdbcType=VARCHAR}, #{item.storeCode, jdbcType=VARCHAR},
- #{item.createrSn, jdbcType=VARCHAR}, #{item.createTime, jdbcType=DATE}, #{item.moderSn, jdbcType=VARCHAR}, #{item.modTime, jdbcType=DATE}
- )
- </foreach>
- </insert>
- </mapper>
|