Commit 1e3ce2dc authored by liuxinben's avatar liuxinben

交接单 港澳台证合并在一起

parent f7aff1da
...@@ -396,6 +396,19 @@ public class ReceiptServiceImpl implements ReceiptService { ...@@ -396,6 +396,19 @@ public class ReceiptServiceImpl implements ReceiptService {
typeMap.put(o.get("CARD_TYPE") + "", mapList); typeMap.put(o.get("CARD_TYPE") + "", mapList);
} }
} }
//将港澳台证合在一起
List<Map<String, Object>> list = new ArrayList<>();
if(typeMap.containsKey("港澳证") && typeMap.containsKey("台湾证")){
for (Map<String, Object> map : (List<Map<String, Object>>)typeMap.get("港澳证")){
list.add(map);
}
for (Map<String, Object> map : (List<Map<String, Object>>)typeMap.get("台湾证")){
list.add(map);
}
typeMap.put("港澳台证",list);
typeMap.remove("港澳证");
typeMap.remove("台湾证");
}
//将已按制证分好的Map 再次细化分为任务单Map //将已按制证分好的Map 再次细化分为任务单Map
for (String type : typeMap.keySet()) { for (String type : typeMap.keySet()) {
List<Map<String, Object>> mapList = (List<Map<String, Object>>) typeMap.get(type); List<Map<String, Object>> mapList = (List<Map<String, Object>>) typeMap.get(type);
...@@ -435,12 +448,12 @@ public class ReceiptServiceImpl implements ReceiptService { ...@@ -435,12 +448,12 @@ public class ReceiptServiceImpl implements ReceiptService {
case "9": case "9":
countyName = "北京市公安局"; countyName = "北京市公安局";
break; break;
case "7": // case "7":
countyName ="台湾证"+countyMap.get("COUNTYNAME"); // countyName ="港澳台证"+countyMap.get("COUNTYNAME");
break; // break;
case "5": // case "5":
countyName ="港澳证"+countyMap.get("COUNTYNAME"); // countyName ="港澳台证"+countyMap.get("COUNTYNAME");
break; // break;
default: default:
countyName = "" + countyMap.get("COUNTYNAME"); countyName = "" + countyMap.get("COUNTYNAME");
} }
......
...@@ -13,8 +13,6 @@ spring: ...@@ -13,8 +13,6 @@ spring:
max-file-size: 20MB max-file-size: 20MB
max-request-size: 2000MB max-request-size: 2000MB
mybatis: mybatis:
type-aliases-package: com.yxproject.start.entity type-aliases-package: com.yxproject.start.entity
#加载Mybatis配置文件 #加载Mybatis配置文件
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment