用户模块
This commit is contained in:
23
src/main/resources/mapper/PromoCodeMapper.xml
Normal file
23
src/main/resources/mapper/PromoCodeMapper.xml
Normal file
@ -0,0 +1,23 @@
|
||||
<?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.greenorange.promotion.mapper.PromoCodeMapper">
|
||||
|
||||
<resultMap id="BaseResultMap" type="com.greenorange.promotion.model.entity.PromoCode">
|
||||
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||
<result property="promoCodeInfoKey" column="promoCodeInfoKey" jdbcType="VARCHAR"/>
|
||||
<result property="promoCodeLink" column="promoCodeLink" jdbcType="VARCHAR"/>
|
||||
<result property="projectId" column="projectId" jdbcType="BIGINT"/>
|
||||
<result property="promoCodeStatus" column="promoCodeStatus" jdbcType="OTHER"/>
|
||||
<result property="isDelete" column="isDelete" jdbcType="TINYINT"/>
|
||||
<result property="createTime" column="createTime" jdbcType="TIMESTAMP"/>
|
||||
<result property="updateTime" column="updateTime" jdbcType="TIMESTAMP"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List">
|
||||
id,promoCodeInfoKey,promoCodeLink,
|
||||
projectId,promoCodeStatus,isDelete,
|
||||
createTime,updateTime
|
||||
</sql>
|
||||
</mapper>
|
Reference in New Issue
Block a user