@@ -62,7 +62,7 @@ func (this *ContractApprovalCommon) List() {
//归属
if status == "待审批" {
- condition += ` AND (c.seller_id = ? and d.approve_user_id = c.user_id) OR (d.approve_user_id = ? and d.status="待审批")`
+ condition += ` AND (c.seller_id = ? and d.approve_user_id = c.seller_id) OR (d.approve_user_id = ? and d.status="待审批")`
} else {
condition += ` AND (c.seller_id = ? or d.approve_user_id = ?)`
}