ReceiptContainerDetailMapper.xml 6.42 KB
<?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.huaheng.pc.receipt.receiptContainerDetail.mapper.ReceiptContainerDetailMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.receipt.receiptContainerDetail.domain.ReceiptContainerDetail">
    <!--@mbg.generated-->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="receiptContainerId" jdbcType="INTEGER" property="receiptContainerId" />
    <result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
    <result column="receiptId" jdbcType="INTEGER" property="receiptId" />
    <result column="receiptDetailId" jdbcType="INTEGER" property="receiptDetailId" />
    <result column="locationCode" jdbcType="VARCHAR" property="locationCode" />
    <result column="receiptCode" jdbcType="VARCHAR" property="receiptCode" />
    <result column="receiptType" jdbcType="VARCHAR" property="receiptType" />
    <result column="containerCode" jdbcType="VARCHAR" property="containerCode" />
    <result column="containerType" jdbcType="VARCHAR" property="containerType" />
    <result column="companyCode" jdbcType="VARCHAR" property="companyCode" />
    <result column="materialCode" jdbcType="VARCHAR" property="materialCode" />
    <result column="materialName" jdbcType="VARCHAR" property="materialName" />
    <result column="materialSpec" jdbcType="VARCHAR" property="materialSpec" />
    <result column="materialUnit" jdbcType="VARCHAR" property="materialUnit" />
    <result column="qty" jdbcType="INTEGER" property="qty" />
    <result column="sn" jdbcType="VARCHAR" property="sn" />
    <result column="status" jdbcType="INTEGER" property="status" />
    <result column="attributeId" jdbcType="INTEGER" property="attributeId" />
    <result column="attribute1" jdbcType="VARCHAR" property="attribute1" />
    <result column="attribute2" jdbcType="VARCHAR" property="attribute2" />
    <result column="attribute3" jdbcType="VARCHAR" property="attribute3" />
    <result column="attribute4" jdbcType="VARCHAR" property="attribute4" />
    <result column="supplierCode" jdbcType="VARCHAR" property="supplierCode" />
    <result column="batch" jdbcType="VARCHAR" property="batch" />
    <result column="lot" jdbcType="VARCHAR" property="lot" />
    <result column="projectNo" jdbcType="VARCHAR" property="projectNo" />
    <result column="weight" jdbcType="VARCHAR" property="weight" />
    <result column="weights" jdbcType="DECIMAL" property="weights" />
    <result column="manufactureDate" jdbcType="DATE" property="manufactureDate" />
    <result column="expirationDate" jdbcType="DATE" property="expirationDate" />
    <result column="agingDate" jdbcType="DATE" property="agingDate" />
    <result column="inventorySts" jdbcType="VARCHAR" property="inventorySts" />
    <result column="taskCreated" jdbcType="INTEGER" property="taskCreated" />
    <result column="convertedQty" jdbcType="INTEGER" property="convertedQty" />
    <result column="convertedQtyUnit" jdbcType="VARCHAR" property="convertedQtyUnit" />
    <result column="created" jdbcType="TIMESTAMP" property="created" />
    <result column="createdBy" jdbcType="VARCHAR" property="createdBy" />
    <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated" />
    <result column="lastUpdatedBy" jdbcType="VARCHAR" property="lastUpdatedBy" />
    <result column="version" jdbcType="INTEGER" property="version" />
    <result column="userDef1" jdbcType="VARCHAR" property="userDef1" />
    <result column="userDef2" jdbcType="VARCHAR" property="userDef2" />
    <result column="userDef3" jdbcType="VARCHAR" property="userDef3" />
    <result column="userDef4" jdbcType="VARCHAR" property="userDef4" />
    <result column="userDef5" jdbcType="VARCHAR" property="userDef5" />
    <result column="userDef6" jdbcType="VARCHAR" property="userDef6" />
    <result column="userDef7" jdbcType="VARCHAR" property="userDef7" />
    <result column="userDef8" jdbcType="VARCHAR" property="userDef8" />
    <result column="processStamp" jdbcType="VARCHAR" property="processStamp" />
    <result column="push" jdbcType="INTEGER" property="push" />
    <result column="barcodeDetailsCode" jdbcType="VARCHAR" property="barcodeDetailsCode" />
    <result column="electricQuantity" jdbcType="DECIMAL" property="electricQuantity" />
    <result column="materialNetWeight" jdbcType="DECIMAL" property="materialNetWeight" />
    <result column="materialTareWeight" jdbcType="DECIMAL" property="materialTareWeight" />
    <result column="materialGrossWeight" jdbcType="DECIMAL" property="materialGrossWeight" />
    <result column="batteryQty" jdbcType="DECIMAL" property="batteryQty" />
    <result column="batteryPackType" jdbcType="VARCHAR" property="batteryPackType" />
    <result column="batteryTypes" jdbcType="VARCHAR" property="batteryTypes" />
    <result column="completeness" jdbcType="VARCHAR" property="completeness" />
    <result column="batteryPackTwoCode" jdbcType="VARCHAR" property="batteryPackTwoCode" />
    <result column="materialIsBattery" jdbcType="INTEGER" property="materialIsBattery" />
    <result column="recycler" jdbcType="VARCHAR" property="recycler" />
    <result column="storageType" jdbcType="VARCHAR" property="storageType" />
    <result column="type" jdbcType="VARCHAR" property="type" />
    <result column="batteryPath" jdbcType="VARCHAR" property="batteryPath" />
    <result column="poundCode" jdbcType="VARCHAR" property="poundCode" />
    <result column="inType" jdbcType="VARCHAR" property="inType" />

  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    id, receiptContainerId, warehouseCode, receiptId, receiptDetailId,locationCode , receiptCode, receiptType,
    containerCode, containerType, companyCode, materialCode, materialName, materialSpec, barcodeDetailsCode,
    materialUnit, qty, `status`, attributeId, attribute1, attribute2, attribute3, attribute4,sn,electricQuantity,
    supplierCode, batch, lot, projectNo, weight, manufactureDate, expirationDate, agingDate,push,
    inventorySts, taskCreated, convertedQty, convertedQtyUnit, created, createdBy, lastUpdated, 
    lastUpdatedBy, version, userDef1, userDef2, userDef3, userDef4, userDef5, userDef6, 
    userDef7, userDef8, processStamp,materialNetWeight,materialTareWeight,materialGrossWeight
    ,batteryQty,batteryPackType,batteryTypes,completeness,batteryPackTwoCode,materialIsBattery,recycler,
    storageType,`type`,batteryPath,inType
  </sql>
</mapper>