| | |
| | | import com.ruoyi.system.query.TTrainLibraryQuery; |
| | | import com.ruoyi.system.service.*; |
| | | import com.ruoyi.system.vo.*; |
| | | import com.tencentcloudapi.tcaplusdb.v20190823.models.IdlFileInfo; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import jdk.nashorn.internal.parser.Token; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | private TProjectTeamService projectTeamService; |
| | | @Resource |
| | | private TProjectTeamStaffService projectTeamStaffService; |
| | | //@PreAuthorize("@ss.hasPermi('system:strainReport:pageListAll')") |
| | | @ApiOperation(value = "菌种报告库分页列表查询",tags = "菌种报告库",response = TStrainReportQuery.class) |
| | | @PostMapping(value = "/api/t-strain-report/pageListAll") |
| | | public R<PageInfo<TStrainReportVO>> pageListAll(@RequestBody String param) { |
| | |
| | | query.setEvaluateId(strings); |
| | | } |
| | | } |
| | | query.setEvaluateHumanType(Integer.valueOf(sysUser.getRoleType())); |
| | | return R.ok(strainReportService.pageList(query)); |
| | | } |
| | | |
| | |
| | | tStrainReportDetailVO.setEvaluateName(sysUserService.selectUserById(Long.valueOf(strainReport.getEvaluateId())).getNickName()); |
| | | } |
| | | if (one.getExperimentId()!=null){ |
| | | tStrainReportDetailVO.setExperimentName(sysUserService.selectUserById(Long.valueOf(one.getExperimentId())).getNickName()); |
| | | SysUser sysUser = sysUserService.selectUserById(Long.valueOf(one.getExperimentId())); |
| | | tStrainReportDetailVO.setExperimentName(sysUser.getNickName()); |
| | | tStrainReportDetailVO.setExperimentAvatar(sysUser.getAvatar()); |
| | | tStrainReportDetailVO.setExperimentId(one.getExperimentId()); |
| | | } |
| | | tStrainReportDetailVO.setReportType(strainReport.getReportType()); |