Commit a7323a08 authored by 高滢's avatar 高滢

检测机构

parent e52a1797
......@@ -47,7 +47,7 @@ public class TTestPlanRecordServiceImpl extends ServiceImpl<TTestPlanRecordMappe
@Override
public List<TTestPlanRecord> selectTestPlanRecordPage(TestPlanRecordPageRequest testPlanRecordPageRequest){
Long roleId = SecurityUtils.getLoginUser().getUser().getRoleId();
if(roleId.equals(113)){
if("113".equals(String.valueOf(roleId))){
testPlanRecordPageRequest.setTestOrganizationId(SecurityUtils.getDeptId());
}
return tTestPlanRecordMapper.selectTestPlanRecordPage(testPlanRecordPageRequest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment