| | |
| | | } else { |
| | | serviceFunddetailService.updateById(serviceFunddetail); |
| | | } |
| | | //计算税金 |
| | | if (serviceFunddetail.getAmount() != null) { |
| | | taxBefore = taxBefore + serviceFunddetail.getAmount(); |
| | | } |
| | | if (serviceFunddetail.getTaxedamount() != null) { |
| | | taxAfter = taxAfter + serviceFunddetail.getTaxedamount(); |
| | | } |
| | | continue; |
| | | } else if (serviceFunddetailVO.getTaxedamount() != null && serviceFunddetailVO.getTaxedamount() != 0.0) { |
| | | // 税后求税前,如果是专家费申请 或 伦理专家费申请 才会计算税前税后 |
| | |
| | | } else { |
| | | serviceFunddetailService.updateById(serviceFunddetail); |
| | | } |
| | | if (serviceFundVO.getApplytype().equals("1") || serviceFundVO.getApplytype().equals("2")) { |
| | | //如果是专家费申请 或 伦理专家费申请 才会计算税前税后 |
| | | // if (serviceFundVO.getApplytype().equals("1") || serviceFundVO.getApplytype().equals("2")) { |
| | | //如果是专家费申请 或 伦理专家费申请 才会计算税前税后 |
| | | if (serviceFunddetail.getAmount() != null) { |
| | | taxBefore = taxBefore + serviceFunddetail.getAmount(); |
| | | } |
| | | if (serviceFunddetail.getTaxedamount() != null) { |
| | | taxAfter = taxAfter + serviceFunddetail.getTaxedamount(); |
| | | } |
| | | } |