From d11f20e38e243660d673ed61b8fb6c409c66d9d5 Mon Sep 17 00:00:00 2001 From: e Date: Mon, 17 Dec 2018 08:21:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E9=87=8F=E5=85=A8=E9=83=A8=E6=94=B9?= =?UTF-8?q?=E4=B8=BADOUBLE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zzjee/wmutil/wmUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/zzjee/wmutil/wmUtil.java b/src/main/java/com/zzjee/wmutil/wmUtil.java index 4a2478b8..7d465557 100644 --- a/src/main/java/com/zzjee/wmutil/wmUtil.java +++ b/src/main/java/com/zzjee/wmutil/wmUtil.java @@ -285,7 +285,7 @@ public class wmUtil { + " group by ws.ku_wei_bian_ma,ws.bin_id,ws.goods_id,mb.qu_huo_ci_xu, ws.goods_pro_data order by ws.goods_pro_data , ws.goods_qua ,mb.qu_huo_ci_xu,ws.create_date desc"; List> result= systemService.findForJdbc(tsql, binid,tinid,goods,prodate); if(result.size() > 0) { - if(Long.parseLong(result.get(0).get("goods_qua").toString())>=Long.parseLong(basecount)){ + if(Double.parseDouble(result.get(0).get("goods_qua").toString())>=Double.parseDouble(basecount)){ flag = true; } }