Ver código fonte

物品申购流程自定义标题调整

dzx 1 ano atrás
pai
commit
7c2a089d4e

+ 8 - 8
src/main/java/com/xjrsoft/module/workflow/utils/WorkFlowUtil.java

@@ -236,14 +236,14 @@ public class WorkFlowUtil {
                     ArrayList<Map<String, Object>> list = (ArrayList<Map<String, Object>>) value.get("wf_subscription_listList");
                     if(list.size() > 0){
                         Map<String, Object> objectMap = list.get(0);
-                        Set<String> keys = objectMap.keySet();
-                        String firstKey = null;
-                        for (String key : keys) {
-                            if(firstKey != null){
-                                continue;
-                            }
-                            firstKey = key;
-                        }
+//                        Set<String> keys = objectMap.keySet();
+                        String firstKey = "name_of_the_purchased_item";
+//                        for (String key : keys) {
+//                            if(firstKey != null){
+//                                continue;
+//                            }
+//                            firstKey = key;
+//                        }
                         title_last = objectMap.get(firstKey).toString();
                     }
                 }