oms发单

This commit is contained in:
赵辉
2026-01-28 13:20:09 +08:00
parent bbbb0b835d
commit e26dc853d5
46 changed files with 5455 additions and 0 deletions
@@ -180,4 +180,8 @@ public interface UserServiceFeign {
@ApiOperation("查询承运人汇总数据")
@GetMapping("/userShipperApi/getShipperSummaryData/{userId}")
public AjaxResult<?> getShipperSummaryData(@PathVariable("userId") Long userId);
@ApiOperation("根据用户ID查询货主信息")
@GetMapping("/userShipperApi/getShipperByUserId/{userId}")
public AjaxResult<?> getShipperByUserId(@PathVariable("userId") Long userId);
}
@@ -37,5 +37,7 @@ public class UserDTO extends BaseVOEntity {
private Integer userStatus;
@ApiModelProperty(name = "业务类型:0.无状态,1.托运业务,2.承运业务,3.托运、承运业务,4.无业务,5.不确定业务默认为托运业务")
private Integer businessType;
@ApiModelProperty(name = "用户角色")
private String userRole;
}
@@ -169,6 +169,11 @@ public class RemoteUserFeignFallbackFactory implements FallbackFactory<UserServi
}
@Override
public AjaxResult<?> getShipperByUserId(Long userId) {
return AjaxResult.error("查询失败" + throwable.getMessage());
}
};
}
}