cus-acq-shelf-load.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.emato.cus.supervise.mapperCus.CusAcqShelfLoadMapper04">
  4. <resultMap id="cusAcqInventoryInfo" type="com.emato.cus.supervise.domainCus.CusAcqShelfLoad04">
  5. <id property="id" column="id"/>
  6. <result property="goodsName" column="goods_name"/>
  7. <result property="codeTs" column="code_ts"/>
  8. <result property="formNoDec" column="form_no_dec"/>
  9. <result property="formNo" column="form_no"/>
  10. <result property="skuNo" column="sku_no"/>
  11. <result property="goodsId" column="goods_id"/>
  12. <result property="gUnit" column="g_unit"/>
  13. <result property="gQty" column="g_qyt"/>
  14. <result property="legalUnit" column="legal_unit"/>
  15. <result property="legalQty" column="legal_qyt"/>
  16. <result property="goodsModel" column="goods_model"/>
  17. <result property="localEmsNo" column="local_ems_no"/>
  18. <result property="seatNo" column="seat_no"/>
  19. <result property="shelfLoadTime" column="shelf_load_time"/>
  20. <result property="shelfLoadType" column="shelf_load_type"/>
  21. <result property="storeCompanyName" column="store_company_name"/>
  22. <result property="storeUscCode" column="store_usc_code"/>
  23. <result property="storeCustomsCode" column="store_customs_code"/>
  24. <result property="storeCode" column="store_code"/>
  25. <result property="createrSn" column="creater_sn"/>
  26. <result property="createTime" column="create_time"/>
  27. <result property="moderSn" column="moder_sn"/>
  28. <result property="modTime" column="mod_time"/>
  29. </resultMap>
  30. <!-- 货物上下架数据 -->
  31. <insert id="addCusAcqShelfLoad04" parameterType="List">
  32. INSERT INTO acq_shelf_load (goods_name, code_ts,
  33. form_no_dec, form_no,
  34. sku_no, goods_id,
  35. g_unit, g_qyt, legal_unit, legal_qyt,
  36. goods_model, local_ems_no,
  37. seat_no, shelf_load_time, shelf_load_type,
  38. store_company_name,store_usc_code, store_customs_code, store_code,
  39. creater_sn, create_time, moder_sn, mod_time) VALUES
  40. <foreach collection="list" item="item" index="idx" separator="," close=";">
  41. (
  42. #{item.goodsName, jdbcType=VARCHAR}, #{item.codeTs, jdbcType=VARCHAR},
  43. #{item.formNoDec, jdbcType=VARCHAR}, #{item.formNo, jdbcType=VARCHAR},
  44. #{item.skuNo, jdbcType=VARCHAR}, #{item.goodsId, jdbcType=VARCHAR},
  45. #{item.gUnit, jdbcType=VARCHAR}, #{item.gQty, jdbcType=NUMERIC}, #{item.legalUnit, jdbcType=VARCHAR}, #{item.legalQty, jdbcType=NUMERIC},
  46. #{item.goodsModel, jdbcType=VARCHAR}, #{item.localEmsNo, jdbcType=VARCHAR},
  47. #{item.seatNo, jdbcType=VARCHAR}, #{item.shelfLoadTime, jdbcType=DATE}, #{item.shelfLoadType, jdbcType=VARCHAR},
  48. #{item.storeCompanyName, jdbcType=VARCHAR}, #{item.storeUscCode, jdbcType=VARCHAR}, #{item.storeCustomsCode, jdbcType=VARCHAR}, #{item.storeCode, jdbcType=VARCHAR},
  49. #{item.createrSn, jdbcType=VARCHAR}, #{item.createTime, jdbcType=DATE}, #{item.moderSn, jdbcType=VARCHAR}, #{item.modTime, jdbcType=DATE}
  50. )
  51. </foreach>
  52. </insert>
  53. </mapper>