Commit d81e5626 authored by liuxinben's avatar liuxinben

异地证 港澳类型组,搜组号从制证库保存,生成的任务单是军人证

parent 428a1035
......@@ -154,12 +154,16 @@ public class FailedCardApi {
} else {
idMap = failedCardService.selectCountIdByCardId(jsonObject.getString("cardId"));
}
int initiator = 5;
String acceptNo = idMap.get(0).get("ACCEPT_NO").toString();
Object taskId = idMap.get(0).get("TASK_ID");
Object workGroup = idMap.get(0).get("WORK_GROUP");
failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"), replace(acceptNo), replace(taskId), String.valueOf(initiator), jsonObject.getString("note"), replace(workGroup), name);
}
if(idMap.size()>1){
return false;
}else {
int initiator = 5;
String acceptNo = idMap.get(0).get("ACCEPT_NO").toString();
Object taskId = idMap.get(0).get("TASK_ID");
Object workGroup = idMap.get(0).get("WORK_GROUP");
failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"), replace(acceptNo), replace(taskId), String.valueOf(initiator), jsonObject.getString("note"), replace(workGroup), name);
}
}
} catch (Exception e) {
logger.error("身份证号或受理号:" + jsonarray);
logger.error("Exception 添加废证异常", e);
......
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