generated from dxfeng/secondev-chapanda-feishu
BUG修复-笔试通知发送
This commit is contained in:
parent
4d06a7377e
commit
91ab7571de
|
|
@ -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<WrittenPerson> 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<String,Object> params = new HashMap<>();
|
||||
String[] strings = yjtzmb.split(",");
|
||||
String[] strings = tzypz.split(",");
|
||||
for (String s : strings) {
|
||||
switch (s) {
|
||||
case "0":
|
||||
|
|
|
|||
|
|
@ -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<WrittenPerson> 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<String,Object> params = new HashMap<>();
|
||||
String[] strings = yjtzmb.split(",");
|
||||
String[] strings = tzypz.split(",");
|
||||
for (String s : strings) {
|
||||
switch (s) {
|
||||
case "0":
|
||||
|
|
|
|||
Loading…
Reference in New Issue