|
@@ -14,6 +14,7 @@
|
|
<result column="productId" property="productId"/>
|
|
<result column="productId" property="productId"/>
|
|
<result column="totalFee" property="totalFee"/>
|
|
<result column="totalFee" property="totalFee"/>
|
|
<result column="codeUrl" property="codeUrl"/>
|
|
<result column="codeUrl" property="codeUrl"/>
|
|
|
|
+ <result column="codeUrlFailureTime" property="codeUrlFailureTime"/>
|
|
<result column="orderStatus" property="orderStatus"/>
|
|
<result column="orderStatus" property="orderStatus"/>
|
|
<result column="status" property="status"/>
|
|
<result column="status" property="status"/>
|
|
<result column="paymentType" property="paymentType"/>
|
|
<result column="paymentType" property="paymentType"/>
|
|
@@ -37,7 +38,7 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="selectList" resultMap="result">
|
|
<select id="selectList" resultMap="result">
|
|
- select * from workark_orderInfo where where orderStatus = #{orderStatus} and createTime < #{createTime}
|
|
|
|
|
|
+ select * from workark_orderInfo where codeUrl IS NOT NULL and orderStatus = #{orderStatus} and codeUrlFailureTime < now()
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getList" resultMap="result">
|
|
<select id="getList" resultMap="result">
|
|
@@ -159,6 +160,7 @@
|
|
<trim prefix="set" suffixOverrides=",">
|
|
<trim prefix="set" suffixOverrides=",">
|
|
<if test="title!=null">title=#{title},</if>
|
|
<if test="title!=null">title=#{title},</if>
|
|
<if test="codeUrl!=null">codeUrl=#{codeUrl},</if>
|
|
<if test="codeUrl!=null">codeUrl=#{codeUrl},</if>
|
|
|
|
+ <if test="codeUrlFailureTime!=null">codeUrlFailureTime=#{codeUrlFailureTime},</if>
|
|
<if test="orderStatus!=null">orderStatus=#{orderStatus},</if>
|
|
<if test="orderStatus!=null">orderStatus=#{orderStatus},</if>
|
|
<if test="paymentType!=null">paymentType=#{paymentType},</if>
|
|
<if test="paymentType!=null">paymentType=#{paymentType},</if>
|
|
<if test="updateTime==null">updateTime=now(),</if>
|
|
<if test="updateTime==null">updateTime=now(),</if>
|