| | |
| | | if (orgBigDecimal.compareTo(adjustBigDecimal) == 0){ |
| | | continue; |
| | | } |
| | | manLocDetl1.setAnfme(adjustBigDecimal.doubleValue()); |
| | | if (!manLocDetlService.update(manLocDetl1,manLocDetlEntityWrapper)){ |
| | | throw new CoolException("更新数据失败"); |
| | | if (adjustBigDecimal.compareTo(BigDecimal.ZERO) == 0){ |
| | | manLocDetlService.delete(manLocDetlEntityWrapper); |
| | | }else { |
| | | manLocDetl1.setAnfme(adjustBigDecimal.doubleValue()); |
| | | if (!manLocDetlService.update(manLocDetl1,manLocDetlEntityWrapper)){ |
| | | throw new CoolException("更新数据失败"); |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | } |
| | | } |
| | | |