|
|
@@ -9,6 +9,7 @@ import javax.validation.Valid; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import org.springframework.util.StringUtils; |
|
|
|
|
|
|
|
import cn.com.taiji.common.manager.AbstractManager; |
|
|
|
import cn.com.taiji.common.manager.ManagerException; |
|
|
@@ -156,9 +157,9 @@ public class ServiceRequestInquiryManagerImpl extends AbstractManager implements |
|
|
|
} |
|
|
|
applyDetailList.get(0).setStartDate(rechargeOrderResponse.getData().get(0).getStartDate()); |
|
|
|
applyDetailList.get(0).setEndDate(rechargeOrderResponse.getData().get(0).getEndDate()); |
|
|
|
applyDetailList.get(0).setCouThresholdAmount(Integer.valueOf(rechargeOrderResponse.getData().get(0).getCouThresholdAmount())); |
|
|
|
applyDetailList.get(0).setValidType(String.valueOf(rechargeOrderResponse.getData().get(0).getValidType())); |
|
|
|
|
|
|
|
String couThresholdAmount = rechargeOrderResponse.getData().get(0).getCouThresholdAmount(); |
|
|
|
applyDetailList.get(0).setCouThresholdAmount(StringUtils.isEmpty(couThresholdAmount) ? null : Integer.valueOf(couThresholdAmount)); |
|
|
|
applyDetailList.get(0).setValidType(String.valueOf(rechargeOrderResponse.getData().get(0).getValidType())); |
|
|
|
}else{ |
|
|
|
//调用失败 |
|
|
|
String errorMsg = "调用汇联通加油券平台油券激活接口失败:" + rechargeOrderResponse.getMsg() + ",返回码:" + rechargeOrderResponse.getRespCode(); |