xiziwen hace 5 meses
padre
commit
f4524a793b
Se han modificado 1 ficheros con 1 adiciones y 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)
 	}