| | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.business.model.*; |
| | | import com.doumee.dao.business.web.request.BackElecBikeRequest; |
| | | import com.doumee.dao.business.web.request.RepairRequest; |
| | | import com.doumee.dao.business.web.response.MemberRidesDetailResponse; |
| | | import com.doumee.dao.business.web.response.RidesDetailResponse; |
| | | import com.doumee.dao.system.model.SystemDictData; |
| | | import com.doumee.jtt808.web.service.Jtt808Service; |
| | | import com.doumee.service.business.*; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.yzh.commons.model.APIResult; |
| | | import org.yzh.protocol.t808.T0201_0500; |
| | | import org.yzh.protocol.t808.T8500; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private GoodsorderService goodsorderService; |
| | | @Autowired |
| | | private Jtt808Service jtt808Service; |
| | | |
| | | @Autowired |
| | | private RentSiteService rentSiteService; |
| | |
| | | public ApiResponse<SystemDictData> getSysDict(@RequestParam String dicCode, @RequestParam String label) { |
| | | return ApiResponse.success("查询成功",systemDictDataBiz.queryByCode(dicCode,label)); |
| | | } |
| | | |
| | | @ApiOperation(value = "电车站点还车", notes = "电车站点还车") |
| | | @PostMapping("/backElecBike") |
| | | public ApiResponse backElecBike(@RequestBody BackElecBikeRequest param) { |
| | | param.setMemberId(getMemberId()); |
| | | jtt808Service.backElecBike(param); |
| | | return ApiResponse.success( null); |
| | | } |
| | | } |