|
@@ -60,7 +60,9 @@ public class ChannelMoneyController extends BaseApiController {
|
|
|
for (ChannelMoneyLogVO logVO : channelMoneyLogVOS) {
|
|
|
if (logVO.getType() == ChannelMoneyEnum.WITHDRAW) {
|
|
|
ChannelWithdraw channelWithdraw = channelWithdrawService.getById(logVO.getRefId());
|
|
|
- logVO.setWithdrawStatus(channelWithdraw.getStatus());
|
|
|
+ if (null != channelWithdraw) {
|
|
|
+ logVO.setWithdrawStatus(channelWithdraw.getStatus());
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
TableDataInfo resp = getDataTable(list);
|