From c94f0513b43dea6d469337d1e26de544057ff7ce Mon Sep 17 00:00:00 2001
From: dinggang <2498628697@qq.com>
Date: Wed, 23 Nov 2022 09:41:56 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mapper/processForm/TAbilityApplicationDao.xml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml b/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml
index 61932cac..5e3cb56d 100644
--- a/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml
+++ b/renren-admin/src/main/resources/mapper/processForm/TAbilityApplicationDao.xml
@@ -383,7 +383,7 @@
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
- AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
+ AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
UNION ALL
@@ -452,7 +452,7 @@
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
- AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
+ AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
UNION ALL
@@ -519,7 +519,7 @@
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
- AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
+ AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
UNION ALL
@@ -587,7 +587,7 @@
AND tdr.NAME LIKE CONCAT('%', #{params.resourceName} ,'%')
- AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN tda.attr_value ELSE tdr.type END ) = #{params.resourceType}
+ AND ( CASE tdr.type WHEN '应用资源' THEN tdr.type WHEN '组件服务' THEN attr.attr_value ELSE tdr.type END ) = #{params.resourceType}
UNION ALL
From 3bdec35655374e6ae6f8373b477b63aae5228fc7 Mon Sep 17 00:00:00 2001
From: dinggang <2498628697@qq.com>
Date: Wed, 23 Nov 2022 16:32:35 +0800
Subject: [PATCH 2/3] =?UTF-8?q?1.=E8=B5=84=E9=87=91=E6=8A=A5=E8=A1=A8?=
=?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=8C=89=E5=AE=A1=E6=A0=B8=E7=8A=B6=E6=80=81?=
=?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=202.=E8=83=BD=E5=8A=9B?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1-=E8=83=BD=E5=8A=9B=E4=BD=BF=E7=94=A8?=
=?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=98=8E=E7=BB=86=E5=A2=9E=E5=8A=A0=E6=8C=89?=
=?UTF-8?q?=E6=8F=90=E4=BE=9B=E9=83=A8=E9=97=A8=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../common/controller/CensusController.java | 1 +
.../meeting/dto/TMeetingroomBookDTO.java | 2 +-
.../TAbilityApplicationController.java | 34 ++++----
.../processForm/TAbilityApplicationDao.xml | 85 +++++++++++++++++--
4 files changed, 100 insertions(+), 22 deletions(-)
diff --git a/renren-admin/src/main/java/io/renren/common/controller/CensusController.java b/renren-admin/src/main/java/io/renren/common/controller/CensusController.java
index 81cb72b6..46be3847 100644
--- a/renren-admin/src/main/java/io/renren/common/controller/CensusController.java
+++ b/renren-admin/src/main/java/io/renren/common/controller/CensusController.java
@@ -559,6 +559,7 @@ public class CensusController {
@ApiImplicitParam(name = "endDate", value = "结束时间", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "type", value = "资源类型", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "deptId", value = "所属部门", paramType = "query", dataType = "long"),
+ @ApiImplicitParam(name = "provideDept", value = "提供部门", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "resourceName", value = "资源名称", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "approveStatus", value = "审核状态,可选值(通过、审核中)", paramType = "query", dataType = "String"),
})
diff --git a/renren-admin/src/main/java/io/renren/modules/meeting/dto/TMeetingroomBookDTO.java b/renren-admin/src/main/java/io/renren/modules/meeting/dto/TMeetingroomBookDTO.java
index bdeba7c3..07453a75 100644
--- a/renren-admin/src/main/java/io/renren/modules/meeting/dto/TMeetingroomBookDTO.java
+++ b/renren-admin/src/main/java/io/renren/modules/meeting/dto/TMeetingroomBookDTO.java
@@ -42,7 +42,7 @@ public class TMeetingroomBookDTO implements Serializable {
private Date createDate;
@ApiModelProperty(value = "创建者")
private Long creator;
- @ApiModelProperty(value = "审核状态,审核时传,2-通过,3-不通过")
+ @ApiModelProperty(value = "审核状态,审核时传,默认0为待审核,2-通过,3-不通过")
private Integer state;
@ApiModelProperty(value = "审核意见")
private String auditViem;
diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java
index fbceb8f9..3c73dcf4 100644
--- a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java
+++ b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java
@@ -7,6 +7,7 @@ import io.renren.common.annotation.LogOperation;
import io.renren.common.constant.Constant;
import io.renren.common.page.PageData;
import io.renren.common.utils.ConvertUtils;
+import io.renren.common.utils.DateUtils;
import io.renren.common.utils.ExcelUtils;
import io.renren.common.utils.Result;
import io.renren.common.validator.AssertUtils;
@@ -54,6 +55,8 @@ import springfox.documentation.annotations.ApiIgnore;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
+import java.math.BigDecimal;
+import java.math.RoundingMode;
import java.net.URLEncoder;
import java.time.LocalDateTime;
import java.util.*;
@@ -482,6 +485,7 @@ public class TAbilityApplicationController {
@ApiImplicitParam(name = "applyDept", value = "申请部门", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "resourceType", value = "资源类型", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "resourceName", value = "资源名称", paramType = "query", dataType = "String"),
+ @ApiImplicitParam(name = "applyResult", value = "审核状态", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query", dataType = "INTEGER"),
@ApiImplicitParam(name = "pageSize", value = "页数大小", paramType = "query", dataType = "INTEGER")
})
@@ -497,11 +501,15 @@ public class TAbilityApplicationController {
@ApiImplicitParam(name = "provideDept", value = "提供部门", paramType = "query", dataType = "Long"),
@ApiImplicitParam(name = "applyDept", value = "申请部门", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "resourceType", value = "资源类型", paramType = "query", dataType = "String"),
+ @ApiImplicitParam(name = "applyResult", value = "审核状态", paramType = "query", dataType = "String"),
@ApiImplicitParam(name = "resourceName", value = "资源名称", paramType = "query", dataType = "String")
})
public void exportFundStatementTable(@RequestParam Map params, HttpServletResponse response) throws IOException {
List