diff --git a/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrack.jsp b/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrack.jsp
index 936d2d6ae..bc97ee385 100644
--- a/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrack.jsp
+++ b/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrack.jsp
@@ -1,4 +1,5 @@
<%@page import="cn.bean.User"%>
+<%@ page import="com.amarsoft.app.util.ASUserObject" %>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
<%@include file="/Tenwa/Core/FlowManager/BaseFunction/BaseFlowListFunction.jspf" %>
@@ -33,14 +34,13 @@
<%
String soft = CurPage.getParameter("soft");
String userId = CurUser.getUserID();
-
ASObjectModel doTemp = new ASObjectModel("FlowInstanceTrack3");
doTemp.setDataQueryClass("com.amarsoft.awe.dw.ui.list.FlowMonitorListHtmlGenerator");
String ros = "true";
if("业务申请分担".equals(soft)){
ros = "false";
- doTemp.appendJboWhere("( (O.flow_name='业务申请流程' and O.PHASENAME='信审初审') or ( O.flow_name='业务变更流程' and O.PHASENAME='信审专员初审') )");
+ doTemp.appendJboWhere("( (O.APPLYTYPE='BusinessApplyApply' and O.PHASENO in ('0030','0040','0050','0051','0052') ) or ( O.flow_name='业务变更流程' and O.PHASENAME='信审专员初审') )");
};
if("付款业务分担".equals(soft)){
ros = "false";
diff --git a/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrackBusiness.jsp b/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrackBusiness.jsp
new file mode 100644
index 000000000..8120af5ba
--- /dev/null
+++ b/WebContent/Tenwa/Core/FlowInstanceTrack/FlowInstanceTrackBusiness.jsp
@@ -0,0 +1,64 @@
+<%@page import="cn.bean.User"%>
+<%@ page contentType="text/html; charset=GBK"%>
+<%@ include file="/Frame/resources/include/include_begin_list.jspf"%>
+<%@include file="/Tenwa/Core/FlowManager/BaseFunction/BaseFlowListFunction.jspf" %>
+<%
+ String PG_TITLE = "流程实例跟踪"; // 浏览器窗口标题
PG_TITLE
+
+ String soft = CurPage.getParameter("soft");
+ String userId = CurUser.getUserID();
+ ArrayList roleList = CurUser.getRoleTable();
+ String isRisk = "false";
+ if( roleList!=null && roleList.size()>0 ){
+ for(int i=0 ;i
+<%@include file="/Frame/resources/include/ui/include_list.jspf"%>
+
+<%/*~END~*/%>
+<%/*~BEGIN~可编辑区~[Editable=false;CodeAreaID=List08;Describe=页面装载时,进行初始化;]~*/%>
+
+<%/*~END~*/%>
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
diff --git a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/LoanedInfo.jsp b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/LoanedInfo.jsp
index a63ec5ee2..db18776e7 100644
--- a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/LoanedInfo.jsp
+++ b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/LoanedInfo.jsp
@@ -49,10 +49,10 @@
}
let sTaskNo = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getFlowEndRelativeTaskNo", "ObjectNo="+flowunid+",projectId="+projectId);
if(typeof(sTaskNo)=="undefined" || sTaskNo.length==0) {
- alert("流程未结束,无法查看!");
+ alert("流程任务不存在,请联系管理员!");
return;
}
- var param ="TaskNo="+sTaskNo+"&ViewID=001&RightType=ReadOnly&delTabs=扣款卡信息,客户历史信息查询";
+ var param ="TaskNo="+sTaskNo+"&ViewID=001&RightType=ReadOnly&IsHistory=true&delTabs=扣款卡信息,客户历史信息查询";
AsControl.OpenNewWin("/Tenwa/Core/FlowManager/FlowPage/FlowPageViewTab.jsp",param)
}
diff --git a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/OutstandInfo.jsp b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/OutstandInfo.jsp
index 9eda496ae..94eb74ba9 100644
--- a/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/OutstandInfo.jsp
+++ b/WebContent/Tenwa/Customer/Lessee/Comm/CustomerHistory/OutstandInfo.jsp
@@ -42,16 +42,17 @@
function viewHisTabLocal() {
var flowunid = getItemValue(0,getRow(),"FLOWUNID");
var projectId = getItemValue(0,getRow(),"PROJECT_ID");
+ var businessStatus = getItemValue(0,getRow(),"BUSINESS_STATUS")
if (flowunid.length == 0 && projectId.length == 0) {
alert(getHtmlMessage('1'));//请选择一条信息!
return;
}
- let sTaskNo = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getFlowEndRelativeTaskNo", "ObjectNo="+flowunid+",projectId="+projectId);
+ let sTaskNo = AsControl.RunJavaMethodTrans("com.amarsoft.app.flow.FlowAction","getFlowEndRelativeTaskNo", "ObjectNo="+flowunid+",businessStatus="+businessStatus+",projectId="+projectId);
if(typeof(sTaskNo)=="undefined" || sTaskNo.length==0) {
- alert("流程未结束,无法查看!");
+ alert("流程任务不存在,请联系管理员!");
return;
}
- var param ="TaskNo="+sTaskNo+"&ViewID=001&RightType=ReadOnly&delTabs=扣款卡信息,客户历史信息查询";
+ var param ="TaskNo="+sTaskNo+"&ViewID=001&RightType=ReadOnly&IsHistoryNew=true&delTabs=扣款卡信息,客户历史信息查询";
AsControl.OpenNewWin("/Tenwa/Core/FlowManager/FlowPage/FlowPageViewTab.jsp",param)
}
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp
index 1d15773aa..9ca1d90eb 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/ApprovalForm.jsp
@@ -18,6 +18,7 @@
String flowunid = CurPage.getParameter("FlowUnid");
String flowName = CurPage.getParameter("FlowName");//获取流程名称
String projectId = CurPage.getParameter("ProjectId");//获取项目id
+ String riskParam = CurComp.getParameter("riskParam");
String clean_lease_money = Sqlca.getString("select CLEAN_LEASE_MONEY from LC_CALC_CONDITION_TEMP where flowunid='"+flowunid+"'");
//获取合同状态
String projectstatus = Sqlca.getString("select PROJECT_STATUS from lb_project_info where id='"+projectId+"'");
@@ -36,6 +37,15 @@
doTemp.setHtmlEvent("firstchoice","onChange","changeFirstChoice");
doTemp.setHtmlEvent("secondchoice","onChange","changeSecondChoice");
doTemp.setHtmlEvent("thirdchoice","onChange","changeThirdChoice");
+
+ String falg = "true";
+ if ( (riskParam!=null && riskParam.length() > 0 ) || "0010,0020".indexOf(phaseNo)>-1 ){
+ falg = "false";
+ doTemp.setReadOnly("FIRSTCHOICE",true);
+ doTemp.setReadOnly("FIRSTOPINION",true);
+ doTemp.setReadOnly("SECONDCHOICE",true);
+ doTemp.setReadOnly("SECONDOPINION",true);
+ }
ASObjectWindowCalc dwTemp = new ASObjectWindowCalc(CurPage, doTemp,request);
dwTemp.Style = "2";//freeform
dwTemp.setAttr("inputWidth", "163");
@@ -60,13 +70,13 @@
//复审意见展示
- if("业务申请流程".equals(flowName)&&("0040".equals(phaseNo)||"0050".equals(phaseNo)||"0060".equals(phaseNo)||"0070".equals(phaseNo)||"0080".equals(phaseNo))){
+ if("业务申请流程".equals(flowName)&&("0040".equals(phaseNo)||"0050".equals(phaseNo)||"0051".equals(phaseNo)||"0052".equals(phaseNo)||"0053".equals(phaseNo))){
doTemp.setVisible("VETO",true);
}else {
doTemp.setVisible("VETO",false);
}
- if(("业务申请流程".equals(flowName)||"业务变更流程".equals(flowName))&&("0030".equals(phaseNo)||"0040".equals(phaseNo)||"0050".equals(phaseNo)||"0060".equals(phaseNo)||"0070".equals(phaseNo))){
+ if(("业务申请流程".equals(flowName)||"业务变更流程".equals(flowName))&&("0030".equals(phaseNo)||"0040".equals(phaseNo)||"0050".equals(phaseNo)||"0051".equals(phaseNo)||"0052".equals(phaseNo)||"0053".equals(phaseNo))){
dwTemp.getDataObject().setVisible("subjectname", true);
}else {
dwTemp.getDataObject().setVisible("subjectname", false);
@@ -89,7 +99,7 @@
// dwTemp.getDataObject().setReadOnly("InterOpinion2", true);
dwTemp.setGroupHidden("0040,0050");
}
- }else if("0040".equals(phaseNo)||"0050".equals(phaseNo)){//复审
+ }else if("0040".equals(phaseNo)||"0050".equals(phaseNo)||"0051".equals(phaseNo)||"0052".equals(phaseNo)||"0053".equals(phaseNo)){//复审
dwTemp.getDataObject().setVisible("firstchoice", true);
dwTemp.getDataObject().setVisible("firstopinion", true);
dwTemp.getDataObject().setReadOnly("firstchoice", true);
@@ -197,7 +207,7 @@
dwTemp.genHTMLObjectWindow(flowunid);
String sButtons[][] = {
- {"0010,0020".indexOf(phaseNo)>-1?"false":"true","","Button","保存","保存所有修改","save()","","","",""}
+ {falg,"","Button","保存","保存所有修改","save()","","","",""}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
-<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp
index 5ce85d2a3..6df0e952d 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/CustomerFamilyJoinTempInfo.jsp
@@ -4,7 +4,7 @@
/*
Author: undefined 2018-06-27
Content: 示例详情页面
- History Log:
+ History Log:
*/
String sPrevUrl = CurPage.getParameter("PrevUrl");
String customerType = CurPage.getParameter("CustomerType");
@@ -15,8 +15,9 @@
String showtype = CurPage.getParameter("ShowType");
String sPhaseNo=CurPage.getParameter("PhaseNo");
String IsHistory = CurPage.getParameter("IsHistory");
+ String ishistoryNew = CurComp.getParameter("IsHistoryNew");
if(sPrevUrl == null) sPrevUrl = "";
-
+
String falg = "false";
if("0010".equals(sPhaseNo) || "0020".equals(sPhaseNo) ){
@@ -59,7 +60,8 @@
}else{
dwTemp.genHTMLObjectWindow(FlowUnid);
}
- }
+ }
+ if ("true".equals(ishistoryNew)) falg = "false";
String sButtons[][] = {
//{"true","","Button","新增","新增","newRecord()","","","","btn_icon_add"},
{falg,"","Button","保存","保存","viewAndEdit()","","","","btn_icon_edit"},
@@ -96,7 +98,7 @@
//$("#FULLNAME").attr("style","color:red;");
$("#TEL").css("color","red");
}
-
+
var certResult = checkCertIdAll();
if(certResult=="4"){
//$("#FULLNAME").attr("style","color:red;");
@@ -227,11 +229,11 @@
}
if("Ind01"==certtype){
if(certId.length!=18){
- setErrorTips("certid","身份证必须是18位!");
+ setErrorTips("certid","身份证必须是18位!");
return false;
}
if(CheckLicense(certId)){
- setErrorTips("certid","");
+ setErrorTips("certid","");
return true;
}else{
setErrorTips("certId","身份证格式不正确!");
@@ -267,7 +269,7 @@
return false;
} */
}
-
+
function checkSuphone(){//校验单位电话格式和不为空
var suphone = getItemValue(0,getRow(0),"suphone");
if(suphone==""){
@@ -284,7 +286,7 @@
return false;
}
}
-
+
function checkTelRepeat(){//校验共同申请人手机号重复
var customerType = "03";
var tel = getItemValue(0,getRow(),"tel");
@@ -417,7 +419,7 @@
function returnList(){
AsControl.OpenView("<%=sPrevUrl%>", "","_self","");
}
-
+
//根据身份证号判断性别
function ValidityCheck(){
var certID = getItemValue(0,getRow(),"CERTID");
@@ -447,7 +449,7 @@
}else{
setItemReadOnly(0,0,"SEX",false);
}
-
+
checkCertidRepeat();
birthdayCheck();
}
@@ -488,7 +490,7 @@
setErrorTips("CERTID","");
return true;
}
-
+
function checkMobileAll(mobile){//检验所有手机号
var sParams = "mobile="+mobile+",flowunid="+"<%=flowunid%>";
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkTel",sParams);
@@ -500,8 +502,8 @@
var sReturnInfo = RunJavaMethodTrans("com.tenwa.lease.flow.project.businessapply.CustomerInfoCheck","checkCertIdAll",sParams);
return sReturnInfo;
}
-
- function deleteRecord(){
+
+ function deleteRecord(){
var ID = getItemValue(0,getRow(),"ID");
if(typeof(ID) == "undefined" || ID.length == 0 ){
alert("无数据可删除 ");
@@ -514,4 +516,4 @@
}
}
-<%@ include file="/Frame/resources/include/include_end.jspf"%>
\ No newline at end of file
+<%@ include file="/Frame/resources/include/include_end.jspf"%>
diff --git a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/RCScoreResult.jsp b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/RCScoreResult.jsp
index dd2fe370b..fc949d57b 100644
--- a/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/RCScoreResult.jsp
+++ b/WebContent/Tenwa/Lease/Flow/Project/BusinessApplication/RCScoreResult.jsp
@@ -12,6 +12,7 @@
String projectNo=CurPage.getParameter("ProjectNo");//项目编号
String phaseNo=CurPage.getParameter("PhaseNo");//流程节点
String flowNo=CurPage.getParameter("FlowNo");//流程编号
+ String riskParam = CurComp.getParameter("riskParam");
String compClientID = CurPage.getParameter("CompClientID");
String detailUrl = "/Tenwa/Lease/Flow/Project/BusinessApplication/RCScoreResultDetail.jsp?CompClientID=";
String sTempletNo = "queryScoreResult";//--模板号--
@@ -24,12 +25,21 @@
+sWebRootPath+detailUrl+compClientID+"&flowunid="+sFlowUnid+"&projectNo="+projectNo+"\">", CurPage.getObjectWindowOutput());
System.out.println("info ----- >" +sFlowUnid);
-
+ String isHistory=CurPage.getParameter("IsHistory");
+
+ String falg = "true";
+ String falgResult = "true";
+ if(riskParam!=null && riskParam.length() > 0 && "false".equals(riskParam)){// 说明从业务信息过来的数据,并且对应角色中没有需要显示的数据
+ falg = "false";
+ falgResult = "false";
+ }else if("true".equals(isHistory)){
+ falg = "false";
+ }
String sButtons[][] = {
- {"true","","Button","评分请求","评分请求","amp()","","","","btn_icon_saveNew",""},
- {"true","","Button","反欺诈","反欺诈","afs()","","","","btn_icon_saveNew",""},
- {"true","","Button","查询评分结果","查询评分结果","queryScoreResult()","","","","btn_icon_saveNew",""},
- {"true","","Button","查询评分报告","查询评分报告","queryScoreResultUrl()","","","","btn_icon_saveNew",""}
+ {falg,"","Button","评分请求","评分请求","amp()","","","","btn_icon_saveNew",""},
+ {falg,"","Button","反欺诈","反欺诈","afs()","","","","btn_icon_saveNew",""},
+ {falgResult,"","Button","查询评分结果","查询评分结果","queryScoreResult()","","","","btn_icon_saveNew",""},
+ {falgResult,"","Button","查询评分报告","查询评分报告","queryScoreResultUrl()","","","","btn_icon_saveNew",""}
};
%><%@ include file="/Frame/resources/include/ui/include_info.jspf"%>
diff --git a/WebContent/WEB-INF/etc/jbo/jbo_oti.xml b/WebContent/WEB-INF/etc/jbo/jbo_oti.xml
index 1e779c77e..fcce21e71 100644
--- a/WebContent/WEB-INF/etc/jbo/jbo_oti.xml
+++ b/WebContent/WEB-INF/etc/jbo/jbo_oti.xml
@@ -882,6 +882,7 @@
+
diff --git a/src/com/amarsoft/app/flow/FlowAction.java b/src/com/amarsoft/app/flow/FlowAction.java
index 606b46a46..25287429d 100644
--- a/src/com/amarsoft/app/flow/FlowAction.java
+++ b/src/com/amarsoft/app/flow/FlowAction.java
@@ -69,6 +69,7 @@ public class FlowAction {
private String AssignSumbitType;// 指派处理方式
private String nextNodeType;
private String projectId; //项目id
+ private String businessStatus; //业务状态
private FlowService flowService;
@@ -236,6 +237,14 @@ public class FlowAction {
return projectId;
}
+ public String getBusinessStatus() {
+ return businessStatus;
+ }
+
+ public void setBusinessStatus(String businessStatus) {
+ this.businessStatus = businessStatus;
+ }
+
//处理重复提交数据重复,只适用单体服务
private static Set taskSet = new HashSet<>();
@@ -747,16 +756,29 @@ public class FlowAction {
*/
public String getFlowEndRelativeTaskNo(JBOTransaction tx) throws Exception {
String taskSerialNo = "";
- String sql = "select ft.RELATIVESERIALNO from flow_bussiness_object fbo join flow_task ft on fbo.flow_unid = ft.objectno where fbo.flow_name = '业务申请流程' and ft.phaseno = '1000'";
- if (StringUtils.isNotBlank(objectNo)) {
- sql += " and fbo.flow_unid = '" + objectNo + "'";
- } else {
- sql += " and fbo.proj_id = '" + projectId + "'";
- }
+ String sql = null;
Transaction Sqlca = Transaction.createTransaction(tx);
- ASResultSet asResultSet = Sqlca.getASResultSet(new SqlObject(sql));
- if (asResultSet.next()) {
- taskSerialNo = asResultSet.getString("RELATIVESERIALNO");
+ if (StringUtils.isNotBlank(businessStatus)) { //流程中处理
+ if ("业务取消".equals(businessStatus)) {
+ sql = "select serialno as RELATIVESERIALNO from flow_task where objectno = '" + objectNo + "' order by begintime desc limit 1";
+ } else {
+ sql = "select ft.serialno as RELATIVESERIALNO from flow_task ft join flow_object fo on ft.objectno = fo.objectno and ft.phaseno = fo.phaseno where ft.objectno = '" + objectNo + "'";
+ }
+ ASResultSet as = Sqlca.getASResultSet(new SqlObject(sql));
+ if (as.next()) {
+ taskSerialNo = as.getString("RELATIVESERIALNO");
+ }
+ } else {
+ sql = "select ft.RELATIVESERIALNO from flow_bussiness_object fbo join flow_task ft on fbo.flow_unid = ft.objectno where fbo.flow_name = '业务申请流程' and ft.phaseno = '1000'";
+ if (StringUtils.isNotBlank(objectNo)) {
+ sql += " and fbo.flow_unid = '" + objectNo + "'";
+ } else {
+ sql += " and fbo.proj_id = '" + projectId + "'";
+ }
+ ASResultSet asResultSet = Sqlca.getASResultSet(new SqlObject(sql));
+ if (asResultSet.next()) {
+ taskSerialNo = asResultSet.getString("RELATIVESERIALNO");
+ }
}
return taskSerialNo;
}
diff --git a/src/com/ample/esb/controller/AmpController.java b/src/com/ample/esb/controller/AmpController.java
index 82a89b12f..113a88160 100644
--- a/src/com/ample/esb/controller/AmpController.java
+++ b/src/com/ample/esb/controller/AmpController.java
@@ -1,6 +1,7 @@
package com.ample.esb.controller;
import com.amarsoft.are.jbo.*;
+import com.amarsoft.are.util.StringFunction;
import com.amarsoft.dict.als.manage.NameManager;
import com.ample.esb.bean.esb.MessageEsbHead;
import com.ample.esb.bean.esb.Transaction;
@@ -22,9 +23,11 @@ public class AmpController {
Map map = new HashMap();
map.put("flowUnid",flowUnid);
map.put("operatorId",operatorId);
+ map.put("tranNo",DateUtils.dateTimeNowAccurate());
AmpService as = new AmpServiceImpl(map);
Transaction tran = as.transactionDo();
String result = resultAnalysis(tran);
+ saveScoreLog(tran,map.get("tranNo"));
as.resetFraudTakenCode();
return result;
}
@@ -32,7 +35,7 @@ public class AmpController {
public String resultAnalysis(Transaction tran){
String response = "";
String retCode = tran.getMessageEsbHead().getRetCode();
- saveScoreLog(tran);
+
if("000000".equals(retCode)){
response = "操作成功!";
}else{
@@ -40,7 +43,7 @@ public class AmpController {
}
return response;
}
- public void saveScoreLog(com.ample.esb.bean.esb.Transaction tran){
+ public void saveScoreLog(com.ample.esb.bean.esb.Transaction tran,String tranNo){
BizObjectManager bom = null;
try {
bom = JBOFactory.getBizObjectManager("jbo.oti.RC_SCORE_LOG");
@@ -53,10 +56,11 @@ public class AmpController {
String userName = NameManager.getUserName(operatorId);
bo.setAttributeValue("INPUTUSERNAME",userName);
bo.setAttributeValue("FLOW_UNID",flowUnid);
- bo.setAttributeValue("INPUTTIME", DateUtils.dateTimeNow());
+ bo.setAttributeValue("INPUTTIME", StringFunction.getTodayNow());
String retCode = tran.getMessageEsbHead().getRetCode();
bo.setAttributeValue("RET_CODE", retCode);
bo.setAttributeValue("PROJECT_NO", projectNo);
+ bo.setAttributeValue("TRAN_NO", tranNo);
bom.saveObject(bo);
} catch (JBOException e) {
e.printStackTrace();
diff --git a/src/com/ample/esb/service/impl/AmpServiceImpl.java b/src/com/ample/esb/service/impl/AmpServiceImpl.java
index 1c041bde1..102e15cc4 100644
--- a/src/com/ample/esb/service/impl/AmpServiceImpl.java
+++ b/src/com/ample/esb/service/impl/AmpServiceImpl.java
@@ -33,9 +33,11 @@ import java.util.*;
public class AmpServiceImpl extends EsbCommon implements AmpService {
private String flowUnid;
private String operatorId;
+ private String tranNo;
public AmpServiceImpl(Map map){
setFlowUnid(map.get("flowUnid"));
setOperatorId(map.get("operatorId"));
+ setTranNo(map.get("tranNo"));
}
public void resetFraudTakenCode(){
BizObjectManager bom = null;
@@ -133,6 +135,7 @@ public class AmpServiceImpl extends EsbCommon implements AmpService {
private BizObject boCft;
//经销商正式表
private BizObject boDi;
+
/**
* 往bean里面填值
* @throws JBOException
@@ -996,7 +999,7 @@ public class AmpServiceImpl extends EsbCommon implements AmpService {
app.setNumber(number);
app.setApplicationType("APF");
app.setOriginalSystemId("APF");
- app.setTranNo(DateUtils.dateTimeNowAccurate());
+ app.setTranNo(tranNo);
app.setFirstProposalDate(minTime);
app.setLastProposalDate(maxTime);
app.setFaName(faName);
@@ -1204,4 +1207,12 @@ public class AmpServiceImpl extends EsbCommon implements AmpService {
public void setOperatorId(String operatorId) {
this.operatorId = operatorId;
}
+
+ public String getTranNo() {
+ return tranNo;
+ }
+
+ public void setTranNo(String tranNo) {
+ this.tranNo = tranNo;
+ }
}
diff --git a/src_jbo/jbo/oti/RC_SCORE_LOG.java b/src_jbo/jbo/oti/RC_SCORE_LOG.java
index d3ab1cfa9..de91499da 100644
--- a/src_jbo/jbo/oti/RC_SCORE_LOG.java
+++ b/src_jbo/jbo/oti/RC_SCORE_LOG.java
@@ -53,4 +53,9 @@ public interface RC_SCORE_LOG {
public static final String FRAUD_TAKEN_CODE = "FRAUD_TAKEN_CODE";
public static final String SCORE_RESULT_CODE = "SCORE_RESULT_CODE";
+
+ /**
+ * 流水号 STRING(20)
+ */
+ public static final String TRAN_NO = "TRAN_NO";
}
\ No newline at end of file
diff --git a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/ProjectHisInsertBusiness.java b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/ProjectHisInsertBusiness.java
index 32cacdd8b..75d64a02a 100644
--- a/src_tenwa/com/tenwa/lease/flow/project/commbusiness/ProjectHisInsertBusiness.java
+++ b/src_tenwa/com/tenwa/lease/flow/project/commbusiness/ProjectHisInsertBusiness.java
@@ -15,8 +15,7 @@ public class ProjectHisInsertBusiness extends BaseBussiness {
@Override
public Object run(Transaction Sqlca) throws Exception {
- this.initBussinessParam(Sqlca);
- String flowunid = this.getAttribute("FlowUnid").toString();
+ String flowunid = this.getAttribute("ObjectNo").toString();
StringBuilder querySqlSb = new StringBuilder();
querySqlSb.append(" select certid from customer_family_temp where Partner_ = 'Y' and flowunid = '"+flowunid+"'")