Commit 137735b0 authored by suichenguang's avatar suichenguang

更改废证上传工序

parent d2038621
...@@ -65,7 +65,8 @@ public class FailedCardApi { ...@@ -65,7 +65,8 @@ public class FailedCardApi {
for (Object o:jsonarray){ for (Object o:jsonarray){
JSONObject jsonObject =(JSONObject)o; JSONObject jsonObject =(JSONObject)o;
Map<String,Object> idMap= failedCardService.selectCountIdByCardId(jsonObject.getString("cardId")); Map<String,Object> idMap= failedCardService.selectCountIdByCardId(jsonObject.getString("cardId"));
failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"),idMap.get("ACCEPT_NO").toString(),idMap.get("TASK_ID").toString(),jsonObject.getString("initiator"),jsonObject.getString("note")); int initiator = Integer.parseInt(jsonObject.getString("initiator"))-2;
failedCardService.insertFailedCard(jsonObject.getString("failedCardReasonId"),idMap.get("ACCEPT_NO").toString(),idMap.get("TASK_ID").toString(), String.valueOf(initiator),jsonObject.getString("note"));
} }
return true; return true;
} }
......
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