29 lines
1.5 KiB
XML
29 lines
1.5 KiB
XML
<?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="net.shapelight.modules.mobile.mapper.MobilePackageOrderMapper">
|
|
|
|
<resultMap id="BaseResultMap" type="net.shapelight.modules.mobile.entity.MobilePackageOrder">
|
|
<id property="orderId" column="order_id" jdbcType="BIGINT"/>
|
|
<result property="parentId" column="person_id" jdbcType="BIGINT"/>
|
|
<result property="packageId" column="package_id" jdbcType="BIGINT"/>
|
|
<result property="payment" column="payment" jdbcType="DECIMAL"/>
|
|
<result property="payTime" column="pay_time" jdbcType="TIMESTAMP"/>
|
|
<result property="payStatus" column="pay_status" jdbcType="INTEGER"/>
|
|
<result property="effectiveDate" column="effective_date" jdbcType="TIMESTAMP"/>
|
|
<result property="remainderTime" column="remainder_time" jdbcType="INTEGER"/>
|
|
<result property="remainderCount" column="remainder_count" jdbcType="INTEGER"/>
|
|
<result property="status" column="status" jdbcType="TINYINT"/>
|
|
<result property="parentName" column="person_name" jdbcType="VARCHAR"/>
|
|
<result property="expireTime" column="expire_time" jdbcType="TIMESTAMP"/>
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
order_id,person_id,package_id,
|
|
payment,pay_time,pay_status,
|
|
effective_date,remainder_time,remainder_count,
|
|
status,person_name,expire_time
|
|
</sql>
|
|
</mapper>
|