|
|
@@ -428,8 +428,7 @@ func (this *OilSupplierCertSubController) CheckCertSubLost () {
|
|
|
tmpLostCert.CertFileName = needHeader.FileName
|
|
|
lostCertList = append(lostCertList, tmpLostCert)
|
|
|
} else {
|
|
|
- // 1准入 2增项
|
|
|
- if (fileist1.SupType == 1 && fileist1.FileName == "") || (fileist1.SupType == 2 && filelist2.FileName == "") {
|
|
|
+ if filelist2.FileName == "" && fileist1.FileName == "" {
|
|
|
//缺少的资质
|
|
|
var tmpLostCert LostCertFiles
|
|
|
tmpLostCert.Code = dataother.CheckList[n].Code
|
|
|
@@ -666,8 +665,7 @@ func (this *OilSupplierCertSubController) CheckTechCertLost() {
|
|
|
tmpLostCert.CertFileName = needList[i].FileName
|
|
|
lostCertList = append(lostCertList, tmpLostCert)
|
|
|
} else {
|
|
|
- // 1准入 2增项
|
|
|
- if (fileist1.SupType == 1 && fileist1.FileName == "") || (fileist1.SupType == 2 && filelist2.FileName == "") {
|
|
|
+ if filelist2.FileName == "" && fileist1.FileName == "" {
|
|
|
//缺少的资质
|
|
|
var tmpLostCert LostCertFiles
|
|
|
tmpLostCert.Code = dataother.CheckList[n].Code
|
|
|
@@ -850,8 +848,7 @@ func (this *OilSupplierCertSubController) CheckBasisBusinessLost() {
|
|
|
tmpLostCert.CertFileName = needList[i].FileName
|
|
|
lostCertList = append(lostCertList, tmpLostCert)
|
|
|
} else {
|
|
|
- // 1准入 2增项
|
|
|
- if (fileist1.SupType == 1 && fileist1.FileName == "") || (fileist1.SupType == 2 && filelist2.FileName == "") {
|
|
|
+ if filelist2.FileName == "" && fileist1.FileName == "" {
|
|
|
//缺少的资质
|
|
|
var tmpLostCert LostCertFiles
|
|
|
tmpLostCert.Code = model.Code
|