提交代码
This commit is contained in:
parent
c1fa588042
commit
eb860e749b
|
|
@ -74,7 +74,7 @@ public class DataSetBasicFileController extends BaseController
|
|||
/**
|
||||
* 查询文件基础列表
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetBasicFile:isPublicList")
|
||||
@RequiresPermissions("dataCenter:dataSetBasicFile:list")
|
||||
@GetMapping("/isPublicList")
|
||||
public TableDataInfo isPublicList(DataSetBasicFileEntity entity)
|
||||
{
|
||||
|
|
@ -185,6 +185,7 @@ public class DataSetBasicFileController extends BaseController
|
|||
* @param response 请求
|
||||
* @param fileIds 文件id
|
||||
*/
|
||||
@RequiresPermissions("dataCenter:dataSetBasicFile:download")
|
||||
@PostMapping("/download/{fileIds}")
|
||||
public void downloadFile(HttpServletResponse response, HttpServletRequest request, @PathVariable Long[] fileIds) {
|
||||
dataSetBasicFileService.downloadFile(response,request,fileIds);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ public class DataSetSampleServiceImpl implements DataSetSampleService {
|
|||
entity.setCreateBy(SecurityUtils.getUsername());
|
||||
int i = dataSetSampleMapper.selectSampleByFormat(entity.getId(), entity.getSampleFormat());
|
||||
if (i>0){
|
||||
return AjaxResult.error("样本格式已纯在");
|
||||
return AjaxResult.error("样本格式已存在");
|
||||
}
|
||||
i = dataSetSampleMapper.insertSample(entity);
|
||||
if (i>0){
|
||||
|
|
|
|||
Loading…
Reference in New Issue