AdjustDetailMapper.xml 4.28 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.inventory.adjustDetail.mapper.AdjustDetailMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.inventory.adjustDetail.domain.AdjustDetail">
    <!--@mbg.generated-->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="adjustCode" jdbcType="VARCHAR" property="adjustCode" />
    <result column="cycleCountHeaderCode" jdbcType="VARCHAR" property="cycleCountHeaderCode" />
    <result column="inventoryDetailId" jdbcType="INTEGER" property="inventoryDetailId" />
    <result column="cycleCountDetailId" jdbcType="INTEGER" property="cycleCountDetailId" />
    <result column="checkCode" jdbcType="VARCHAR" property="checkCode" />
    <result column="checkDetailId" jdbcType="VARCHAR" property="checkDetailId" />
    <result column="referCode" jdbcType="VARCHAR" property="referCode" />
    <result column="referDetailId" jdbcType="INTEGER" property="referDetailId" />
    <result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
    <result column="companyCode" jdbcType="VARCHAR" property="companyCode" />
    <result column="containerCode" jdbcType="VARCHAR" property="containerCode" />
    <result column="locationCode" jdbcType="VARCHAR" property="locationCode" />
    <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="problemType" jdbcType="VARCHAR" property="problemType" />
    <result column="attributeId" jdbcType="INTEGER" property="attributeId" />
    <result column="fromInventorySts" jdbcType="VARCHAR" property="fromInventorySts" />
    <result column="toInventorySts" jdbcType="VARCHAR" property="toInventorySts" />
    <result column="fromQty" jdbcType="INTEGER" property="fromQty" />
    <result column="toQty" jdbcType="INTEGER" property="toQty" />
    <result column="gapQty" jdbcType="INTEGER" property="gapQty" />
    <result column="status" jdbcType="INTEGER" property="status" />
    <result column="supplierCode" jdbcType="VARCHAR" property="supplierCode" />
    <result column="createdBy" jdbcType="VARCHAR" property="createdBy" />
    <result column="created" jdbcType="TIMESTAMP" property="created" />
    <result column="lastUpdatedBy" jdbcType="VARCHAR" property="lastUpdatedBy" />
    <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated" />
    <result column="agreeBy" jdbcType="VARCHAR" property="agreeBy" />
    <result column="agreeTime" jdbcType="TIMESTAMP" property="agreeTime" />
    <result column="Remark" jdbcType="VARCHAR" property="remark" />
    <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="processStamp" jdbcType="VARCHAR" property="processStamp" />
      <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="manufactureDate" jdbcType="TIMESTAMP" property="manufactureDate" />
      <result column="expirationDate" jdbcType="TIMESTAMP" property="expirationDate" />

  </resultMap>

  <sql id="Base_Column_List">
    <!--@mbg.generated-->
    id, adjustCode, cycleCountHeadCode, inventoryDetailId, cycleCountDetailId, checkCode, checkDetailId, referCode,
    referDetailId, warehouseCode, companyCode, containerCode, locationCode ,materialCode, materialName,
    materialSpec, materialUnit, problemType, attributeId, fromInventorySts, toInventorySts, fromQty, toQty, gapQty,
    `status`,supplierCode, created, createdBy,lastUpdatedBy,lastUpdated, agreeTime, Remark,version,
    userDef1, userDef2, userDef3, processStamp, batch, lot,projectNo,weight,manufactureDate,expirationDate
  </sql>



</mapper>