|
|
|
@ -2,16 +2,10 @@ package com.ccsens.wisdomcar.api; |
|
|
|
|
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.ccsens.wisdomcar.bean.dto.RecordDto; |
|
|
|
import com.ccsens.wisdomcar.bean.dto.WisdomCarDto; |
|
|
|
import com.ccsens.wisdomcar.bean.vo.RecordVo; |
|
|
|
import com.ccsens.wisdomcar.bean.vo.WisdomCarVo; |
|
|
|
import com.ccsens.cloudutil.annotation.MustLogin; |
|
|
|
import com.ccsens.util.JsonResponse; |
|
|
|
import com.ccsens.util.bean.dto.QueryDto; |
|
|
|
import com.ccsens.wisdomcar.bean.dto.CreateCaseDto; |
|
|
|
import com.ccsens.wisdomcar.bean.dto.StatisticsDto; |
|
|
|
import com.ccsens.wisdomcar.bean.vo.StatisticsVo; |
|
|
|
import com.ccsens.wisdomcar.service.IWisdomCarService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
@ -68,15 +62,31 @@ public class WisdomCarController { |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
} |
|
|
|
|
|
|
|
// @MustLogin
|
|
|
|
// @ApiOperation(value = "平车数据上传", notes = "")
|
|
|
|
// @RequestMapping(value = "/uploadCarData", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"})
|
|
|
|
// public JsonResponse uploadCarData(@ApiParam @Validated @RequestBody QueryDto<WisdomCarDto.UploadCarData> params) {
|
|
|
|
// log.info("平车数据上传:{}", params);
|
|
|
|
// wisdomCarService.uploadCarData(params.getParam(),params.getUserId());
|
|
|
|
// log.info("平车数据上传");
|
|
|
|
// return JsonResponse.newInstance().ok();
|
|
|
|
// }
|
|
|
|
|
|
|
|
/* @MustLogin |
|
|
|
@ApiOperation(value = "平车数据上传", notes = "") |
|
|
|
@RequestMapping(value = "/uploadCarData", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse uploadCarData(@ApiParam @Validated @RequestBody QueryDto<WisdomCarDto.UploadCarData> params) { |
|
|
|
log.info("平车数据上传:{}", params); |
|
|
|
wisdomCarService.uploadCarData(params.getParam(),params.getUserId()); |
|
|
|
log.info("平车数据上传"); |
|
|
|
return JsonResponse.newInstance().ok(); |
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
@ApiOperation(value = "查询绑定平车", notes = "") |
|
|
|
@RequestMapping(value = "/queryBindingCar", method = RequestMethod.POST, produces = {"application/json;charset=UTF-8"}) |
|
|
|
public JsonResponse<List<WisdomCarVo.BindingCar>> queryBindingCar(@ApiParam @Validated @RequestBody QueryDto<WisdomCarDto.QueryBindingCar> params) { |
|
|
|
log.info("查询绑定平车:{}", params); |
|
|
|
List<WisdomCarVo.BindingCar> list = wisdomCarService.queryBindingCar(params.getParam()); |
|
|
|
log.info("查询绑定平车成功"); |
|
|
|
return JsonResponse.newInstance().ok(list); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|