Commit 1dc70e79 by 陶光胜

加log

parent 03ed8a21
......@@ -179,11 +179,13 @@ public class StoreController extends DownloadUtils {
ServiceResponse<Page<StoreDTO>> serviceResponse = storeApiService.listStore(storeSearchDTO, storeSearchDTO.getCurrentPage(), storeSearchDTO.getPageSize(), returnFileds);
if (serviceResponse.isSuccess()) {
Page<StoreDTO> page = serviceResponse.getResult();
List<StoreDTO> result = page.getResult();
if(CollectionUtils.isNotEmpty(result)){
this.convertCustomField(result);
if(page != null){
List<StoreDTO> result = page.getResult();
if(CollectionUtils.isNotEmpty(result)){
this.convertCustomField(result);
}
page.setResult(result);
}
page.setResult(result);
return RestResponse.success(page);
} else {
return RestResponse.failure(serviceResponse.getCode(), serviceResponse.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment