Commit 163f95c8 authored by suichenguang's avatar suichenguang

excel添加更改备注

parent 1e13e7d7
...@@ -182,7 +182,6 @@ public class ReceiptApi { ...@@ -182,7 +182,6 @@ public class ReceiptApi {
*/ */
@RequestMapping("selectDetailList") @RequestMapping("selectDetailList")
public List<Map<String, Object>> selectDetailList(@RequestParam("receiptId") String receiptId) { public List<Map<String, Object>> selectDetailList(@RequestParam("receiptId") String receiptId) {
List<Map<String, Object>> resultList = receiptService.selectDetailList(receiptId); List<Map<String, Object>> resultList = receiptService.selectDetailList(receiptId);
for (int i = 0; i < resultList.size(); i++) { for (int i = 0; i < resultList.size(); i++) {
String acceptNo = (String) resultList.get(i).get("ACCEPT_NO"); String acceptNo = (String) resultList.get(i).get("ACCEPT_NO");
...@@ -192,7 +191,6 @@ public class ReceiptApi { ...@@ -192,7 +191,6 @@ public class ReceiptApi {
resultList.get(i).put("electricDate", map.get("ELECTRICDATE")); resultList.get(i).put("electricDate", map.get("ELECTRICDATE"));
} }
return resultList; return resultList;
} }
/** /**
...@@ -217,7 +215,6 @@ public class ReceiptApi { ...@@ -217,7 +215,6 @@ public class ReceiptApi {
/** /**
* 根据受理号查询详单信息 * 根据受理号查询详单信息
*
* @param jsonStr * @param jsonStr
* @return * @return
*/ */
...@@ -228,20 +225,17 @@ public class ReceiptApi { ...@@ -228,20 +225,17 @@ public class ReceiptApi {
for (int i = 0; i < jsonarray.size(); i++) { for (int i = 0; i < jsonarray.size(); i++) {
DetailReceiptListEntity detailReceiptListEntity = receiptService.selectDetailByAcceptNo((String) jsonarray.get(i)); DetailReceiptListEntity detailReceiptListEntity = receiptService.selectDetailByAcceptNo((String) jsonarray.get(i));
resultList.add(detailReceiptListEntity); resultList.add(detailReceiptListEntity);
} }
return resultList; return resultList;
} }
/** /**
* 更改备注信息 * 更改备注信息
*
* @param jsonStr * @param jsonStr
* @return * @return
*/ */
@RequestMapping("updateDetailNote") @RequestMapping("updateDetailNote")
public boolean updateDetailNote(@RequestBody String jsonStr) { public boolean updateDetailNote(@RequestBody String jsonStr) {
JSONArray jsonArray = JSONArray.fromObject(jsonStr); JSONArray jsonArray = JSONArray.fromObject(jsonStr);
for (int i = 0; i < jsonArray.size(); i++) { for (int i = 0; i < jsonArray.size(); i++) {
Map<String, Object> resultMap = (Map<String, Object>) jsonArray.get(i); Map<String, Object> resultMap = (Map<String, Object>) jsonArray.get(i);
......
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