|
@@ -1170,7 +1170,7 @@ func GetRJSBData(c *gin.Context) {
|
|
|
go func(value map[string]interface{}) {
|
|
|
defer wg.Done()
|
|
|
// ,havebutton = 1
|
|
|
- _, err = tx.SQL(`update downloadedplan set artificial = 2 where id = ? and pastureid = ? `, value["projuctid"], value["pastureid"]).Execute()
|
|
|
+ _, err = tx.SQL(`update downloadedplan set artificial = 2,havebutton = 1 where id = ? and pastureid = ? `, value["projuctid"], value["pastureid"]).Execute()
|
|
|
}(value)
|
|
|
}
|
|
|
wg.Wait()
|
|
@@ -12321,4 +12321,7 @@ func GetLyUdData(c *gin.Context) {
|
|
|
|
|
|
|
|
|
// appG.Response(http.StatusOK, e.SUCCESS, fpdetailFnameList)
|
|
|
-}
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+
|