瀏覽代碼

[138737] Updated header record when notification is triggered.

Chris Lim 9 年之前
父節點
當前提交
3a1d5a7410
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      crss-metering/application-oracle-query.yml
  2. 2 0
      crss-metering/application-pg-query.yml

+ 2 - 0
crss-metering/application-oracle-query.yml

@@ -54,6 +54,8 @@ mq:
         where
           f.header_id = h.header_id and h.header_id=:headerID
         GROUP BY h.header_id, h.upload_datetime
+      notif.status: >
+        UPDATE TXN_MQ_MANIFEST_HEADER SET NOTIFICATION_SENT = 'Y', NOTIFICATION_DATETIME = :dateTime WHERE HEADER_ID = :headerID;
       notif.target.department: MSP,METERING
     filter-by.status: >
         select * from txn_mq_manifest_file where status=:status and header_id=:headerID

+ 2 - 0
crss-metering/application-pg-query.yml

@@ -54,6 +54,8 @@ mq:
         where
           f.header_id = h.header_id and h.header_id=:headerID
         GROUP BY h.header_id, h.upload_datetime
+      notif.status: >
+        UPDATE TXN_MQ_MANIFEST_HEADER SET NOTIFICATION_SENT = 'Y', NOTIFICATION_DATETIME = :dateTime WHERE HEADER_ID = :headerID;
       notif.target.department: MSP,METERING
     filter-by.status: >
         select * from txn_mq_manifest_file where status=:status and header_id=:headerID