|
@@ -1,7 +1,7 @@
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
<!DOCTYPE mapper
|
|
<!DOCTYPE mapper
|
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
-"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
|
|
|
|
+"https://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="cn.hobbystocks.auc.mapper.LotMapper">
|
|
<mapper namespace="cn.hobbystocks.auc.mapper.LotMapper">
|
|
|
|
|
|
|
|
<resultMap type="cn.hobbystocks.auc.domain.Lot" id="LotResult">
|
|
<resultMap type="cn.hobbystocks.auc.domain.Lot" id="LotResult">
|
|
@@ -152,7 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="groupId != null ">group_id,</if>
|
|
<if test="groupId != null ">group_id,</if>
|
|
|
<if test="deposit !=null ">deposit,</if>
|
|
<if test="deposit !=null ">deposit,</if>
|
|
|
<if test="serviceTariff !=null ">service_tariff,</if>
|
|
<if test="serviceTariff !=null ">service_tariff,</if>
|
|
|
- <if test="payTimeLimit!=null">pay_limit_time,</if>
|
|
|
|
|
|
|
+ <if test="payTimeLimit!=null">pay_time_limit,</if>
|
|
|
<if test="category!=null and category!=''">category,</if>
|
|
<if test="category!=null and category!=''">category,</if>
|
|
|
<if test="subCategory!=null and subCategory!=''">sub_category,</if>
|
|
<if test="subCategory!=null and subCategory!=''">sub_category,</if>
|
|
|
<if test="properties!=null">properties,</if>
|
|
<if test="properties!=null">properties,</if>
|
|
@@ -202,8 +202,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="serviceTariff !=null ">#{serviceTariff},</if>
|
|
<if test="serviceTariff !=null ">#{serviceTariff},</if>
|
|
|
<if test="payTimeLimit!=null">#{payTimeLimit},</if>
|
|
<if test="payTimeLimit!=null">#{payTimeLimit},</if>
|
|
|
<if test="category!=null and category!=''">#{category},</if>
|
|
<if test="category!=null and category!=''">#{category},</if>
|
|
|
- <if test="subCategory!=null and subCategory!=''">#{subCategory}</if>
|
|
|
|
|
- <if test="properties!=null">#{properties,jdbcType=OTHER,typeHandler=cn.hobbystocks.auc.mapper.handler.JsonNodeTypeHandler}</if>
|
|
|
|
|
|
|
+ <if test="subCategory!=null and subCategory!=''">#{subCategory},</if>
|
|
|
|
|
+ <if test="properties!=null">#{properties,jdbcType=OTHER,typeHandler=cn.hobbystocks.auc.mapper.handler.JsonNodeTypeHandler}::jsonb</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|