baishaojie 1 week ago
parent
commit
bf4bdd053b
28 changed files with 3 additions and 2 deletions
  1. 0 0
      .bss
  2. BIN
      .data
  3. BIN
      .debug_abbrev
  4. BIN
      .debug_frame
  5. BIN
      .debug_gdb_scripts
  6. BIN
      .debug_info
  7. BIN
      .debug_line
  8. BIN
      .debug_loc
  9. BIN
      .debug_ranges
  10. BIN
      .go.buildinfo
  11. BIN
      .gopclntab
  12. 0 0
      .gosymtab
  13. BIN
      .itablink
  14. 0 0
      .noptrbss
  15. BIN
      .noptrdata
  16. BIN
      .note.go.buildid
  17. BIN
      .rodata
  18. BIN
      .shstrtab
  19. BIN
      .strtab
  20. BIN
      .symtab
  21. BIN
      .text
  22. BIN
      .typelink
  23. 0 0
      NULL
  24. BIN
      TMRWatchComm
  25. BIN
      TMRWatchComm.zip
  26. 1 1
      http/handle/api/ops.go
  27. 1 0
      http/handle/api/scheduled.go
  28. 1 1
      http/handle/ymy/ymy.go

+ 0 - 0
.bss


BIN
.data


BIN
.debug_abbrev


BIN
.debug_frame


BIN
.debug_gdb_scripts


BIN
.debug_info


BIN
.debug_line


BIN
.debug_loc


BIN
.debug_ranges


BIN
.go.buildinfo


BIN
.gopclntab


+ 0 - 0
.gosymtab


BIN
.itablink


+ 0 - 0
.noptrbss


BIN
.noptrdata


BIN
.note.go.buildid


BIN
.rodata


BIN
.shstrtab


BIN
.strtab


BIN
.symtab


BIN
.text


BIN
.typelink


+ 0 - 0
NULL


BIN
TMRWatchComm


BIN
TMRWatchComm.zip


+ 1 - 1
http/handle/api/ops.go

@@ -1097,7 +1097,7 @@ func GetRJSBData(c *gin.Context) {
 	returntype := fsion.Get("returntype").ValueDefaultStr("map")
 	month := fsion.Get("month").ValueDefaultStr("map")
 	logging.Info("GetUpkeepPlan ", c.Keys, sqlnamestr, month)
-	// pagecount = 1
+	pagecount = 1
 	tx := restful.Engine.NewSession()
 	err := tx.Begin()
 	defer func() {

+ 1 - 0
http/handle/api/scheduled.go

@@ -191,6 +191,7 @@ func CronScheduled(ctx context.Context) {
 	} else if setting.ServerSetting.SyncStatus == 8 {
 		InitMqttClient()
 	}
+
 	// manualUdData(pastureinfo)
 	// //圣牧自动同步前天有进行中的任务
 	// manualUdData(pastureinfo)

+ 1 - 1
http/handle/ymy/ymy.go

@@ -286,7 +286,7 @@ func YmyUtirPush(pastureId, farmId, date string) error {
 		now = time.Now().AddDate(0, 0, -1).Format("2006-01-02")
 	}
 
-	dataList, err := tx.SQL(`select  MD5(CONCAT(d.pid, d.mydate)) loadId , date_format(d1.date,'%Y-%m-%d')  dropDate,date_format(d1.date,'%Y-%m-%d')  loadDate,d.times loadShift,d.id  tmrNo,ft.tcode recipeId,ft.ccname recipeName,if(d1.feedcode = -1 ,d1.feedcode,f.feedcode) ingId,if(d1.feedcode = -1 ,d1.feedcode,f.feedcode) feedCode ,ifnull(f.fname,ftd.fname)  ingName,
+	dataList, err := tx.SQL(`select  MD5(CONCAT(d.pid, d.mydate)) loadId , date_format(d1.date,'%Y-%m-%d')  dropDate,date_format(d1.date,'%Y-%m-%d')  loadDate,d.times loadShift,d.id  tmrNo,ft.tcode recipeId,ft.ccname recipeName,'' ingId,'' feedCode ,ifnull(f.fname,ftd.fname)  ingName,
 	ifnull(ifnull(fc.fcname,(select fcname from feedclass fc1 join feed f1 on f1.fclassid = fc1.id where f1.id =ftd.fid )),'饲料') ingType,
 	ifnull(f.dry * d1.actualweightminus,0)  dmPct,d1.sort mixNo,ifnull(d1.feedallowratio,0) allowableError , if(f.fname is not null, ifnull(d1.lweight,''),	ifnull(ftd.fweight / (select sum(fweight)  from ftdetaildate  where  date =  d1.date and ftid = d1.fid ) *  d1.lweight,"") )  expWeight,