|
|
@@ -1579,7 +1579,7 @@
|
|
|
a.technician_id = e.id left join department_management f on
|
|
|
c.department_id = f.id left join business_varieties g on
|
|
|
a.contract_type = g.id
|
|
|
- where a.order_type = 0 and a.order_status = 3 and project_stage = 3
|
|
|
+ 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 已特批 -->
|
|
|
<if test="salesmanId != null">
|
|
|
and a.salesman_id = #{a.salesmanId,jdbcType=VARCHAR}
|
|
|
@@ -1627,7 +1627,7 @@
|
|
|
a.technician_id = e.id left join department_management f on
|
|
|
c.department_id = f.id left join business_varieties g on
|
|
|
a.contract_type = g.id
|
|
|
- where a.order_type = 0 and a.order_status = 3 and project_stage = 3
|
|
|
+ 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 已特批 -->
|
|
|
<if test="salesmanId != null">
|
|
|
and a.salesman_id = #{a.salesmanId,jdbcType=VARCHAR}
|