|
@@ -102,11 +102,11 @@ func (s *OilSupplierCertCheckStatus) CheckOilSupplierCertIsNeedConcentrateAudit(
|
|
|
|
|
|
|
|
func (s *OilSupplierCertCheckStatus) CheckOilSupplierCertHavePayed(certId string) bool {
|
|
func (s *OilSupplierCertCheckStatus) CheckOilSupplierCertHavePayed(certId string) bool {
|
|
|
var paymentInfoEntity paymentinfo.OilPaymentInfo
|
|
var paymentInfoEntity paymentinfo.OilPaymentInfo
|
|
|
- where := "where isPay='2' and SrcId='" + certId + "' and SupplierCertId='" + certId + "'"
|
|
|
|
|
|
|
+ where := " isPay='2' and SrcId='" + certId + "' and SupplierCertId='" + certId + "' "
|
|
|
s.GetEntityByWhere("OilPaymentInfo", where, &paymentInfoEntity)
|
|
s.GetEntityByWhere("OilPaymentInfo", where, &paymentInfoEntity)
|
|
|
if paymentInfoEntity.Id > 0 {
|
|
if paymentInfoEntity.Id > 0 {
|
|
|
return true
|
|
return true
|
|
|
} else {
|
|
} else {
|
|
|
return false
|
|
return false
|
|
|
}
|
|
}
|
|
|
-}
|
|
|
|
|
|
|
+}
|