From 5216cfecd15f9b62715877d717b3d8604c07e831 Mon Sep 17 00:00:00 2001
From: "youHong.ai" <774495953@qq.com>
Date: Wed, 22 Feb 2023 17:01:58 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E9=99=84=E4=BB=B6=E8=B5=8B=E5=80=BC?=
=?UTF-8?q?=EF=BC=8C=E7=94=9F=E6=88=90loginID=EF=BC=8C=E4=BF=AE=E5=A4=8Dht?=
=?UTF-8?q?tpUtils=20set=E6=96=B9=E6=B3=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 22 +-
.../java/aiyh/utils/entity/DocImageInfo.java | 16 +-
.../java/aiyh/utils/httpUtil/ResponeVo.java | 7 +-
.../aiyh/utils/httpUtil/util/HttpUtils.java | 2510 +++++++++--------
.../java/aiyh/utils/mapper/UtilMapper.java | 8 +-
.../WorkflowConditionsSetValueAction.java | 17 +-
.../WorkflowConditionsSetValueService.java | 26 +-
.../util/ValueSetRulesTreatment.java | 1 +
.../CopyDocFileToAttachmentAction.java | 100 +
.../mapper/CopyDocFileToAttachmentMapper.java | 22 +
.../GenerateLoginIdAction.java | 94 +
.../mapper/GenerateLoginIdMapper.java | 64 +
.../youhong/ai/haripijiu/TestHaRiPiJiu.java | 6 +
src/test/java/youhong/ai/pcn/RolesTest.java | 3 +-
view-mysql.sql | 15 +-
15 files changed, 1622 insertions(+), 1289 deletions(-)
create mode 100644 src/main/java/weaver/youhong/ai/pcn/actioin/docfieltoattachment/CopyDocFileToAttachmentAction.java
create mode 100644 src/main/java/weaver/youhong/ai/pcn/actioin/docfieltoattachment/mapper/CopyDocFileToAttachmentMapper.java
create mode 100644 src/main/java/weaver/youhong/ai/pcn/actioin/generateloginid/GenerateLoginIdAction.java
create mode 100644 src/main/java/weaver/youhong/ai/pcn/actioin/generateloginid/mapper/GenerateLoginIdMapper.java
diff --git a/pom.xml b/pom.xml
index 35aac38..48c519d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,7 +64,18 @@
junit
4.12
+
+
+
+
+
+
+
+ com.hierynomus
+ smbj
+ 0.10.0
+
@@ -80,12 +91,11 @@
-
- org.apache.rocketmq
- rocketmq-client
- 4.4.0
-
-
+
+ org.apache.rocketmq
+ rocketmq-client
+ 4.4.0
+
diff --git a/src/main/java/aiyh/utils/entity/DocImageInfo.java b/src/main/java/aiyh/utils/entity/DocImageInfo.java
index 9834f9f..49753e0 100644
--- a/src/main/java/aiyh/utils/entity/DocImageInfo.java
+++ b/src/main/java/aiyh/utils/entity/DocImageInfo.java
@@ -10,12 +10,12 @@ import lombok.Data;
*/
@Data
public class DocImageInfo {
-
- private Integer docId;
- private Integer imageFileId;
- private String imageFileName;
- private Integer id;
- private Integer detailId;
- private Integer fileSize;
-
+
+ private Integer docId;
+ private Integer imageFileId;
+ private String imageFileName;
+ private Integer id;
+ private Integer detailId;
+ private Integer fileSize;
+ private Integer docFileType;
}
diff --git a/src/main/java/aiyh/utils/httpUtil/ResponeVo.java b/src/main/java/aiyh/utils/httpUtil/ResponeVo.java
index 3029b96..7605284 100644
--- a/src/main/java/aiyh/utils/httpUtil/ResponeVo.java
+++ b/src/main/java/aiyh/utils/httpUtil/ResponeVo.java
@@ -4,6 +4,7 @@ package aiyh.utils.httpUtil;
import aiyh.utils.Util;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
+import com.alibaba.fastjson.JSONException;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -133,7 +134,11 @@ public class ResponeVo implements HttpResponse {
ObjectMapper mapper = new ObjectMapper();
this.entityMap = mapper.readValue(this.getEntityString(), Map.class);
} catch (JsonProcessingException ignored) {
- this.resultList = (List