评价判定问题处理
This commit is contained in:
parent
98a2da489d
commit
84f6f0e7ee
@ -87,7 +87,7 @@ public class EvaluationQueryParams extends PageVO {
|
||||
if (StringUtils.isNotEmpty(status)) {
|
||||
queryWrapper.eq("status", status);
|
||||
}
|
||||
if (UserContext.getCurrentUser().getRole().equals(UserEnums.STORE)) {
|
||||
if (UserContext.getCurrentUser() != null && UserContext.getCurrentUser().getRole().equals(UserEnums.STORE)) {
|
||||
queryWrapper.eq("store_id", UserContext.getCurrentUser().getStoreId());
|
||||
}
|
||||
queryWrapper.eq("delete_flag", false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user