Authored by mingdan.ge

消息列表缓存修改

... ... @@ -19,7 +19,7 @@ public enum ShareOrdersKeyEnum {
ORDER_STATISTICS_INFO("yh:union:share:statisticsInfo:","queryTimeType:{}",600,"统计数据"),
RANK_LIST("yh:union:share:ranklist:","type:{}:start:{}:limit:{}",86400,"达人排行榜"),
RANK_INFO("yh:union:share:rank:","date:{}:type:{}",300,"个人排行"),
MESSAGE_LIST("yh:union:share:settlementList:","key:{}:page:{}:limit:{}",600,"提现列表");
MESSAGE_LIST("yh:union:share:messageList:","page:{}:limit:{}",600,"消息列表");
private String preKey;
... ...
... ... @@ -2474,7 +2474,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
//更新关联订单状态
unionShareOrdersMapper.updateStatusByCode(bo.getSettlementCode(), ShareOrdersStatusEnum.SETTLE.getCode(), ShareOrdersStatusEnum.HAS_SETTLE.getCode(), updateReq.getUpdateTime());
//todo 发送打款公众号消息
//发送打款公众号消息
sendMessageHelper.sendMessage(bo.getPromoteUid(),2,updateReq.getUpdateTime(),bo.getSettlementAmount());
//清缓存
clearShareOrderRedis(unionShareSettlement.getPromoteUid());
... ... @@ -2719,7 +2719,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
}
record.setUpdateTime(DateUtils.getCurrentTimeSecond());
return unionShareMessageMapper.updateByPrimaryKeySelective(record);
}
}
@Override
public UnionShareMessageBo getMessageById(Integer id) {
... ...