baishaojie před 1 týdnem
rodič
revize
bf4bdd053b
28 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 0 0
      .bss
  2. binární
      .data
  3. binární
      .debug_abbrev
  4. binární
      .debug_frame
  5. binární
      .debug_gdb_scripts
  6. binární
      .debug_info
  7. binární
      .debug_line
  8. binární
      .debug_loc
  9. binární
      .debug_ranges
  10. binární
      .go.buildinfo
  11. binární
      .gopclntab
  12. 0 0
      .gosymtab
  13. binární
      .itablink
  14. 0 0
      .noptrbss
  15. binární
      .noptrdata
  16. binární
      .note.go.buildid
  17. binární
      .rodata
  18. binární
      .shstrtab
  19. binární
      .strtab
  20. binární
      .symtab
  21. binární
      .text
  22. binární
      .typelink
  23. 0 0
      NULL
  24. binární
      TMRWatchComm
  25. binární
      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ární
.data


binární
.debug_abbrev


binární
.debug_frame


binární
.debug_gdb_scripts


binární
.debug_info


binární
.debug_line


binární
.debug_loc


binární
.debug_ranges


binární
.go.buildinfo


binární
.gopclntab


+ 0 - 0
.gosymtab


binární
.itablink


+ 0 - 0
.noptrbss


binární
.noptrdata


binární
.note.go.buildid


binární
.rodata


binární
.shstrtab


binární
.strtab


binární
.symtab


binární
.text


binární
.typelink


+ 0 - 0
NULL


binární
TMRWatchComm


binární
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,