condition += fmt.Sprintf(" and order_code!='%s'", orderCode)
- }
- q := "select count(id) from dataexport_order where user_phone=? and audit_status!=3 and " + condition
+ } //对公转账
+ q := "select count(id) from dataexport_order where user_phone=? and (audit_status!=3 or (pay_way=='transferAccounts' and order_status != 1)) and " + condition