MealOrderMapper.xml
2.3 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
<?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.tianting.infoloop.mapper.MealOrderMapper">
<resultMap id="BaseResultMap" type="com.tianting.infoloop.model.db.MealOrder">
<id property="id" column="id" jdbcType="INTEGER"/>
<result property="enterpriseId" column="enterpriseId" jdbcType="INTEGER"/>
<result property="clientId" column="clientId" jdbcType="INTEGER"/>
<result property="menuId" column="menuId" jdbcType="INTEGER"/>
<result property="accountId" column="accountId" jdbcType="INTEGER"/>
<result property="orderMethod" column="orderMethod" jdbcType="TINYINT"/>
<result property="dinerId" column="dinerId" jdbcType="INTEGER"/>
<result property="dinerName" column="dinerName" jdbcType="VARCHAR"/>
<result property="clientName" column="clientName" jdbcType="VARCHAR"/>
<result property="gradeName" column="gradeName" jdbcType="VARCHAR"/>
<result property="className" column="className" jdbcType="VARCHAR"/>
<result property="studentNo" column="studentNo" jdbcType="VARCHAR"/>
<result property="reserveDate" column="reserveDate" jdbcType="TIMESTAMP"/>
<result property="meals" column="meals" jdbcType="OTHER"/>
<result property="createdBy" column="createdBy" jdbcType="INTEGER"/>
<result property="createdAt" column="createdAt" jdbcType="TIMESTAMP"/>
<result property="creationSource" column="creationSource" jdbcType="INTEGER"/>
<result property="updatedBy" column="updatedBy" jdbcType="INTEGER"/>
<result property="updatedAt" column="updatedAt" jdbcType="TIMESTAMP"/>
<result property="updateSource" column="updateSource" jdbcType="INTEGER"/>
<result property="isDeleted" column="isDeleted" jdbcType="TINYINT"/>
</resultMap>
<sql id="Base_Column_List">
id,enterpriseId,clientId,
menuId,accountId,orderMethod,
dinerId,dinerName,clientName,
gradeName,className,studentNo,
reserveDate,meals,createdBy,
createdAt,creationSource,updatedBy,
updatedAt,updateSource,isDeleted
</sql>
</mapper>