From 5ac3796083787d7906f60d2eb37a34515d0c6799 Mon Sep 17 00:00:00 2001 From: amarsoft Date: Sun, 24 Jun 2018 20:51:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E7=94=B3=E8=AF=B7=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E8=B7=AF=E7=94=B1=E6=96=B9=E6=B3=95=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../businessapply/LBAfterBusinessThree.java | 43 +++++++++++++++++++ .../businessapply/LBAfterBusinessTwo.java | 43 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 src_tenwa/com/tenwa/lease/flow/project/businessapply/LBAfterBusinessThree.java create mode 100644 src_tenwa/com/tenwa/lease/flow/project/businessapply/LBAfterBusinessTwo.java diff --git a/src_tenwa/com/tenwa/lease/flow/project/businessapply/LBAfterBusinessThree.java b/src_tenwa/com/tenwa/lease/flow/project/businessapply/LBAfterBusinessThree.java new file mode 100644 index 000000000..64f3dd986 --- /dev/null +++ b/src_tenwa/com/tenwa/lease/flow/project/businessapply/LBAfterBusinessThree.java @@ -0,0 +1,43 @@ +package com.tenwa.lease.flow.project.businessapply; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import jbo.app.tenwa.calc.LC_CALC_CONDITION; +import jbo.app.tenwa.calc.LC_CALC_CONDITION_TEMP; +import jbo.com.tenwa.lease.comm.LB_EQUIPMENT_CAR; + +import com.amarsoft.app.lc.workflow.action.GetFlowAction; +import com.amarsoft.are.jbo.BizObject; +import com.amarsoft.are.jbo.BizObjectManager; +import com.amarsoft.are.jbo.JBOFactory; +import com.amarsoft.awe.util.Transaction; +import com.tenwa.flow.baseBussion.BaseBussiness; +import com.tenwa.lease.flow.comm.service.LeaseFlowBaseService; +import com.tenwa.lease.flow.comm.service.ServiceOperatorEnum; +import com.tenwa.lease.flow.comm.serviceImp.LeaseFlowBaseServiceImp; + +public class LBAfterBusinessThree extends BaseBussiness { + + @Override + public Object run(Transaction Sqlca) throws Exception { + this.initBussinessParam(Sqlca); + String flowUnid=this.getAttribute("ObjectNo").toString(); + String ContractId = this.getAttribute("ContractId").toString(); + + BizObjectManager lecbom = JBOFactory.getBizObjectManager(LC_CALC_CONDITION_TEMP.CLASS_NAME, Sqlca); + BizObject condition = lecbom.createQuery("FlowUnid=:flowunid").setParameter("flowunid",flowUnid).getSingleResult(false); + String sMessage=""; + Double money=condition.getAttribute("clean_lease_money").getDouble(); + if(200000