|
|
|
@ -1,28 +1,27 @@
|
|
|
|
|
package com.hnac.hzims.operational.duty.controller; |
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyChangeEntity; |
|
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyChangeService; |
|
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyMainService; |
|
|
|
|
import com.hnac.hzims.operational.duty.vo.ImsDutyChangeTowVo; |
|
|
|
|
import com.hnac.hzims.operational.duty.vo.ImsDutyChangeVO; |
|
|
|
|
import com.hnac.hzims.operational.duty.vo.ImsSchedulingVo; |
|
|
|
|
import com.hnac.hzims.operational.duty.wrapper.ImsDutyChangeWrapper; |
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
|
import org.springblade.core.log.annotation.ApiLog; |
|
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
|
import org.springblade.flow.core.entity.BladeFlow; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
|
|
|
|
|
import com.hnac.hzims.operational.duty.wrapper.ImsDutyChangeWrapper; |
|
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyChangeService; |
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -44,7 +43,6 @@ public class ImsDutyChangeController extends BladeController {
|
|
|
|
|
/** |
|
|
|
|
* 详情 |
|
|
|
|
*/ |
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/detail") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
@ApiOperation(value = "详情", notes = "传入dutyChange") |
|
|
|
@ -64,7 +62,6 @@ public class ImsDutyChangeController extends BladeController {
|
|
|
|
|
/** |
|
|
|
|
* 详情 |
|
|
|
|
*/ |
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/detail/test") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
@ApiOperation(value = "详情示例", notes = "传入dutyChange") |
|
|
|
@ -77,7 +74,6 @@ public class ImsDutyChangeController extends BladeController {
|
|
|
|
|
* |
|
|
|
|
* @param businessId 主键 |
|
|
|
|
*/ |
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/detailById") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
@ApiOperation(value = "详情", notes = "传入 主键Id") |
|
|
|
@ -89,7 +85,6 @@ public class ImsDutyChangeController extends BladeController {
|
|
|
|
|
/** |
|
|
|
|
* 分页 代码自定义代号 |
|
|
|
|
*/ |
|
|
|
|
@ApiLog |
|
|
|
|
@GetMapping("/list") |
|
|
|
|
@ApiOperationSupport(order = 2) |
|
|
|
|
@ApiOperation(value = "分页", notes = "传入dutyChange") |
|
|
|
@ -151,8 +146,6 @@ public class ImsDutyChangeController extends BladeController {
|
|
|
|
|
return R.status(imsDutyService.completeTask(flow,changeEntity)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
|
@PostMapping("/getList") |
|
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
|
@ApiOperation(value = "查询调班记录", notes = "") |
|
|
|
|