Commit a37c8fd7ff854e1d479354e9c735bb206f8f23b7

Authored by liquanyu
1 parent 469f747ef4

code update

Showing 1 changed file with 2 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/SmsConfigFacade.java View file @ a37c8fd
1 1 package com.lyms.platform.operate.web.facade;
2 2  
3 3 import com.lyms.platform.biz.service.*;
  4 +import com.lyms.platform.common.base.PageInfo;
4 5 import com.lyms.platform.common.constants.ErrorCodeConstants;
5 6 import com.lyms.platform.common.enums.*;
6 7 import com.lyms.platform.common.result.BaseListResponse;
... ... @@ -713,7 +714,7 @@
713 714  
714 715 BaseListResponse objectResponse = new BaseListResponse();
715 716 objectResponse.setData(list);
716   - objectResponse.setPageInfo(sms.getPageInfo());
  717 + objectResponse.setPageInfo(sms == null ? new PageInfo() : sms.getPageInfo());
717 718 objectResponse.setErrorcode(ErrorCodeConstants.SUCCESS);
718 719 objectResponse.setErrormsg("成功");
719 720 return objectResponse;