2
3
baichengfei 5 жил өмнө
parent
commit
4c78fb774b

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

@@ -10,6 +10,7 @@ import (
 	baseparameter "dashoo.cn/business2/parameter"
 	"dashoo.cn/business2/userRole"
 	"dashoo.cn/utils"
+	"fmt"
 	"strconv"
 	"strings"
 
@@ -200,14 +201,17 @@ func (s *OilSupplierCertService) IsSupplierCertCanSubmit(supplierId, supplierCer
 	}
 
 	//对准入资质的判断
+	fmt.Println("资质文件查询,主表id:" + strconv.Itoa(supplierEntity.Id))
 	supplierFileService := supplierfile.GetSupplierfileService(utils.DBE)
 	supplierFiles := supplierFileService.GetListBySupplierId(strconv.Itoa(supplierEntity.Id))
+	fmt.Println("资质文件查询,主表id:" + strconv.Itoa(supplierEntity.Id))
 	needBiddingBook := false
 	hasBiddingBook := false
 	if supplierCertEntity.InStyle == supplier.IN_STYPE_BIDDING {
 		needBiddingBook = true // 招标准入需提供中标通知书
 	}
 	for _, fileItem := range supplierFiles {
+		fmt.Println("资质文件: " + fileItem.NeedFileType + " , 匹配名称: " + supplier.BIDDING_BOOK_NAME)
 		/* if fileItem.FileType == "1" { // 1:必须上传的文件, 0:非必须上传
 		} */
 		if fileItem.NeedFileType == supplier.BIDDING_BOOK_NAME {