定义合同制作发起流程属性

This commit is contained in:
tangfutang 2018-10-09 14:33:15 +08:00
parent e777435f40
commit f781b3d35c
2 changed files with 23 additions and 1 deletions

View File

@ -83,7 +83,7 @@ public class BusinessCustomerInfoHandler extends CommonHandler {
lpitNew.setAttributeValue("AFFILIATEDADDRESS", bo.getAttribute("AFFILIATEDADDRESS"));
lpitManage.saveObject(lpitNew);
}else{
if("1".equals(bo.getAttribute("IS_NETCAR"))){
if("1".equals(bo.getAttribute("IS_NETCAR").toString())){
lpit.setAttributeValue("IS_NETCAR", bo.getAttribute("IS_NETCAR"));
lpit.setAttributeValue("IS_OPERATION", bo.getAttribute("IS_OPERATION"));
lpit.setAttributeValue("IS_AFFILIATED", bo.getAttribute("IS_AFFILIATED"));

View File

@ -21,6 +21,9 @@ import com.tenwa.util.SerialNumberUtil;
*
*/
public class ContractApprovalStartAction extends BaseFlowStartAction{
private String customertype;
private String leasform;
private String carAttributes;
@Override
public void customOperation(JBOTransaction tx, BizObject flowBussiness)throws Exception {
String contractId= UUID.randomUUID().toString().replaceAll("-", "");
@ -69,4 +72,23 @@ public class ContractApprovalStartAction extends BaseFlowStartAction{
this.FlowParam.put("leasform", leasform);
this.FlowParam.put("carAttributes", carAttributes);
}
public String getCustomertype() {
return customertype;
}
public void setCustomertype(String customertype) {
this.customertype = customertype;
}
public String getLeasform() {
return leasform;
}
public void setLeasform(String leasform) {
this.leasform = leasform;
}
public String getCarAttributes() {
return carAttributes;
}
public void setCarAttributes(String carAttributes) {
this.carAttributes = carAttributes;
}
}