|
@@ -5786,7 +5786,7 @@ func (this *StatisticReportController) InvoicePaymentList() {
|
|
|
|
|
|
cond += ` AND (c.seller_id IN (` + sellerIdsList + `) OR d.seller_id IN (` + sellerIdsList + `))`
|
|
|
pars = append(pars, sysUser.AdminId, sysUser.AdminId)
|
|
|
- } else if sysUser.RoleTypeCode != utils.ROLE_TYPE_CODE_ADMIN {
|
|
|
+ } else if sysUser.RoleTypeCode != utils.ROLE_TYPE_CODE_ADMIN {
|
|
|
cond += ` AND (c.seller_id=? OR d.seller_id=?)`
|
|
|
pars = append(pars, sysUser.AdminId, sysUser.AdminId)
|
|
|
}
|