Blame view

src/main/resources/mybatis/inventory/AdjustDetailMapper.xml 4.25 KB
mahuandong authored
1
2
<?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">
xqs authored
3
4
<mapper namespace="com.huaheng.pc.inventory.adjustDetail.mapper.AdjustDetailMapper">
  <resultMap id="BaseResultMap" type="com.huaheng.pc.inventory.adjustDetail.domain.AdjustDetail">
mahuandong authored
5
6
7
8
    <!--@mbg.generated-->
    <id column="id" jdbcType="INTEGER" property="id" />
    <result column="adjustCode" jdbcType="VARCHAR" property="adjustCode" />
    <result column="cycleCountCode" jdbcType="VARCHAR" property="cycleCountCode" />
xqs authored
9
    <result column="inventoryDetailId" jdbcType="INTEGER" property="inventoryDetailId" />
xqs authored
10
    <result column="cycleDetailId" jdbcType="INTEGER" property="cycleDetailId" />
mahuandong authored
11
    <result column="checkCode" jdbcType="VARCHAR" property="checkCode" />
xqs authored
12
    <result column="checkDetailId" jdbcType="VARCHAR" property="checkDetailId" />
mahuandong authored
13
    <result column="referCode" jdbcType="VARCHAR" property="referCode" />
xqs authored
14
    <result column="referDetailId" jdbcType="INTEGER" property="referDetailId" />
mahuandong authored
15
16
    <result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
    <result column="companyCode" jdbcType="VARCHAR" property="companyCode" />
xqs authored
17
18
    <result column="containerCode" jdbcType="VARCHAR" property="containerCode" />
    <result column="locationCode" jdbcType="VARCHAR" property="locationCode" />
mahuandong authored
19
20
21
22
23
24
25
26
27
28
29
30
    <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" />
xqs authored
31
    <result column="supplierCode" jdbcType="VARCHAR" property="supplierCode" />
xqs authored
32
    <result column="createdBy" jdbcType="VARCHAR" property="createdBy" />
mahuandong authored
33
    <result column="created" jdbcType="TIMESTAMP" property="created" />
xqs authored
34
35
    <result column="lastUpdatedBy" jdbcType="VARCHAR" property="lastUpdatedBy" />
    <result column="lastUpdated" jdbcType="TIMESTAMP" property="lastUpdated" />
xqs authored
36
    <result column="agreeBy" jdbcType="VARCHAR" property="agreeBy" />
mahuandong authored
37
38
39
40
41
42
43
    <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" />
xqs authored
44
45
46
47
48
49
50
51
52
53
54
55
56
57
      <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" />
mahuandong authored
58
59
60
  </resultMap>
  <sql id="Base_Column_List">
    <!--@mbg.generated-->
xqs authored
61
    id, adjustCode, cycleCountCode, inventoryDetailId, cycleDetailId, checkCode, checkDetailId, referCode,
xqs authored
62
    referDetailId, warehouseCode, companyCode, containerCode, locationCode ,materialCode, materialName,
mahuandong authored
63
    materialSpec, materialUnit, problemType, attributeId, fromInventorySts, toInventorySts, 
xqs authored
64
65
    fromQty, toQty, gapQty, `status`,supplierCode, created, createdBy,lastUpdatedBy,lastUpdated, agreeTime, Remark,
    version, userDef1, userDef2, userDef3, processStamp, batch, lot,projectNo,weight,manufactureDate,expirationDate
mahuandong authored
66
67
  </sql>
</mapper>