|
@@ -11,10 +11,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="msg" column="msg" />
|
|
<result property="msg" column="msg" />
|
|
|
<result property="status" column="status" />
|
|
<result property="status" column="status" />
|
|
|
<result property="createTime" column="create_time" />
|
|
<result property="createTime" column="create_time" />
|
|
|
|
|
+ <result property="orderId" column="order_id" />
|
|
|
|
|
+ <result property="businessType" column="business_type" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsStorePaymentErrorVo">
|
|
<sql id="selectFsStorePaymentErrorVo">
|
|
|
- select id, order_flow_no, order_no, msg, status, create_time from fs_store_payment_error
|
|
|
|
|
|
|
+ select id, order_flow_no, order_no, msg, status, create_time,order_id,business_type from fs_store_payment_error
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsStorePaymentErrorList" parameterType="FsStorePaymentError" resultMap="FsStorePaymentErrorResult">
|
|
<select id="selectFsStorePaymentErrorList" parameterType="FsStorePaymentError" resultMap="FsStorePaymentErrorResult">
|
|
@@ -23,7 +25,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="orderFlowNo != null and orderFlowNo != ''"> and order_flow_no = #{orderFlowNo}</if>
|
|
<if test="orderFlowNo != null and orderFlowNo != ''"> and order_flow_no = #{orderFlowNo}</if>
|
|
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
|
<if test="msg != null and msg != ''"> and msg = #{msg}</if>
|
|
<if test="msg != null and msg != ''"> and msg = #{msg}</if>
|
|
|
- <if test="status != null "> and status = #{status}</if>
|
|
|
|
|
|
|
+ <if test="orderId != null "> and order_id = #{orderId}</if>
|
|
|
|
|
+ <if test="businessType != null "> and business_type = #{businessType}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -41,6 +44,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="msg != null">msg,</if>
|
|
<if test="msg != null">msg,</if>
|
|
|
<if test="status != null">status,</if>
|
|
<if test="status != null">status,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
|
|
|
+ <if test="orderId != null">order_id,</if>
|
|
|
|
|
+ <if test="businessType != null">business_type,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">#{id},</if>
|
|
<if test="id != null">#{id},</if>
|
|
@@ -49,6 +54,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="msg != null">#{msg},</if>
|
|
<if test="msg != null">#{msg},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
|
|
|
+ <if test="orderId != null">#{orderId},</if>
|
|
|
|
|
+ <if test="businessType != null">#{businessType},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -60,6 +67,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="msg != null">msg = #{msg},</if>
|
|
<if test="msg != null">msg = #{msg},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
<if test="status != null">status = #{status},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
|
|
|
+ <if test="orderId != null">order_id = #{orderId},</if>
|
|
|
|
|
+ <if test="businessType != null">business_type = #{businessType},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where id = #{id}
|
|
where id = #{id}
|
|
|
</update>
|
|
</update>
|