1.更改回盘状态规则。

This commit is contained in:
zhangbb 2019-01-03 13:41:54 +08:00
parent a8671d7fdc
commit d554132ac2

View File

@ -221,7 +221,7 @@ public class CmbToCallbackController extends BaseFlowStartAction {
distributor_id=di.getAttribute("DISTRIBUTOR_ID").toString();
String sql2 = "update O left join jbo.com.tenwa.lease.comm.LB_CONTRACT_INFO lci on lci.id=O.contract_id"
+" left join jbo.com.tenwa.lease.comm.LC_FUND_INCOME_CALLBACK_DETAIL_TEMP tt on tt.DISTRIBUTOR_ID=lci.distributor_id"
+" and O.FLOWUNID=tt.FLOWUNID set O.EBANK_STATUS=case when tt.RTNFLG='S' then '05' else '04' end where O.FLOWUNID='"+FLOWUNID+"'and tt.DISTRIBUTOR_ID='"+distributor_id+"'" ;
+" and O.FLOWUNID=tt.FLOWUNID set O.EBANK_STATUS=case when tt.RTNFLG='S' then '05' when tt.RTNFLG is null or tt.RTNFLG='' then '03' else '04' end where O.FLOWUNID='"+FLOWUNID+"'and tt.DISTRIBUTOR_ID='"+distributor_id+"'" ;
JBOFactory.createBizObjectQuery(LC_FUND_INCOME_TEMP.CLASS_NAME,sql2).executeUpdate();
}
}