From 94defeef43a6eb0187f1df071c669e75ddcbd144 Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期四, 05 十月 2023 14:16:59 +0800
Subject: [PATCH] #登陆界面去掉左边界面两个logo
---
src/main/java/com/zy/crm/manager/entity/PriOnline2.java | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/crm/manager/entity/PriOnline2.java b/src/main/java/com/zy/crm/manager/entity/PriOnline2.java
index 244d26b..754014c 100644
--- a/src/main/java/com/zy/crm/manager/entity/PriOnline2.java
+++ b/src/main/java/com/zy/crm/manager/entity/PriOnline2.java
@@ -100,13 +100,37 @@
@TableField("check_data_file")
private String checkDataFile;
+ /**
+ * hostId
+ */
+ @ApiModelProperty(value= "hostId")
+ @TableField("host_id")
+ private Long hostId;
+
+ /**
+ * 杩涘害
+ */
+ @ApiModelProperty(value= "杩涘害")
+ private Integer settle;
+
+ /**
+ * 娴佺▼杩涘害
+ */
+ @ApiModelProperty(value= "娴佺▼杩涘害")
+ @TableField("settle_msg")
+ private String settleMsg;
+
+ @ApiModelProperty(value= "")
+ private String form;
+
public PriOnline2() {}
- public PriOnline2(String title, String sheetData, Date createTime, String filepath) {
+ public PriOnline2(String title, String sheetData, Date createTime, String filepath,Integer settle) {
this.title = title;
this.sheetData = sheetData;
this.createTime = createTime;
this.filepath = filepath;
+ this.settle = settle;
}
// PriOnline priOnline = new PriOnline(
@@ -114,6 +138,22 @@
// null, // excel琛ㄦ暟鎹�
// null // 鍒涘缓鏃堕棿
// );
+
+ public String getSettle$(){
+ if (null == this.settle){ return null; }
+ switch (this.settle){
+ case 0:
+ return "绛夊緟鎻愪氦";
+ case 1:
+ return "绛夊緟瀹℃壒";
+ case 2:
+ return "绛夊緟纭";
+ case 3:
+ return "瀹℃壒閫氳繃";
+ default:
+ return String.valueOf(this.settle);
+ }
+ }
public String getCreateTime$(){
if (Cools.isEmpty(this.createTime)){
@@ -139,8 +179,10 @@
// }
public Long getCstmrId$(){
+ PlanService planService = SpringUtils.getBean(PlanService.class);
+ Plan plan = planService.selectById(this.itemId);
CstmrService cstmrService = SpringUtils.getBean(CstmrService.class);
- Cstmr cstmr = cstmrService.selectByName(1L, this.templateName);
+ Cstmr cstmr = cstmrService.selectById(plan.getCstmrId());
if (!Cools.isEmpty(cstmr)){
return cstmr.getId();
}
--
Gitblit v1.9.1