package com.mes.work_assignment.controller;
|
|
|
import cn.hutool.core.date.DateTime;
|
import com.mes.damage.service.DamageService;
|
import com.mes.utils.Result;
|
import com.mes.work_assignment.service.WorkAssignmentService;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
/**
|
* <p>
|
* 前端控制器
|
* </p>
|
*
|
* @author wu
|
* @since 2024-07-01
|
*/
|
@RestController
|
@RequestMapping("/work_assignment/work-assignment")
|
public class WorkAssignmentController {
|
|
@Autowired
|
private WorkAssignmentService workAssignmentService;
|
@ApiOperation("值班数据查询")
|
@GetMapping("/selectWorkAssignment")
|
public Result selectWorkAssignment(int line,String workingProcedure) {
|
return Result.build(200,"查询成功",workAssignmentService.selectWorkAssignment(line,workingProcedure));
|
}
|
|
}
|