From 4e6474371f5da1ba148dd0f9da7a0927f0e5a74b Mon Sep 17 00:00:00 2001 From: liusheng <337615773@qq.com> Date: 星期三, 26 六月 2024 10:18:55 +0800 Subject: [PATCH] 变更 --- ruoyi-quartz/src/main/java/com/ruoyi/quartz/task/RyTask.java | 29 ++++++++++++++++++++++------- 1 files changed, 22 insertions(+), 7 deletions(-) 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 a4f3aaf..c65944f 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 @@ -531,14 +531,29 @@ public void sendMeg(String[] split, String phone, String applyType, Integer fundType, Long fundId) throws ApiException { + String content = null; + String time = null; + String people = null; + + if (split.length >= 1) { + people = split[0]; + } + if (split.length >= 2) { + time = split[1]; + } + if (split.length >= 3) { + content = split[2]; + } + //璁板綍鎿嶄綔璁板綍 ServiceFundflow serviceFundflow = new ServiceFundflow(); - serviceFundflow.setCreateBy(split[0]); + + serviceFundflow.setCreateBy(people); + serviceFundflow.setUpdateBy(people); + serviceFundflow.setCheckusername(people); serviceFundflow.setCreateTime(new Date()); - serviceFundflow.setUpdateBy(split[0]); serviceFundflow.setUpdateTime(new Date()); - serviceFundflow.setCheckusername(split[0]); - serviceFundflow.setFlowcontent(split[2]); + serviceFundflow.setFlowcontent(content); serviceFundflow.setFlowconclusion(2); serviceFundflow.setFundtype(fundType); serviceFundflow.setFlowlevel(100); @@ -548,9 +563,9 @@ ArrayList<ConcurrentHashMap<String, Object>> contentList = new ArrayList<>(); ConcurrentHashMap map = new ConcurrentHashMap(); - map.put("瀹℃壒浜猴細", split[0]); - map.put("瀹℃壒鏃堕棿锛�", split[1]); - map.put("鎰忚锛�", split[2]); + map.put("瀹℃壒浜猴細", people); + map.put("瀹℃壒鏃堕棿锛�", time); + map.put("鎰忚锛�", content); contentList.add(map); DingTalkReqVo dingTalkReqVo = new DingTalkReqVo(); dingTalkReqVo.setTitle("璐㈠姟绯荤粺椹冲洖淇℃伅"); -- Gitblit v1.9.3