管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-12-16 93c13c47fd35493bbca35be7baccfd1a0ba9e9ef
src/main/java/com/lf/server/controller/data/DataQueryController.java
@@ -3,7 +3,6 @@
import com.lf.server.annotation.SysLog;
import com.lf.server.controller.all.BaseQueryController;
import com.lf.server.entity.all.ResponseMsg;
import com.lf.server.entity.sys.AttachEntity;
import com.lf.server.entity.sys.UserEntity;
import com.lf.server.helper.StringHelper;
import com.lf.server.service.data.DataQueryService;
@@ -36,27 +35,6 @@
    @Autowired
    DataQueryService dataQueryService;
    @SysLog()
    @ApiOperation(value = "查询文件")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "tabName", value = "表名", dataType = "String", paramType = "query", example = "lf.sys_style"),
            @ApiImplicitParam(name = "eventid", value = "主键", dataType = "String", paramType = "query", example = "fa25979a5ef8b43ba82a0be35b3fb0d4")
    })
    @GetMapping(value = "/selectFiles")
    public ResponseMsg<List<AttachEntity>> selectFiles(String tabName, String eventid) {
        try {
            if (StringHelper.isEmpty(tabName) || StringHelper.isEmpty(eventid)) {
                return fail("参数不能为空", null);
            }
            List<AttachEntity> list = attachService.selectByTab(tabName, eventid);
            return success(list);
        } catch (Exception ex) {
            return fail(ex.getMessage(), null);
        }
    }
    @SysLog()
    @ApiOperation(value = "删除文件")