| | |
| | | return new PageResponse<>(RespCodeEnum.CODE_0000, data); |
| | | } |
| | | |
| | | public PageResponse<Page<DicFoodOrigin>> pageFoodLocation(InoutParam param) { |
| | | |
| | | Page<DicFoodOrigin> result = coreDicService.pageFoodLocation(param); |
| | | |
| | | if (null == result.getRecords() || result.getRecords().isEmpty()) { |
| | | return new PageResponse<>(RespCodeEnum.CODE_2000.getCode(), |
| | | "获取到数据信息为空"); |
| | | } |
| | | return new PageResponse<Page<DicFoodOrigin>>(RespCodeEnum.CODE_0000, |
| | | result); |
| | | } |
| | | |
| | | |
| | | public DepotConf getDepotConf(String companyId, String depotId) { |
| | | return coreCommonService.getCacheDepotConf(companyId, depotId); |