ReceiptPreferenceMapper.xml
4.01 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
52
53
54
55
56
57
<?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.config.receiptPreference.mapper.ReceiptPreferenceMapper">
<resultMap id="BaseResultMap" type="com.huaheng.pc.config.receiptPreference.domain.ReceiptPreference">
<!--@mbg.generated-->
<id column="id" jdbcType="INTEGER" property="id" />
<result column="warehouseCode" jdbcType="VARCHAR" property="warehouseCode" />
<result column="code" jdbcType="VARCHAR" property="code" />
<result column="name" jdbcType="VARCHAR" property="name" />
<result column="receivingFlow" jdbcType="VARCHAR" property="receivingFlow" />
<result column="autoAssignLPN" jdbcType="INTEGER" property="autoAssignLPN" />
<result column="allowOverReceiving" jdbcType="BIT" property="allowOverReceiving" />
<result column="allowOverReceivingQty" jdbcType="INTEGER" property="allowOverReceivingQty" />
<result column="autoLocate" jdbcType="INTEGER" property="autoLocate" />
<result column="showOpenQty" jdbcType="INTEGER" property="showOpenQty" />
<result column="groupPutaway" jdbcType="INTEGER" property="groupPutaway" />
<result column="manuallyBuildLPN" jdbcType="INTEGER" property="manuallyBuildLPN" />
<result column="locationRule" jdbcType="VARCHAR" property="locationRule" />
<result column="emptyLocRule" jdbcType="VARCHAR" property="emptyLocRule" />
<result column="checkinByPiece" jdbcType="INTEGER" property="checkinByPiece" />
<result column="pieceConfirm" jdbcType="INTEGER" property="pieceConfirm" />
<result column="abcClass" jdbcType="VARCHAR" property="abcClass" />
<result column="daysToExpire" jdbcType="INTEGER" property="daysToExpire" />
<result column="expiringDays" jdbcType="INTEGER" property="expiringDays" />
<result column="minShelfLifeDays" jdbcType="INTEGER" property="minShelfLifeDays" />
<result column="allowQuickPutaway" jdbcType="INTEGER" property="allowQuickPutaway" />
<result column="attributeTemplateCode" jdbcType="VARCHAR" property="attributeTemplateCode" />
<result column="useQuickCheckIn" jdbcType="INTEGER" property="useQuickCheckIn" />
<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" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
id, warehouseCode, code, `name`, receivingFlow, autoAssignLPN, allowOverReceiving,
allowOverReceivingQty, autoLocate, showOpenQty, groupPutaway, manuallyBuildLPN, locationRule,
emptyLocRule, checkinByPiece, pieceConfirm, abcClass, daysToExpire, expiringDays,
minShelfLifeDays, allowQuickPutaway, attributeTemplateCode, useQuickCheckIn, created,
createdBy, lastUpdated, lastUpdatedBy, version, userDef1, userDef2, userDef3, userDef4,
userDef5, userDef6, userDef7, userDef8, processStamp
</sql>
<select id="getReceiptPreference"
resultType="com.huaheng.pc.config.receiptPreference.domain.ReceiptPreference">
select * from receipt_preference where warehouseCode=#{warehouseCode} and `code`=#{value}
</select>
</mapper>