GPS拷表

This commit is contained in:
lixuebo 2019-08-14 15:20:37 +08:00
parent 558454afa7
commit 5e4acc265b

View File

@ -20,10 +20,12 @@ public class GPSDetailsTemporaryToFormal extends BaseBussiness{
String gpsVendor=this.getAttribute("gpsVendor").toString();
if(!"null".equals(gpsVendor)){
Map<String,String> fromCondtion=new HashMap<String,String>();
fromCondtion.put("PROJECT_ID", projectId);
fromCondtion.put(LM_GPS_ORDER_TEMP.PROJECT_ID, projectId);
Map<String,String> toCondtion=new HashMap<String,String>();
toCondtion.put(LM_GPS_ORDER.PROJECT_ID, projectId);
Map<String,String> otherProperty=new HashMap<String,String>();
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";
}