From 64199ade0ca5dc5af5a10038a51b0d54accc0f05 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 14 八月 2023 14:22:02 +0800
Subject: [PATCH] 新增字段
---
ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFundShared.java | 6 ++++++
ruoyi-project/src/main/resources/mapper/project/ServiceFundSharedMapper.xml | 2 ++
ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementMapper.xml | 2 ++
ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java | 6 ++++++
ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursementShared.java | 5 +++++
ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFund.java | 5 +++++
ruoyi-project/src/main/resources/mapper/project/ServiceFundMapper.xml | 2 ++
ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml | 2 ++
ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursement.java | 7 ++++++-
9 files changed, 36 insertions(+), 1 deletions(-)
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFund.java b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFund.java
index f9f3af6..243ee14 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFund.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFund.java
@@ -129,6 +129,11 @@
@Excel(name = "涓績绛惧瓧")
private String opochecker;
+ /** 闄㈤暱绛惧瓧 */
+ @ApiModelProperty("闄㈤暱绛惧瓧")
+ @Excel(name = "闄㈤暱绛惧瓧")
+ private String president;
+
/** 璐㈠姟鍓櫌闀跨瀛� */
@ApiModelProperty("璐㈠姟鍓櫌闀跨瀛�")
@Excel(name = "璐㈠姟鍓櫌闀跨瀛�")
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFundShared.java b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFundShared.java
index 6d95371..967153b 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFundShared.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceFundShared.java
@@ -186,6 +186,12 @@
@Excel(name = "璐㈠姟鍓櫌闀跨瀛�")
private String finvicepresident;
+ /** 闄㈤暱绛惧瓧 */
+ @ApiModelProperty("闄㈤暱绛惧瓧")
+ @Excel(name = "闄㈤暱绛惧瓧")
+ private String president;
+
+
/** 涓氬姟鍓櫌闀跨瀛� */
@ApiModelProperty("涓氬姟鍓櫌闀跨瀛�")
@Excel(name = "涓氬姟鍓櫌闀跨瀛�")
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursement.java b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursement.java
index 3efbc38..0eedabb 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursement.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursement.java
@@ -163,8 +163,13 @@
@Excel(name = "涓績绛惧瓧")
private String opochecker;
+ /** 璐㈠姟鍓櫌闀跨瀛� */
+ @ApiModelProperty("闄㈤暱绛惧瓧")
+ @Excel(name = "闄㈤暱绛惧瓧")
+ private String president;
+
/**
- * 璐㈠姟鍓櫌闀跨瀛�
+ * 闄㈤暱绛惧瓧
*/
@ApiModelProperty("璐㈠姟鍓櫌闀跨瀛�")
@Excel(name = "璐㈠姟鍓櫌闀跨瀛�")
diff --git a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursementShared.java b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursementShared.java
index 419a642..d257d51 100644
--- a/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursementShared.java
+++ b/ruoyi-project/src/main/java/com/ruoyi/project/domain/ServiceReimbursementShared.java
@@ -179,6 +179,11 @@
@Excel(name = "璐㈠姟鍓櫌闀跨瀛�")
private String finvicepresident;
+ /** 闄㈤暱绛惧瓧 */
+ @ApiModelProperty("闄㈤暱绛惧瓧")
+ @Excel(name = "闄㈤暱绛惧瓧")
+ private String president;
+
/**
* 涓氬姟鍓櫌闀跨瀛�
*/
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceFundMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceFundMapper.xml
index e46ad73..4f24a2c 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceFundMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceFundMapper.xml
@@ -33,6 +33,7 @@
<result property="deptmentname" column="DeptmentName"/>
<result property="opochecker" column="OPOchecker"/>
<result property="finvicepresident" column="FinVicePresident"/>
+ <result property="president" column="president"/>
<result property="busvicepresident" column="BusVicePresident"/>
<result property="officedirector" column="OfficeDirector"/>
<result property="financedirector" column="FinanceDirector"/>
@@ -87,6 +88,7 @@
DeptmentName,
OPOchecker,
FinVicePresident,
+ president,
BusVicePresident,
OfficeDirector,
FinanceDirector,
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceFundSharedMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceFundSharedMapper.xml
index a2cdb80..aa3d56b 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceFundSharedMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceFundSharedMapper.xml
@@ -42,6 +42,7 @@
<result property="deptmentname" column="DeptmentName"/>
<result property="opochecker" column="OPOchecker"/>
<result property="finvicepresident" column="FinVicePresident"/>
+ <result property="president" column="president"/>
<result property="busvicepresident" column="BusVicePresident"/>
<result property="officedirector" column="OfficeDirector"/>
<result property="financedirector" column="FinanceDirector"/>
@@ -97,6 +98,7 @@
DeptmentName,
OPOchecker,
FinVicePresident,
+ president,
BusVicePresident,
OfficeDirector,
FinanceDirector,
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementMapper.xml
index 026504e..21aa1f1 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementMapper.xml
@@ -31,6 +31,7 @@
<result property="deptmentname" column="DeptmentName"/>
<result property="opochecker" column="OPOchecker"/>
<result property="finvicepresident" column="FinVicePresident"/>
+ <result property="president" column="president"/>
<result property="busvicepresident" column="BusVicePresident"/>
<result property="officedirector" column="OfficeDirector"/>
<result property="financedirector" column="FinanceDirector"/>
@@ -87,6 +88,7 @@
DeptmentName,
OPOchecker,
FinVicePresident,
+ president,
BusVicePresident,
OfficeDirector,
FinanceDirector,
diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml
index 2a90fe2..523a384 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceReimbursementSharedMapper.xml
@@ -32,6 +32,7 @@
<result property="deptmentname" column="DeptmentName"/>
<result property="opochecker" column="OPOchecker"/>
<result property="finvicepresident" column="FinVicePresident"/>
+ <result property="president" column="president"/>
<result property="busvicepresident" column="BusVicePresident"/>
<result property="officedirector" column="OfficeDirector"/>
<result property="financedirector" column="FinanceDirector"/>
@@ -91,6 +92,7 @@
DeptmentName,
OPOchecker,
FinVicePresident,
+ president,
BusVicePresident,
OfficeDirector,
FinanceDirector,
diff --git a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java
index 5e8313c..7225a41 100644
--- a/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java
+++ b/ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java
@@ -84,6 +84,9 @@
ServiceFund serviceFund = new ServiceFund();
serviceFund.setId(serviceFundShared.getSerfunid());
serviceFund.setZffs(serviceFundShared.getZffs());
+ if (StringUtils.isNotBlank(serviceFundShared.getPresident())) {
+ serviceFund.setPresident(serviceFundShared.getPresident());
+ }
if (StringUtils.isNotBlank(serviceFundShared.getFinvicepresident())) {
serviceFund.setFinvicepresident(serviceFundShared.getFinvicepresident());
}
@@ -304,6 +307,9 @@
serviceReimbursement.setZffs(serviceReimbursementShared.getZffs());
serviceReimbursement.setRiqi(serviceReimbursementShared.getRiqi());
+ if (StringUtils.isNotBlank(serviceReimbursementShared.getPresident())) {
+ serviceReimbursement.setPresident(serviceReimbursementShared.getPresident());
+ }
if (StringUtils.isNotBlank(serviceReimbursementShared.getFinvicepresident())) {
serviceReimbursement.setFinvicepresident(serviceReimbursementShared.getFinvicepresident());
}
--
Gitblit v1.9.3