|
|
|
@@ -118,7 +118,7 @@ |
|
|
|
select |
|
|
|
<include refid="allColumns"/> |
|
|
|
from wx_order |
|
|
|
where order_status = '0' |
|
|
|
where order_status = '0' and press_end_date is null |
|
|
|
<if test="type != null"> |
|
|
|
AND type = #{type,jdbcType=TINYINT} |
|
|
|
</if> |
|
|
|
@@ -130,6 +130,22 @@ |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="findListOfUnpaidPressOrderByDate" parameterType="map" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
<include refid="allColumns"/> |
|
|
|
from wx_order |
|
|
|
where order_status = '0' and press_end_date is not null |
|
|
|
<if test="type != null"> |
|
|
|
AND type = #{type,jdbcType=TINYINT} |
|
|
|
</if> |
|
|
|
<if test="startDate != null"> |
|
|
|
AND create_date > #{startDate,jdbcType=TIMESTAMP} |
|
|
|
</if> |
|
|
|
<if test="endDate != null"> |
|
|
|
AND press_end_date < #{endDate,jdbcType=TIMESTAMP} |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<sql id="allCUserOrderListColumns"> |
|
|
|
o.id,o.order_number,o.tenant_id,o.c_user_id,o.product_id,o.payment_type,o.payment,o.payment_time,o.order_status,o.create_date,o.update_date, |
|
|
|
|