|
|
@@ -2351,7 +2351,7 @@
|
|
|
|
|
|
<select id="selectgetAll" resultType="com.goafanti.common.model.TOrderNew">
|
|
|
select order_no orderNo,contract_picture_url contractPictureUrl ,agreement_url agreementUrl ,service_content serviceContent,
|
|
|
- total_amount totalAmount
|
|
|
+ total_amount totalAmount,sign_time
|
|
|
from t_order_new where delete_sign in (0,2) and process_status>0
|
|
|
</select>
|
|
|
<select id="getProcessName" resultType="com.goafanti.order.bo.OrderProcessName">
|
|
|
@@ -2606,6 +2606,18 @@
|
|
|
from t_order_new
|
|
|
where order_no in (select order_no from t_order_task where id = #{tid})
|
|
|
</select>
|
|
|
+ <select id="selectBuyerIdAndSignTime" resultType="com.goafanti.common.model.TOrderNew">
|
|
|
+ select order_no,buyer_id,sign_time
|
|
|
+ from t_order_new
|
|
|
+ where buyer_id = #{buyerId}
|
|
|
+ and process_status > 0
|
|
|
+ <if test="type==0">
|
|
|
+ and sign_time < #{signTime}
|
|
|
+ </if>
|
|
|
+ <if test="type==1">
|
|
|
+ and sign_time > #{signTime}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
|
|
|
</mapper>
|
|
|
|