From a2cb0042faf880b9305f67f4d016a096ba5d9b31 Mon Sep 17 00:00:00 2001 From: zzk Date: Wed, 13 Apr 2022 17:18:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E5=80=BC=E9=80=BB=E8=BE=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/commbusiness/LBEquipmentFormalToTempBusiness.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBEquipmentFormalToTempBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBEquipmentFormalToTempBusiness.java index 0198aad80..af7ef9472 100644 --- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBEquipmentFormalToTempBusiness.java +++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/LBEquipmentFormalToTempBusiness.java @@ -54,7 +54,7 @@ public class LBEquipmentFormalToTempBusiness extends BaseBussiness { ratio = ratio.add(bd); Sqlca.executeSQL(new SqlObject("update lb_equipment_car_temp set retainfield2 = '"+PROPROTION_NUMBER+"' where FLOWUNID = '"+flowUnid+"' and FRAME_NUMBER = '"+FRAME_NUMBER02+"'")); }else { - BigDecimal gread = new BigDecimal(100); + BigDecimal gread = new BigDecimal(1); gread = gread.subtract(ratio); PROPROTION_NUMBER = gread.toString(); Sqlca.executeSQL(new SqlObject("update lb_equipment_car_temp set retainfield2 = '"+PROPROTION_NUMBER+"' where FLOWUNID = '"+flowUnid+"' and FRAME_NUMBER = '"+FRAME_NUMBER02+"'"));