|
|
@@ -250,8 +250,10 @@ func (s *OilSupplierCertAppendService) IsSupplierCertAppendCanSubmit(supplierId,
|
|
|
//}
|
|
|
|
|
|
//对准入资质的判断
|
|
|
+ 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 supplierCertAppendEntity.InStyle == supplier.IN_STYPE_BIDDING {
|
|
|
@@ -260,6 +262,7 @@ func (s *OilSupplierCertAppendService) IsSupplierCertAppendCanSubmit(supplierId,
|
|
|
for _, fileItem := range supplierFiles {
|
|
|
/* if fileItem.FileType == "1" { // 1:必须上传的文件, 0:非必须上传
|
|
|
} */
|
|
|
+ fmt.Println("资质文件: " + fileItem.NeedFileType + " , 匹配名称: " + supplier.BIDDING_BOOK_NAME)
|
|
|
if fileItem.NeedFileType == supplier.BIDDING_BOOK_NAME {
|
|
|
hasBiddingBook = true
|
|
|
}
|