OMS-商业合作伙伴页面查询

This commit is contained in:
zhaoqing
2026-04-28 16:59:41 +08:00
parent 7a11d68b8f
commit 8f5bf53620
5 changed files with 155 additions and 0 deletions
@@ -191,4 +191,21 @@ public interface UserServiceFeign {
@ApiOperation("根据用户ID查询货主信息")
@GetMapping("/userShipperApi/getShipperByUserId/{userId}")
public AjaxResult<?> getShipperByUserId(@PathVariable("userId") Long userId);
@ApiOperation("商业合作伙伴-分页查询托运人列表")
@GetMapping("/userShipperApi/userShipperList")
public AjaxResult<?> userShipperList(@RequestParam(value = "pageNum", required = false, defaultValue = "1") Integer pageNum,
@RequestParam(value = "pageSize", required = false, defaultValue = "10") Integer pageSize,
@RequestParam(value = "userAccount", required = false) String userAccount,
@RequestParam(value = "shipperEnterpriseName", required = false) String shipperEnterpriseName,
@RequestParam(value = "organizationId", required = false) Long organizationId,
@RequestParam(value = "organizationName", required = false) String organizationName,
@RequestParam(value = "createTimeFrom", required = false) String createTimeFrom,
@RequestParam(value = "createTimeTo", required = false) String createTimeTo,
@RequestParam(value = "updateTimeFrom", required = false) String updateTimeFrom,
@RequestParam(value = "updateTimeTo", required = false) String updateTimeTo,
@RequestParam(value = "shipperType", required = false) Integer shipperType);
}
@@ -181,6 +181,11 @@ public class RemoteUserFeignFallbackFactory implements FallbackFactory<UserServi
public AjaxResult<?> getShipperByUserId(Long userId) {
return AjaxResult.error("查询失败" + throwable.getMessage());
}
@Override
public AjaxResult<?> userShipperList(Integer pageNum, Integer pageSize, String userAccount, String shipperEnterpriseName, Long organizationId, String organizationName, String createTimeFrom, String createTimeTo, String updateTimeFrom, String updateTimeTo, Integer shipperType) {
return AjaxResult.error("查询失败" + throwable.getMessage());
}
};
}
}