From 91ab7571ded3ec25cc2ac9997d26b2feb7d8bb72 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Tue, 31 Oct 2023 16:54:39 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D-=E7=AC=94=E8=AF=95?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E5=8F=91=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../written/BatchAddWrittenResultModeExpand.java | 8 ++++---- .../modeexpand/written/CreateWrittenModeExpand.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/weaver/formmode/recruit/modeexpand/written/BatchAddWrittenResultModeExpand.java b/src/weaver/formmode/recruit/modeexpand/written/BatchAddWrittenResultModeExpand.java index eac84d4..10b9dce 100644 --- a/src/weaver/formmode/recruit/modeexpand/written/BatchAddWrittenResultModeExpand.java +++ b/src/weaver/formmode/recruit/modeexpand/written/BatchAddWrittenResultModeExpand.java @@ -162,15 +162,15 @@ public class BatchAddWrittenResultModeExpand extends AbstractModeExpandJavaCodeN private void sendMessage(int billId) { - String querySql = "select b.ypz,b.ypzw,b.sjh,b.yx,a.yjtzmb ,a.bssj ,a.bsdd,a.yjnr from uf_jcl_apbs a \n" + + String querySql = "select b.ypz,b.ypzw,b.sjh,b.yx,a.yjtzmb ,a.bssj ,a.bsdd,a.yjnr,a.tzypz from uf_jcl_apbs a \n" + "left join uf_jcl_apbs_dt1 b on a.id = b.mainid where a.id = ?"; recordSet.executeQuery(querySql,billId); String yjnr; - String yjtzmb = ""; + String tzypz = ""; List writtenPersonList = new ArrayList<>(); while (recordSet.next()) { - yjtzmb = Util.null2String(recordSet.getString("yjtzmb")); yjnr = recordSet.getString("yjnr"); + tzypz = recordSet.getString("tzypz"); Pattern patten = Pattern.compile("\\$(.*?)\\$");//编译正则表达式 Matcher matcher = patten.matcher(yjnr);// 指定要匹配的字符串 @@ -193,7 +193,7 @@ public class BatchAddWrittenResultModeExpand extends AbstractModeExpandJavaCodeN for (WrittenPerson writtenPerson : writtenPersonList) { Map params = new HashMap<>(); - String[] strings = yjtzmb.split(","); + String[] strings = tzypz.split(","); for (String s : strings) { switch (s) { case "0": diff --git a/src/weaver/formmode/recruit/modeexpand/written/CreateWrittenModeExpand.java b/src/weaver/formmode/recruit/modeexpand/written/CreateWrittenModeExpand.java index 3915ac6..01b2904 100644 --- a/src/weaver/formmode/recruit/modeexpand/written/CreateWrittenModeExpand.java +++ b/src/weaver/formmode/recruit/modeexpand/written/CreateWrittenModeExpand.java @@ -75,14 +75,14 @@ public class CreateWrittenModeExpand extends AbstractModeExpandJavaCodeNew { private void sendMessage(int billId) { - String querySql = "select b.ypz,b.ypzw,b.sjh,b.yx,a.yjtzmb ,a.bssj ,a.bsdd,a.yjnr from uf_jcl_apbs a \n" + + String querySql = "select b.ypz,b.ypzw,b.sjh,b.yx,a.yjtzmb ,a.bssj ,a.bsdd,a.yjnr,a.tzypz from uf_jcl_apbs a \n" + "left join uf_jcl_apbs_dt1 b on a.id = b.mainid where a.id = ?"; recordSet.executeQuery(querySql,billId); String yjnr; - String yjtzmb = ""; + String tzypz = ""; List writtenPersonList = new ArrayList<>(); while (recordSet.next()) { - yjtzmb = Util.null2String(recordSet.getString("yjtzmb")); + tzypz = Util.null2String(recordSet.getString("tzypz")); yjnr = recordSet.getString("yjnr"); Pattern patten = Pattern.compile("\\$(.*?)\\$");//编译正则表达式 @@ -106,7 +106,7 @@ public class CreateWrittenModeExpand extends AbstractModeExpandJavaCodeNew { for (WrittenPerson writtenPerson : writtenPersonList) { Map params = new HashMap<>(); - String[] strings = yjtzmb.split(","); + String[] strings = tzypz.split(","); for (String s : strings) { switch (s) { case "0":