yuedefeng před 6 roky
rodič
revize
d30915e24c

+ 1 - 1
src/dashoo.cn/backend/api/business/oilsupplier/suppliercert/oilsuppliercertService.go

@@ -49,7 +49,7 @@ func (s *OilSupplierCertService) IsCanApplyByExtOrganizeUser(applyType, departme
 	extOrganizeId := parameterSvc.GetBaseparameterMessage("GFGL", "paramset", "ExtOrganizeId")
 	if extOrganizeId == departmentId {
 		where := " SupplierTypeCode = '" + applyType +"'"
-		where += " and a.CreateUserId = '" + userId + "'"
+		where += " and CreateUserId = '" + userId + "'"
 		var model OilSupplierCert
 		count, _ := s.GetCount(&model, where)
 		if count > 0 {