代码优化
This commit is contained in:
parent
057a45d065
commit
62ee681df2
@ -126,8 +126,8 @@ public class EbikeStatisticsController {
|
|||||||
@GetMapping("getDiffOperatorOrderList")
|
@GetMapping("getDiffOperatorOrderList")
|
||||||
public JsonResult<?> getDiffOperatorOrderList(String bikeCode, PageParam pageParam) {
|
public JsonResult<?> getDiffOperatorOrderList(String bikeCode, PageParam pageParam) {
|
||||||
FeignDiffOperatorOrderList dto = new FeignDiffOperatorOrderList();
|
FeignDiffOperatorOrderList dto = new FeignDiffOperatorOrderList();
|
||||||
long staffId = StpUtil.getLoginIdAsLong();
|
String staffId = StpUtil.getLoginIdAsString();
|
||||||
CommonStaffInfo staffInfo = StpUtil.getSession().getModel(String.valueOf(staffId), CommonStaffInfo.class);
|
CommonStaffInfo staffInfo = StpUtil.getSession().getModel(staffId, CommonStaffInfo.class);
|
||||||
if (staffInfo == null) {
|
if (staffInfo == null) {
|
||||||
throw new EbikeException("当前用户信息不存在");
|
throw new EbikeException("当前用户信息不存在");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user