cm
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
"time"
|
||||
|
||||
cmschema "ems.agt/crontask/cm/schema"
|
||||
"ems.agt/lib/dborm"
|
||||
"ems.agt/lib/global"
|
||||
"ems.agt/lib/log"
|
||||
|
||||
@@ -69,6 +70,9 @@ func (t *TaskFunc) GenNFXmlFile(neType string) error {
|
||||
|
||||
resultMap, _ := t.ReadCmYaml(cmfile)
|
||||
|
||||
var cmResults []dborm.NorthboundCm
|
||||
err = dborm.XormGetNorthboundCm(neType, &cmResults)
|
||||
|
||||
ti := time.Now()
|
||||
timestamp := ti.Format("2006-01-02 15:04:05")
|
||||
timefile := ti.Format("20060102150405")
|
||||
|
||||
Reference in New Issue
Block a user