...
|
...
|
@@ -266,6 +266,7 @@ func (srv ExcelDataService) ImportCost(importDataCommand *command.ImportDataComm |
|
|
{EnName: "chargePersons", CnName: "*负责人"},
|
|
|
{EnName: "target", CnName: "目标值"},
|
|
|
{EnName: "targetPeriod", CnName: "目标值期限"},
|
|
|
{EnName: "comparisonOperator", CnName: "比较符"},
|
|
|
{EnName: "present", CnName: "现状值"},
|
|
|
{EnName: "schedulePlanPercent", CnName: "进度计划比"},
|
|
|
{EnName: "benchmark", CnName: "标杆值"},
|
...
|
...
|
@@ -399,6 +400,7 @@ func (srv ExcelDataService) ImportCost(importDataCommand *command.ImportDataComm |
|
|
CostPriceDesiredValue: strings.TrimSpace(v["costPriceDesiredValue"]),
|
|
|
CostPriceIndicatedValue: strings.TrimSpace(v["costPriceIndicatedValue"]),
|
|
|
CostPriceActualValue: strings.TrimSpace(v["costPriceActualValue"]),
|
|
|
ComparisonOperator: strings.TrimSpace(v["comparisonOperator"]),
|
|
|
}
|
|
|
if len(ossFile) > 0 {
|
|
|
item.Urls = ossFile
|
...
|
...
|
@@ -476,7 +478,7 @@ func (srv ExcelDataService) FileImportTemplate(importDataCommand *command.Import |
|
|
domain.ImportDividendsReturnOrders: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20210927/object/1632743214_rNHm6ZBXZaC5xKTrsE7M4h45MY6n6Ff3.xlsx",
|
|
|
domain.ImportProducts: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20220120/object/1642670543_cbraNKjNPHcbN6RNBYQBrwhC7BXGbDWp.xlsx",
|
|
|
domain.ImportDevices: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/open-api/dev_online/20220126/object/1643184320_hT6sY5BKHmBa4TynfSGSCGyZ2KTTtzkj.xlsx",
|
|
|
domain.ImportCosts: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/opportunity/dev_online/20220526/object/1653555125_NGNbjmKpxCyks5CwztFsfj2dBNWerks5.xlsx",
|
|
|
domain.ImportCosts: "https://timeless-world.oss-cn-shenzhen.aliyuncs.com/opportunity/dev_online/20220615/object/1655280919_MKQhwQ7D72ZBsrRpraX3QJGxWt3KyCj5.xlsx",
|
|
|
}
|
|
|
var url string
|
|
|
var ok bool
|
...
|
...
|
|