| | |
| | | approve.setApproveUser(sysUser.getUserId()); |
| | | //审核中不可以编辑审核人 |
| | | if(approve.getApproveStatus() != 1){ |
| | | approve.setApproveUserCurrentId(sysUsers.get(0).getUserId()); |
| | | approve.setApproveUserCurrentName(sysUsers.get(0).getNickName()); |
| | | approve.setApproveUserCurrentId(Long.parseLong(split[0])); |
| | | approve.setApproveUserCurrentName(sysUsers.stream().filter(user -> user.getUserId().equals(Long.parseLong(split[0]))).collect(Collectors.toList()).get(0).getNickName()); |
| | | } |
| | | updateById(approve); |
| | | //修改审批人 |
| | |
| | | int index = -1; |
| | | for (int i = 0; i < invoiceRegistrationProductList.size(); i++) { |
| | | InvoiceRegistrationProduct currentInvoiceRegProduct = invoiceRegistrationProductList.get(i); |
| | | if(invoiceRegistrationProduct.getId() == currentInvoiceRegProduct.getId()){ |
| | | if(invoiceRegistrationProduct.getId().equals(currentInvoiceRegProduct.getId())){ |
| | | index = i; |
| | | } |
| | | } |