优化系统
This commit is contained in:
@@ -331,6 +331,9 @@ func Process(conn net.Conn, appIns *hotime.Application) {
|
||||
fmt.Println(client, sn, "添加新成品失败,请重新添加") // 读到了n个数据
|
||||
continue
|
||||
}
|
||||
|
||||
appIns.Db.Update("product", common.Map{"count[#]": "`count`+1"}, common.Map{"id": produce.GetCeilInt("product_id")})
|
||||
appIns.Db.Update("produce", common.Map{"now[#]": "`now`+1"}, common.Map{"id": produce.GetCeilInt("id")})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user