|
|
@@ -85,12 +85,16 @@ func (this *SupplierDataEntryController) DocExport() {
|
|
|
var tabledata7 []supplierdataentry.SupplierCertSubEntry
|
|
|
|
|
|
SupplierCertId := strconv.Itoa(model2.Id)
|
|
|
- where3 := "SupplierCertId = '" + SupplierCertId + "'"
|
|
|
- svc.GetEntitysByOrderbyWhere(OilEnterpriseMajorEquipmentName, where3, "1", &tabledata3)
|
|
|
- svc.GetEntitysByOrderbyWhere(OilThreeYearsPerformanceName, where3, "1", &tabledata4)
|
|
|
- svc.GetEntitysByOrderbyWhere(OilPatentStatisticalName, where3, "1", &tabledata5)
|
|
|
- svc.GetEntitysByOrderbyWhere(OilWinningProjectName, where3, "1", &tabledata6)
|
|
|
- svc.GetEntitysByOrderbyWhere(OilSupplierCertSubName, where3, "1", &tabledata7)
|
|
|
+ where3 := "SupplierCertId = " + SupplierCertId + " LIMIT 5"
|
|
|
+ svc.GetSelect(OilEnterpriseMajorEquipmentName, where3, &tabledata3)
|
|
|
+ where4 := "SupplierCertId = " + SupplierCertId + " LIMIT 5"
|
|
|
+ svc.GetSelect(OilThreeYearsPerformanceName, where4, &tabledata4)
|
|
|
+ where5 := "SupplierCertId = " + SupplierCertId + " LIMIT 7"
|
|
|
+ svc.GetSelect(OilPatentStatisticalName, where5, &tabledata5)
|
|
|
+ where9 := "SupplierCertId = " + SupplierCertId + " LIMIT 9"
|
|
|
+ svc.GetSelect(OilWinningProjectName, where9, &tabledata6)
|
|
|
+ where := "SupplierCertId = " + SupplierCertId
|
|
|
+ svc.GetEntitysByOrderbyWhere(OilSupplierCertSubName, where, "1", &tabledata7)
|
|
|
|
|
|
datamap := StructToMapDemo(model1.OilSupplier)
|
|
|
|