|
@@ -1600,6 +1600,7 @@
|
|
|
a.contract_type = g.id
|
|
a.contract_type = g.id
|
|
|
where a.order_type = 0 and a.order_status = 3 and project_stage = 1
|
|
where a.order_type = 0 and a.order_status = 3 and project_stage = 1
|
|
|
and (a.liquidation_status = 1 or a.liquidation_status = 2 or a.approval = 2) <!-- 已首付 or 已付清 or 已特批 -->
|
|
and (a.liquidation_status = 1 or a.liquidation_status = 2 or a.approval = 2) <!-- 已首付 or 已付清 or 已特批 -->
|
|
|
|
|
+ and a.delete_sign=0
|
|
|
<if test="salesmanId != null">
|
|
<if test="salesmanId != null">
|
|
|
and a.salesman_id = #{a.salesmanId,jdbcType=VARCHAR}
|
|
and a.salesman_id = #{a.salesmanId,jdbcType=VARCHAR}
|
|
|
</if>
|
|
</if>
|