|
@@ -322,7 +322,7 @@ func (this *OilSupplierCertSubController) AddGoodsBus() {
|
|
|
|
|
|
|
|
var supplierModel supplier.OilSupplier
|
|
var supplierModel supplier.OilSupplier
|
|
|
svcSupplier := supplier.GetOilSupplierService(utils.DBE)
|
|
svcSupplier := supplier.GetOilSupplierService(utils.DBE)
|
|
|
- svcSupplier.GetEntityById(datamain.SupplierCertId, &supplierModel)
|
|
|
|
|
|
|
+ svcSupplier.GetEntityById(datamain.SupplierId, &supplierModel)
|
|
|
|
|
|
|
|
for n := 0; n < len(dataother.CheckList); n++ {
|
|
for n := 0; n < len(dataother.CheckList); n++ {
|
|
|
where_sub := "SupplierTypeCode = 01 and SupplierId = '" + strconv.Itoa(dataother.SupplierId) + "'"
|
|
where_sub := "SupplierTypeCode = 01 and SupplierId = '" + strconv.Itoa(dataother.SupplierId) + "'"
|
|
@@ -431,7 +431,7 @@ func (this *OilSupplierCertSubController) AddTechBus() {
|
|
|
|
|
|
|
|
var supplierModel supplier.OilSupplier
|
|
var supplierModel supplier.OilSupplier
|
|
|
svcSupplier := supplier.GetOilSupplierService(utils.DBE)
|
|
svcSupplier := supplier.GetOilSupplierService(utils.DBE)
|
|
|
- svcSupplier.GetEntityById(datamain.SupplierCertId, &supplierModel)
|
|
|
|
|
|
|
+ svcSupplier.GetEntityById(datamain.SupplierId, &supplierModel)
|
|
|
|
|
|
|
|
for n := 0; n < len(dataother.CheckList); n++ {
|
|
for n := 0; n < len(dataother.CheckList); n++ {
|
|
|
where_sub := "SupplierTypeCode = 03 and SupplierId = '" + strconv.Itoa(dataother.SupplierId) + "'"
|
|
where_sub := "SupplierTypeCode = 03 and SupplierId = '" + strconv.Itoa(dataother.SupplierId) + "'"
|
|
@@ -552,7 +552,7 @@ func (this *OilSupplierCertSubController) AddBusiness() {
|
|
|
|
|
|
|
|
var supplierModel supplier.OilSupplier
|
|
var supplierModel supplier.OilSupplier
|
|
|
svcSupplier := supplier.GetOilSupplierService(utils.DBE)
|
|
svcSupplier := supplier.GetOilSupplierService(utils.DBE)
|
|
|
- svcSupplier.GetEntityById(model.SupplierCertId, &supplierModel)
|
|
|
|
|
|
|
+ svcSupplier.GetEntityById(model.SupplierId, &supplierModel)
|
|
|
|
|
|
|
|
paramSvc := baseparameter.GetBaseparameterService(utils.DBE)
|
|
paramSvc := baseparameter.GetBaseparameterService(utils.DBE)
|
|
|
filesvc := supplierfile.GetSupplierfileService(utils.DBE)
|
|
filesvc := supplierfile.GetSupplierfileService(utils.DBE)
|