|
@@ -19,6 +19,7 @@ import (
|
|
|
"time"
|
|
|
"tmr-watch/conf/setting"
|
|
|
"tmr-watch/http/handle/gm"
|
|
|
+ "tmr-watch/http/handle/jpud"
|
|
|
"tmr-watch/http/handle/restful"
|
|
|
"tmr-watch/models"
|
|
|
"tmr-watch/module"
|
|
@@ -1162,7 +1163,8 @@ func GetRJSBData(c *gin.Context) {
|
|
|
wg.Add(1)
|
|
|
go func(value map[string]interface{}) {
|
|
|
defer wg.Done()
|
|
|
- _, err = tx.SQL(`update downloadedplan set artificial = 2 ,havebutton = 1 where id = ? and pastureid = ? `, value["projuctid"], value["pastureid"]).Execute()
|
|
|
+ // ,havebutton = 1
|
|
|
+ _, err = tx.SQL(`update downloadedplan set artificial = 2 where id = ? and pastureid = ? `, value["projuctid"], value["pastureid"]).Execute()
|
|
|
}(value)
|
|
|
}
|
|
|
wg.Wait()
|
|
@@ -9225,8 +9227,8 @@ func UdBarSync(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- gm.UdBarSync(pastureid, pastureinfo.Werks)
|
|
|
-
|
|
|
+ // gm.UdBarSync(pastureid, pastureinfo.Werks)
|
|
|
+ jpud.UdBarSync(pastureid, pastureinfo.Werks)
|
|
|
appG.Response(http.StatusOK, e.SUCCESS, "ok")
|
|
|
}
|
|
|
|
|
@@ -9246,8 +9248,8 @@ func UdFeedSync(c *gin.Context) {
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- gm.UdFeedSync(pastureid, pastureinfo.Werks)
|
|
|
-
|
|
|
+ // gm.UdFeedSync(pastureid, pastureinfo.Werks)
|
|
|
+ // jpud.UdBarSync(pastureid, pastureinfo.Werks)
|
|
|
appG.Response(http.StatusOK, e.SUCCESS, "ok")
|
|
|
}
|
|
|
|