|
@@ -66,7 +66,7 @@ func (this *ContractApprovalCommon) List() {
|
|
|
if status == "待审批" {
|
|
|
condition += ` AND ((c.seller_id = ? and a.start_node_id = a.curr_node_id) OR (d.approve_user_id = ? )) and d.status="待审批" `
|
|
|
} else if status == "处理中" {
|
|
|
- condition += ` AND ((c.seller_id = ? and a.start_node_id != a.curr_node_id) OR (d.approve_user_id = ? )) and d.status="待审批" `
|
|
|
+ condition += ` AND ((c.seller_id = ? and a.start_node_id != a.curr_node_id) OR (d.approve_user_id = ? )) and c.status="待审批" `
|
|
|
joinCondition = " and a.curr_node_id!=d.node_id"
|
|
|
} else {
|
|
|
condition += ` AND (c.seller_id = ? or d.approve_user_id = ?)`
|