Commit afe03f56 authored by dahai's avatar dahai

push

parent 80c2fe90
...@@ -13,6 +13,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -13,6 +13,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
...@@ -49,8 +50,10 @@ public class FailedCardApi { ...@@ -49,8 +50,10 @@ public class FailedCardApi {
for (Object o:jsonarray) { for (Object o:jsonarray) {
Map<String,Object> resultMap =failedCardService.selectInfoByCardId(o.toString()); Map<String,Object> resultMap =failedCardService.selectInfoByCardId(o.toString());
if (resultMap==null){ if (resultMap==null){
resultMap = new LinkedHashMap<>();
resultMap.put("ID_NO",o.toString()); resultMap.put("ID_NO",o.toString());
resultMap.put("NAME","查无此人"); resultMap.put("NAME","查无此人");
resultMap.put("SEX_NO","-1");
} }
resultList.add(resultMap); resultList.add(resultMap);
} }
......
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