fix: 换 StringUtils
This commit is contained in:
parent
12f4a1dea5
commit
3e418e6c87
|
@ -240,7 +240,7 @@ public class ApiDefinitionService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//update userId
|
//update userId
|
||||||
if(request.getUserId()!=null&&request.getUserId().equals("currentUserId")){
|
if(StringUtils.equalsIgnoreCase(request.getUserId(),"currentUserId")){
|
||||||
request.setUserId(SessionUtils.getUserId());
|
request.setUserId(SessionUtils.getUserId());
|
||||||
}
|
}
|
||||||
return request;
|
return request;
|
||||||
|
|
|
@ -158,7 +158,7 @@ public class TestCaseReviewService {
|
||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
//update reviewerId
|
//update reviewerId
|
||||||
if(request.getReviewerId()!=null&&request.getReviewerId().equals("currentUserId")){
|
if(StringUtils.equalsIgnoreCase(request.getReviewerId(),"currentUserId")){
|
||||||
request.setReviewerId(SessionUtils.getUserId());
|
request.setReviewerId(SessionUtils.getUserId());
|
||||||
}
|
}
|
||||||
return extTestCaseReviewMapper.list(request);
|
return extTestCaseReviewMapper.list(request);
|
||||||
|
|
Loading…
Reference in New Issue