|
|
|
@@ -164,11 +164,11 @@ |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="findListOfUnCompletePressOrderByDate" parameterType="map" resultMap="BaseResultMap"> |
|
|
|
<select id="findListOfCompleteUnPaidPressOrderByDate" parameterType="map" resultMap="BaseResultMap"> |
|
|
|
select |
|
|
|
<include refid="allColumns"/> |
|
|
|
from wx_order |
|
|
|
where press_end_date is not null and order_status = 6 |
|
|
|
where press_end_date is not null and order_status = 7 |
|
|
|
<if test="type != null"> |
|
|
|
AND type = #{type,jdbcType=TINYINT} |
|
|
|
</if> |
|
|
|
@@ -176,7 +176,7 @@ |
|
|
|
AND unix_timestamp(`create_date`) > unix_timestamp(#{startDate,jdbcType=TIMESTAMP}) |
|
|
|
</if> |
|
|
|
<if test="endDate != null"> |
|
|
|
AND unix_timestamp(`press_end_date`) < unix_timestamp(#{endDate,jdbcType=TIMESTAMP}) |
|
|
|
AND unix_timestamp(`update_date`) < unix_timestamp(#{endDate,jdbcType=TIMESTAMP}) |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
|
|
|
|
|