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