业务申请带出产品名称字段数值

This commit is contained in:
user 2018-06-29 17:15:14 +08:00
parent e74a7c8ee6
commit 0ab95ef02f
2 changed files with 14 additions and 1 deletions

View File

@ -105,7 +105,8 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
bo.setAttributeValue("BUSINESSTYPE", this.getAttribute("businessType"));
bo.setAttributeValue("LEAS_FORM", this.getAttribute("leasehold"));//租赁方式
bo.setAttributeValue("PRODUCT_ID",this.getAttribute("ProductId"));//业务品种编号
bo.setAttributeValue("PRODUCT_NAME",this.getAttribute("carAttributes"));//业务品种名称
bo.setAttributeValue("PRODUCT_NAME",this.getAttribute("ProductName"));//业务品种名称
bo.setAttributeValue("CAR_TYPE",this.getAttribute("carAttributes"));
bo.setAttributeValue("PROJECT_STATUS","0");
bo.setAttributeValue("Is_Flow","inFlow");//在流程中-inFlow流程结束-outFlow
bo.setAttributeValue("InputOrgID", asUser.getOrgID());

View File

@ -48,6 +48,7 @@ public class BusinessApprovalStartAction extends BaseFlowStartAction{
private String price;
private String liter;
private String geartype;
private String ProductName;
@Override
public void customOperation(JBOTransaction tx,BizObject flowBussiness) throws Exception {
@ -72,9 +73,20 @@ public class BusinessApprovalStartAction extends BaseFlowStartAction{
this.FlowParam.put("price", this.getPrice());
this.FlowParam.put("liter", this.getLiter());
this.FlowParam.put("geartype", this.getGeartype());
this.FlowParam.put("ProductName", this.getProductName());
}
public String getProductName() {
return ProductName;
}
public void setProductName(String productName) {
ProductName = productName;
}
public String getGeartype() {
return geartype;
}