|
|
@@ -1831,8 +1831,8 @@ func (this *OilSupplierController) DeleteAllEntity() {
|
|
|
}
|
|
|
svc := supplier.GetOilSupplierService(utils.DBE)
|
|
|
err := svc.DeleteEntityBytbl(OilSupplierCertSubName, "SupplierId="+Id+" and SupplierTypeCode='"+SupplierTypeCode+"'")
|
|
|
- err = svc.DeleteEntityBytbl(OilSupplierCertName, "SupplierId="+Id+" and SupplierTypeCode='"+SupplierTypeCode+"'")
|
|
|
err = svc.DeleteEntityBytbl(OilSupplierFileName, "SupplierId="+Id+" and SupplierTypeCode='"+SupplierTypeCode+"'")
|
|
|
+ err = svc.DeleteEntityBytbl(OilSupplierCertName, "SupplierId="+Id+" and SupplierTypeCode='"+SupplierTypeCode+"'")
|
|
|
|
|
|
// TODO: 删除准入范围和资质对应关系表
|
|
|
// err = svc.DeleteEntityBytbl(OilSupplierCert2FileName, "SupplierId="+Id+" and SupplierTypeCode='"+SupplierTypeCode+"'")
|