提交 d6305ac9 authored 作者: zhoushaopan's avatar zhoushaopan

fix(批量配发模块): 修改签章

修改签章
上级 1a216ac0
......@@ -56,6 +56,7 @@ public class BatchAllotController {
else {
//任务id
List<String> taskIds = new ArrayList<>();
List<Integer> taskId2s = new ArrayList<>();
//批量保存草稿
// allotBillSaveVoList.forEach(allotBillSaveVo -> {
// String s = (String)allotBillController.saveAllotBill(allotBillSaveVo).getBody();
......@@ -63,13 +64,14 @@ public class BatchAllotController {
// });
for (AllotBillSaveVo allotBillSaveVo : allotBillSaveVoList) {
String s = (String)allotBillController.saveAllotBill(allotBillSaveVo).getBody();
taskId2s.add(Integer.valueOf(s.substring(4)));
String newS = s.substring(4);
String receiveUnit = allotBillSaveVo.getReceiveUnit();
String taskId = newS+","+receiveUnit;
taskIds.add(taskId);
}
//批量申请签章
// taskIds.forEach(integer -> allotBillController.applySign(integer,userId));
taskId2s.forEach(integer -> allotBillController.applySign(integer,userId));
for (String taskId : taskIds) {
String[] strings = taskId.split(",");
//取出来taskId
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论