| | |
| | | import com.java110.utils.exception.ListenerExecuteException; |
| | | import com.java110.utils.util.*; |
| | | import com.java110.vo.ResultVo; |
| | | import com.java110.vo.api.feeConfig.ApiFeeConfigDataVo; |
| | | import org.slf4j.Logger; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.ResponseEntity; |
| | |
| | | List<FeeDto> tmpFeeDtos = new ArrayList<>(); |
| | | for (FeeDto tmpFeeDto : feeDtos) { |
| | | try { |
| | | if (!StringUtil.isEmpty(tmpFeeDto.getAdditionalAmount())) { |
| | | tmpFeeDto.setAdditionalAmount(Double.parseDouble(tmpFeeDto.getAdditionalAmount()) + ""); |
| | | } |
| | | if (!StringUtil.isEmpty(tmpFeeDto.getSquarePrice())) { |
| | | tmpFeeDto.setSquarePrice(Double.parseDouble(tmpFeeDto.getSquarePrice()) + ""); |
| | | } |
| | | |
| | | //todo 有目标结束时间,并且不是一次性费用 |
| | | if (!StringUtil.isEmpty(feeDto.getTargetEndTime()) |
| | | && !FeeDto.FEE_FLAG_ONCE.equals(tmpFeeDto.getFeeFlag()) |