| | |
| | | import com.java110.common.charge.IChargeCore; |
| | | import com.java110.core.base.smo.BaseServiceSMO; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import com.java110.dto.chargeMachine.NotifyChargeOrderDto; |
| | | import com.java110.dto.charge.NotifyChargeOrderDto; |
| | | import com.java110.intf.common.*; |
| | | import com.java110.vo.ResultVo; |
| | | import org.slf4j.Logger; |
| | |
| | | private static final Logger logger = LoggerFactory.getLogger(NotifyChargeV1InnerServiceSMOImpl.class); |
| | | |
| | | |
| | | |
| | | @Autowired |
| | | private IChargeCore chargeCoreImpl; |
| | | |
| | |
| | | @Override |
| | | public ResultVo finishCharge(@RequestBody NotifyChargeOrderDto notifyChargeOrderDto) { |
| | | |
| | | return chargeCoreImpl.finishCharge(notifyChargeOrderDto); |
| | | |
| | | ResultVo resultVo = null; |
| | | try { |
| | | resultVo = chargeCoreImpl.finishCharge(notifyChargeOrderDto); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | logger.error("停止充电失败", e); |
| | | throw e; |
| | | } |
| | | return resultVo; |
| | | } |
| | | |
| | | @Override |