出库流程操作库存;出库单导入调整;
This commit is contained in:
@@ -109,6 +109,13 @@ public interface UserServiceFeign {
|
||||
@GetMapping("/userApi/getInfo/{userId}")
|
||||
public AjaxResult getInfo(@PathVariable("userId") Long userId);
|
||||
|
||||
/**
|
||||
* 根据用户ID查询用户详细信息
|
||||
*/
|
||||
@ApiOperation("根据用户ID查询用户详细信息")
|
||||
@GetMapping("/userApi/getInfoByName/{userName}")
|
||||
public AjaxResult getInfoByName(@PathVariable("userName") String userName);
|
||||
|
||||
|
||||
/**
|
||||
* 查询车辆绑定的承运人列表
|
||||
@@ -180,4 +187,4 @@ public interface UserServiceFeign {
|
||||
@ApiOperation("查询承运人汇总数据")
|
||||
@GetMapping("/userShipperApi/getShipperSummaryData/{userId}")
|
||||
public AjaxResult<?> getShipperSummaryData(@PathVariable("userId") Long userId);
|
||||
}
|
||||
}
|
||||
+8
-1
@@ -14,6 +14,7 @@ import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.cloud.openfeign.FallbackFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PathVariable;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
@@ -78,11 +79,17 @@ public class RemoteUserFeignFallbackFactory implements FallbackFactory<UserServi
|
||||
return AjaxResult.error("根据车辆id查询司机失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@GetMapping("/userApi/getInfo/{userId}")
|
||||
@Override
|
||||
public AjaxResult getInfo(Long userId) {
|
||||
return AjaxResult.error("根据用户ID查询用户详细信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult getInfoByName(String userName) {
|
||||
return AjaxResult.error("根据用户userName查询用户详细信息失败:" + throwable.getMessage());
|
||||
}
|
||||
|
||||
@Override
|
||||
public AjaxResult bindDriverShipList(Long vehicleId) {
|
||||
return AjaxResult.error("查询车辆绑定的承运人列表信息失败:" + throwable.getMessage());
|
||||
@@ -171,4 +178,4 @@ public class RemoteUserFeignFallbackFactory implements FallbackFactory<UserServi
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user