Authored by chenchao

fix inbox content

... ... @@ -1150,10 +1150,11 @@ public class InBoxFacade extends BaseNoticeFacade{
//
InboxBusinessTypeEnum inboxType = null;
InboxBusinessTypeEnum smsType = null;
Object[] inboxParams = null;
switch (targetStatus){
case HAS_PAYED:
inboxType = InboxBusinessTypeEnum.NOTICE_PAID_APPRAISE_ORDER_PAID;
inboxParams = new Object[]{orderCode};
break;
case PLATFORM_RECEIVE:
... ... @@ -1186,7 +1187,7 @@ public class InBoxFacade extends BaseNoticeFacade{
break;
}
boolean smsRequired = Objects.nonNull(smsType);
Object[] inboxParams = buildParams4PaidAppraiseOrder(orderCode);
inboxParams = Objects.nonNull(inboxParams) ? inboxParams : buildParams4PaidAppraiseOrder(orderCode);
Object[] smsParams = smsRequired ? inboxParams : null;
Notice notice = newNotice(uid).withLogPrefix("paid Appraise Order Notice 4 " + targetStatus.name());
... ...