CycleCountHeaderMapper.xml
3.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?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.cycleCountHeader.mapper.CycleCountHeaderMapper">
<resultMap id="BaseResultMap" type="com.huaheng.pc.inventory.cycleCountHeader.domain.CycleCountHeader">
<!--@mbg.generated-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="countOrderId" jdbcType="INTEGER" property="countOrderId" />
<result column="round" jdbcType="INTEGER" property="round" />
<result column="masterCode" jdbcType="VARCHAR" property="code" />
<result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
<result column="companyCode" jdbcType="VARCHAR" property="companyCode" />
<result column="countType" jdbcType="VARCHAR" property="countType" />
<result column="statusCyc" jdbcType="INTEGER" property="statusCyc" />
<result column="countAttribute" jdbcType="INTEGER" property="countAttribute" />
<result column="remark" jdbcType="VARCHAR" property="remark" />
<result column="totalLocs" jdbcType="INTEGER" property="totalLocs" />
<result column="totalItems" jdbcType="INTEGER" property="totalItems" />
<result column="zoneCode" jdbcType="VARCHAR" property="zoneCode" />
<result column="locationFilter" jdbcType="VARCHAR" property="locationFilter" />
<result column="releasedBy" jdbcType="VARCHAR" property="releasedBy" />
<result column="releasedAt" jdbcType="TIMESTAMP" property="releasedAt" />
<result column="closedBy" jdbcType="VARCHAR" property="closedBy" />
<result column="closedAt" jdbcType="TIMESTAMP" property="closedAt" />
<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="verifyBy" jdbcType="VARCHAR" property="verifyBy" />
<result column="sourceCode" jdbcType="VARCHAR" property="sourceCode" />
<result column="uploadTime" jdbcType="TIMESTAMP" property="uploadTime" />
<result column="uploadStatus" jdbcType="BIT" property="uploadStatus" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, countOrderId, round, code, warehouseCode, companyCode, countType, statusCyc,
countAttribute, remark, totalLocs, totalItems, zoneCode, locationFilter, releasedBy,
releasedAt, closedBy, closedAt, created, createdBy, lastUpdated, lastUpdatedBy, version,
userDef1, userDef2, userDef3, verifyBy, sourceCode, uploadTime, uploadStatus
</sql>
<select id="getLastCode" resultType="java.lang.String">
SELECT code FROM cycle_count_header ORDER BY id DESC LIMIT 1
</select>
</mapper>