package com.stylefeng.guns.modular.system.controller.taxi; import com.stylefeng.guns.core.base.controller.BaseController; import com.stylefeng.guns.modular.system.service.IPushEvaluationService; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; /** * 推送数据到考评系统 * * @author Lux * @version 1.0.0 * @since 2026/6/5 16:14 */ @Controller @RequiredArgsConstructor @RequestMapping("/push/evaluation") public class PushEvaluationController extends BaseController { private final IPushEvaluationService pushEvaluationService; /** * 手动推送指定时间的订单到考评系统 */ @GetMapping("/order") public void pushOrder(@RequestParam String startTime, @RequestParam String endTime) { pushEvaluationService.pushEvaluation(startTime, endTime); } }