招行告警码修改,大批轮询按接收时间排序

This commit is contained in:
KLYSaa
2021-11-09 16:29:41 +08:00
2 changed files with 6 additions and 5 deletions
+3 -2
View File
@@ -7,11 +7,12 @@
<DynSentence name="QryBatLst">
<Sentence>
select DSK_NAM from capdskinf where DSK_NAM in
(select DSK_NAM from (select DSK_NAM, row_number() over (order by RCV_DT||RCV_TM asc) tm from capdskinf where DSK_NAM in
(select DSK_NAM from capdskinf a where dsk_sts = '1' and ord_dt &gt;= ? and (dsk_nam,0) in
(select dsk_nam,sum(case when bat_sts not in ('4', '2') then 1 else 0 end) notfinal from capbatinf
where ord_dt = a.ord_dt and dsk_nam = a.DSK_NAM group by dsk_nam having sum(case when bat_sts not in ('4', '2') then 1 else 0 end) = 0)
union all select DSK_NAM from CAPDSKINF a where a.dsk_sts = '9' and ORD_DT &gt;= ?)
and rownum = 1 for update skip locked
union all select DSK_NAM from CAPDSKINF a where a.dsk_sts = '9' and ORD_DT &gt;= ?)) where tm = 1)
for update skip locked
</Sentence>
<Fields>DT_BEFER|DT_BEFER|</Fields>
</DynSentence>
+3 -3
View File
@@ -598,7 +598,7 @@
<Set>EVENT.DSK_NO=$DSK_NAM</Set>
<Set>EVENT.BAT_NO=$CORG_DSK_NO</Set>
<Set>EVENT.ERR_MSG=招行送盘通道返回异常!</Set>
<Set>EVT_TYP=EVT_CMB_SENDBATCH_CHANEL</Set>
<Set>EVT_TYP=EVT_BATCH_SEND_FAILURE</Set>
<Exec func="PUB:InvokeService" error="IGNORE">
<Arg name="ServiceName" value="PUSH_EVENT" />
<Arg name='Mode' value='NOTIFY'/>
@@ -886,7 +886,7 @@
<Set>EVENT.DSK_NO=$ODSK_NAM</Set>
<Set>EVENT.BAT_NO=$OCORG_DSK_NO</Set>
<Set>EVENT.ERR_MSG=招行回盘通道返回异常!</Set>
<Set>EVT_TYP=EVT_CMB_GETBATCH_CHANEL</Set>
<Set>EVT_TYP=EVT_BATCH_BACK_FAILURE</Set>
<Exec func="PUB:InvokeService" error="IGNORE">
<Arg name="ServiceName" value="PUSH_EVENT" />
<Arg name='Mode' value='NOTIFY'/>
@@ -909,7 +909,7 @@
<!--账户透支 发送预警-->
<Set>EVENT.DRW_AC_BAL=0.01</Set>
<Set>EVENT.UDRW_AC_BAL=0.02</Set>
<Set>EVT_TYP=EVT_ORG_AMT_OFW</Set>
<Set>EVT_TYP=EVT_BALANCE_INSUFFICIENT</Set>
<Exec func="PUB:InvokeService" error="IGNORE">
<Arg name="ServiceName" value="PUSH_EVENT" />
<Arg name='Mode' value='NOTIFY'/>