cp_user
This commit is contained in:
parent
99924aae13
commit
dffe776ef5
|
@ -27,7 +27,7 @@ func (d *ExternalCorpOrder) QueryOwnerOrder(owner string, corpId int64, startTim
|
|||
tx.Where("cp_user.username = ?", owner)
|
||||
}
|
||||
if corpId != 0 {
|
||||
tx.Where(orderTable+".corp_id = ?", corpId)
|
||||
tx.Where("cp_user.corp_id = ?", corpId)
|
||||
}
|
||||
|
||||
if startTime > 0 {
|
||||
|
|
Loading…
Reference in New Issue