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":