|
|
@@ -31,9 +31,8 @@ func GetOilSupplierCertService(xormEngine *xorm.Engine) *OilSupplierCertService
|
|
|
}
|
|
|
|
|
|
func (s *OilSupplierCertService) CheckOilSupplierCertIsNeedPayService(certId string) int {
|
|
|
- certSrv := suppliercert.GetOilSupplierCertService(utils.DBE)
|
|
|
var supplierCertEntity suppliercert.OilSupplierCert
|
|
|
- certSrv.GetEntityById(certId, &supplierCertEntity)
|
|
|
+ s.GetEntityById(certId, &supplierCertEntity)
|
|
|
|
|
|
var isPayList []string
|
|
|
isPayList = append(isPayList, suppliercert.PINGSHEN)
|
|
|
@@ -72,9 +71,8 @@ func (s *OilSupplierCertService) CheckOilSupplierCertIsNeedPayService(certId str
|
|
|
}
|
|
|
|
|
|
func (s *OilSupplierCertService) CheckOilSupplierCertIsNeedConcentrateAuditService(certId string) int {
|
|
|
- certSrv := suppliercert.GetOilSupplierCertService(utils.DBE)
|
|
|
var supplierCertEntity suppliercert.OilSupplierCert
|
|
|
- certSrv.GetEntityById(certId, &supplierCertEntity)
|
|
|
+ s.GetEntityById(certId, &supplierCertEntity)
|
|
|
|
|
|
// 需要集中评审的准入类型
|
|
|
var concentrateInStyleList []string
|