xiziwen hai 5 meses
pai
achega
f4524a793b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      controllers/statistic_report.go

+ 1 - 1
controllers/statistic_report.go

@@ -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)
 	}