|
@@ -7,6 +7,8 @@ import com.sckw.fleet.api.model.dto.UpdateDriverScoreDto;
|
|
|
import com.sckw.fleet.model.request.DriverScorerDetailRequest;
|
|
import com.sckw.fleet.model.request.DriverScorerDetailRequest;
|
|
|
import com.sckw.fleet.model.vo.DriverScorerDetailVO;
|
|
import com.sckw.fleet.model.vo.DriverScorerDetailVO;
|
|
|
import com.sckw.fleet.service.KwfDriverScoreService;
|
|
import com.sckw.fleet.service.KwfDriverScoreService;
|
|
|
|
|
+import io.swagger.v3.oas.annotations.Operation;
|
|
|
|
|
+import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
@@ -21,6 +23,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
*/
|
|
*/
|
|
|
@RestController
|
|
@RestController
|
|
|
@RequestMapping("/driverScore")
|
|
@RequestMapping("/driverScore")
|
|
|
|
|
+@Tag(name = "司机评分管理", description = "提供司机评分相关操作接口")
|
|
|
public class KwfDriverScoreController {
|
|
public class KwfDriverScoreController {
|
|
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -41,6 +44,7 @@ public class KwfDriverScoreController {
|
|
|
* @author zk
|
|
* @author zk
|
|
|
* @date 2023/7/6
|
|
* @date 2023/7/6
|
|
|
**/
|
|
**/
|
|
|
|
|
+ @Operation(summary = "分页查询司机评分明细", description = "根据条件分页查询司机评分明细信息")
|
|
|
@PostMapping("/queryScoreDetailPage")
|
|
@PostMapping("/queryScoreDetailPage")
|
|
|
public BaseResult<PageDataResult<DriverScorerDetailVO>> queryScoreDetailPage(@Validated @RequestBody DriverScorerDetailRequest request) {
|
|
public BaseResult<PageDataResult<DriverScorerDetailVO>> queryScoreDetailPage(@Validated @RequestBody DriverScorerDetailRequest request) {
|
|
|
PageDataResult<DriverScorerDetailVO> ScorerDetailPageList = kwfDriverScoreService.queryScoreDetailPage(request);
|
|
PageDataResult<DriverScorerDetailVO> ScorerDetailPageList = kwfDriverScoreService.queryScoreDetailPage(request);
|