Browse Source

报销开发子报销列表新增字段

anderx 2 years ago
parent
commit
a1258e3981

+ 2 - 0
src/main/java/com/goafanti/common/mapper/ExpenseAccountMapper.xml

@@ -425,6 +425,8 @@
     select a.id,a.total_amount totalAmount,a.`type`,a.process_status processStatus,a.type_other typeOther,
     a.attachment_url attachmentUrl,a.target_type targetType , e.contract_no contractNo,tm.buyer_name buyerName ,
     a.secondary_type secondaryType, a.secondary_type_other secondaryTypeOther,a.status,
+    date_format(a.release_start,'%Y-%m-%d %H:%i:%S')releaseStartStr,
+    date_format(a.release_end,'%Y-%m-%d %H:%i:%S')releaseEndStr,
     <if test="processStatus ==1">
       eae.type eaeType,
     </if>

+ 17 - 0
src/main/java/com/goafanti/expenseAccount/bo/OutExpenseAccountBo.java

@@ -18,6 +18,8 @@ public class OutExpenseAccountBo {
     private String payDepName;
     private Integer status;
     private Integer targetType;
+    private String  releaseStartStr;
+    private String releaseEndStr;
 
     private String contractNo;
     private String checkNo;
@@ -27,6 +29,21 @@ public class OutExpenseAccountBo {
     private String attachmentUrl;
     private Integer examine;
 
+    public String getReleaseStartStr() {
+        return releaseStartStr;
+    }
+
+    public void setReleaseStartStr(String releaseStartStr) {
+        this.releaseStartStr = releaseStartStr;
+    }
+
+    public String getReleaseEndStr() {
+        return releaseEndStr;
+    }
+
+    public void setReleaseEndStr(String releaseEndStr) {
+        this.releaseEndStr = releaseEndStr;
+    }
 
     public Integer getSecondaryType() {
         return secondaryType;