Pārlūkot izejas kodu

圣牧自动补料

baishaojie 2 dienas atpakaļ
vecāks
revīzija
b16f5c995f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      http/handle/api/ops.go

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

@@ -10693,7 +10693,7 @@ func FpdBatchEditGrfd(pastureid string, barList []map[string]string) {
 			// 	return
 			// }
 			// }
-		// 	count, err := tx.SQL(` select count(1) from lpplandtl1 where pastureid = ? and  lppid in(select  id from lpplan where pastureid = ? and times = ?  )
+		// 	count,err := tx.SQL(` select count(1) from lpplandtl1 where pastureid = ? and  lppid in(select  id from lpplan where pastureid = ? and times = ?  )
 		// and find_in_set(barid,(select barid from feedp where id = ?  ))  and lweight > 0 `, pastureid, pastureid, ftmap["times"], id).Count()
 		// if count == 1 {
 		// 	_, err = tx.SQL(` update  lpplandtl1  set lweight = 0 where pastureid = ? and  lppid in(select  id from lpplan where pastureid = ?  and times = ? )