Showing
1 changed file
with
3 additions
and
2 deletions
@@ -1150,10 +1150,11 @@ public class InBoxFacade extends BaseNoticeFacade{ | @@ -1150,10 +1150,11 @@ public class InBoxFacade extends BaseNoticeFacade{ | ||
1150 | // | 1150 | // |
1151 | InboxBusinessTypeEnum inboxType = null; | 1151 | InboxBusinessTypeEnum inboxType = null; |
1152 | InboxBusinessTypeEnum smsType = null; | 1152 | InboxBusinessTypeEnum smsType = null; |
1153 | - | 1153 | + Object[] inboxParams = null; |
1154 | switch (targetStatus){ | 1154 | switch (targetStatus){ |
1155 | case HAS_PAYED: | 1155 | case HAS_PAYED: |
1156 | inboxType = InboxBusinessTypeEnum.NOTICE_PAID_APPRAISE_ORDER_PAID; | 1156 | inboxType = InboxBusinessTypeEnum.NOTICE_PAID_APPRAISE_ORDER_PAID; |
1157 | + inboxParams = new Object[]{orderCode}; | ||
1157 | break; | 1158 | break; |
1158 | 1159 | ||
1159 | case PLATFORM_RECEIVE: | 1160 | case PLATFORM_RECEIVE: |
@@ -1186,7 +1187,7 @@ public class InBoxFacade extends BaseNoticeFacade{ | @@ -1186,7 +1187,7 @@ public class InBoxFacade extends BaseNoticeFacade{ | ||
1186 | break; | 1187 | break; |
1187 | } | 1188 | } |
1188 | boolean smsRequired = Objects.nonNull(smsType); | 1189 | boolean smsRequired = Objects.nonNull(smsType); |
1189 | - Object[] inboxParams = buildParams4PaidAppraiseOrder(orderCode); | 1190 | + inboxParams = Objects.nonNull(inboxParams) ? inboxParams : buildParams4PaidAppraiseOrder(orderCode); |
1190 | Object[] smsParams = smsRequired ? inboxParams : null; | 1191 | Object[] smsParams = smsRequired ? inboxParams : null; |
1191 | 1192 | ||
1192 | Notice notice = newNotice(uid).withLogPrefix("paid Appraise Order Notice 4 " + targetStatus.name()); | 1193 | Notice notice = newNotice(uid).withLogPrefix("paid Appraise Order Notice 4 " + targetStatus.name()); |
-
Please register or login to post a comment