From 5e4acc265b92ebbee16b3428e8a97bffc0a6a149 Mon Sep 17 00:00:00 2001 From: lixuebo Date: Wed, 14 Aug 2019 15:20:37 +0800 Subject: [PATCH] =?UTF-8?q?GPS=E6=8B=B7=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../onhirechange/GPSDetailsTemporaryToFormal.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/GPSDetailsTemporaryToFormal.java b/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/GPSDetailsTemporaryToFormal.java index abbeb20cf..457b1b436 100644 --- a/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/GPSDetailsTemporaryToFormal.java +++ b/src_tenwa/com/tenwa/lease/flow/contract/onhirechange/GPSDetailsTemporaryToFormal.java @@ -20,10 +20,12 @@ public class GPSDetailsTemporaryToFormal extends BaseBussiness{ String gpsVendor=this.getAttribute("gpsVendor").toString(); if(!"null".equals(gpsVendor)){ Map fromCondtion=new HashMap(); - fromCondtion.put("PROJECT_ID", projectId); + fromCondtion.put(LM_GPS_ORDER_TEMP.PROJECT_ID, projectId); + Map toCondtion=new HashMap(); + toCondtion.put(LM_GPS_ORDER.PROJECT_ID, projectId); Map otherProperty=new HashMap(); - otherProperty.put("PROJECT_ID", projectId); - DataOperatorUtil.copyJBOSet(LM_GPS_ORDER_TEMP.CLASS_NAME, fromCondtion, LM_GPS_ORDER.CLASS_NAME,otherProperty,null,null,Sqlca); + otherProperty.put(LM_GPS_ORDER.FLOWUNID,this.getAttribute("FlowUnid").toString()); + DataOperatorUtil.copySingleJBO(LM_GPS_ORDER_TEMP.CLASS_NAME,fromCondtion,LM_GPS_ORDER.CLASS_NAME,toCondtion,null,Sqlca); } return "true"; }