From 3d6ca92772712a037f1ebc9648a4b1feaf8d198f Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期六, 27 四月 2024 18:56:52 +0800
Subject: [PATCH] 1、修改DownloadFileCtrl中的文件名称转码方式; 2、用EasyExcel实现标识类二维码导出excel文件并下载功能。
---
pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleCtrl.java | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleCtrl.java b/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleCtrl.java
index cb14cc5..5ead477 100644
--- a/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleCtrl.java
+++ b/pms-parent/pms-web-base/src/main/java/com/dy/pmsBase/role/RoleCtrl.java
@@ -71,13 +71,12 @@
/**
* 鍒犻櫎瑙掕壊淇℃伅
* @param id
- * @param bindingResult
* @return
*/
@PostMapping(path="delete")
@SsoPowerAop(power = "10100011")
@Log("鍒犻櫎瑙掕壊淇℃伅")
- public BaseResponse<BaRole> delete(String id,BindingResult bindingResult){
+ public BaseResponse<BaRole> delete(String id){
try {
return BaseResponseUtils.buildSuccess(roleSv.delete(Long.parseLong(id)));
}catch (Exception e){
@@ -105,19 +104,19 @@
}
/**
- * 鍒嗛〉鏌ヨ瑙掕壊淇℃伅
+ * 鏌ヨ瑙掕壊淇℃伅
* @param vo
* @return
*/
@PostMapping(path="some")
@SsoPowerAop(power = "10100010")
- @Log("鍒嗛〉鏌ヨ瑙掕壊淇℃伅")
+ @Log("鏌ヨ瑙掕壊淇℃伅")
public BaseResponse<QueryResultVo<List<BaRole>>> some(@RequestBody QueryVo vo){
try {
QueryResultVo<List<BaRole>> list = roleSv.selectSome(vo) ;
return BaseResponseUtils.buildSuccess(list);
}catch (Exception e){
- log.error("鍒嗛〉鏌ヨ瑙掕壊寮傚父", e);
+ log.error("鏌ヨ瑙掕壊寮傚父", e);
return BaseResponseUtils.buildException(e.getMessage());
}
}
--
Gitblit v1.8.0