Commit 922353a8 authored by suichenguang's avatar suichenguang

Merge remote-tracking branch 'origin/dev' into dev

parents 1f7d1575 afe03f56
...@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController; ...@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RestController;
import java.math.BigDecimal; import java.math.BigDecimal;
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;
...@@ -51,8 +52,10 @@ public class FailedCardApi { ...@@ -51,8 +52,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