|
|
|
@ -154,7 +154,7 @@ public class RollPrintServiceImpl implements RollPrintService { |
|
|
|
Date date = new Date(); |
|
|
|
List<Labelprinthist> histsList = new ArrayList<>(); |
|
|
|
// 打印数据 集合 |
|
|
|
List<Map<String,Object>> printList = new ArrayList<>(); |
|
|
|
List<Map<String, Object>> printList = new ArrayList<>(); |
|
|
|
// 打印API 地址 |
|
|
|
String apiAddress = ""; |
|
|
|
// 循环不同模板打印 |
|
|
|
@ -192,6 +192,8 @@ public class RollPrintServiceImpl implements RollPrintService { |
|
|
|
// 当返回的数据中没有映射的key时 提示属性未维护 |
|
|
|
for (String key : itemMap.keySet()) { |
|
|
|
String dbName = itemMap.get(key); |
|
|
|
// 为所有key 附上默认值 |
|
|
|
itemMap.put(key,""); |
|
|
|
// 数据库 $开头 数量 #开头 手工参数 排除 |
|
|
|
if (dbName.indexOf("$") != 0 && dbName.indexOf("#") != 0) { |
|
|
|
if (!printData.containsKey(dbName)) { |
|
|
|
|