|
|
|
@ -4,15 +4,12 @@ import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.haiwei.manage.service.IBaseCustomerService;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import com.haiwei.common.annotation.Log;
|
|
|
|
|
import com.haiwei.common.enums.BusinessType;
|
|
|
|
|
import com.haiwei.manage.domain.BsaeFile;
|
|
|
|
@ -22,6 +19,8 @@ import com.haiwei.common.core.domain.AjaxResult;
|
|
|
|
|
import com.haiwei.common.utils.poi.ExcelUtil;
|
|
|
|
|
import com.haiwei.common.core.page.TableDataInfo;
|
|
|
|
|
|
|
|
|
|
import javax.naming.Name;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文档归档Controller
|
|
|
|
|
*
|
|
|
|
@ -128,8 +127,10 @@ public class BsaeFileController extends BaseController {
|
|
|
|
|
@ApiOperation(tags = {"文档归档"}, value = "文件-列表")
|
|
|
|
|
@PostMapping("/fileList")
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult list() {
|
|
|
|
|
List<BsaeFile> list = bsaeFileService.selectBsaeFileList(null);
|
|
|
|
|
public AjaxResult list(@RequestParam(value = "name",required = true) String name) {
|
|
|
|
|
BsaeFile bsaeFile=new BsaeFile();
|
|
|
|
|
bsaeFile.setCustomName(name);
|
|
|
|
|
List<BsaeFile> list = bsaeFileService.selectBsaeFileList(bsaeFile);
|
|
|
|
|
return AjaxResult.success(list);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|