为符合项流程 bug修复
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ public class StartSurveyAfter implements TaskListener {
|
||||
// object.getString("standName")
|
||||
JSONArray jsonArray=JSONArray.parseArray(object.getString("standardInfoList"));
|
||||
JSONObject object1=JSONObject.parseObject(String.valueOf(jsonArray.get(0)));
|
||||
String standName= object1.getString("standSerialNumber");
|
||||
String standName= object1.getString("standId");
|
||||
|
||||
delegateTask.setVariable("number",standName);
|
||||
String prcName = standName+"-未符合项整改";
|
||||
|
||||
+3
-3
@@ -22,9 +22,9 @@ public class UploadCommentBefore implements TaskListener {
|
||||
List<BusProcessNew> list = busBean.list(queryWrapper1);
|
||||
if(!list.isEmpty()){
|
||||
BusProcessNew one1 = list.get(0);
|
||||
JSONObject jsonObject = JSON.parseObject(one1.getMesg());
|
||||
jsonObject.put("responUserInfo",delegateTask.getVariable("responUser"));
|
||||
one1.setMesg(jsonObject.toJSONString());
|
||||
// JSONObject jsonObject = JSON.parseObject(one1.getMesg());
|
||||
// jsonObject.put("responUserInfo",delegateTask.getVariable("responUser"));
|
||||
// one1.setMesg(jsonObject.toJSONString());
|
||||
one1.setTaskId(delegateTask.getId());
|
||||
one1.setTaskInfo(delegateTask.getName());
|
||||
busBean.saveOrUpdate(one1);
|
||||
|
||||
Reference in New Issue
Block a user