|
|
@ -2,6 +2,9 @@ package com.hnac.hzims.operational.duty.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyMainEntity; |
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyMainEntity; |
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyMainService; |
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyMainService; |
|
|
|
import com.hnac.hzims.operational.duty.vo.ChangeDutyMainVo; |
|
|
|
import com.hnac.hzims.operational.duty.vo.ChangeDutyMainVo; |
|
|
@ -116,11 +119,15 @@ public class ImsDutyMainController extends BladeController { |
|
|
|
// }
|
|
|
|
// }
|
|
|
|
// return imsDutyMainService.getScheduling(imsSchedulingVo);
|
|
|
|
// return imsDutyMainService.getScheduling(imsSchedulingVo);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 查询排班 |
|
|
|
* 查询排班 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PostMapping("/scheduling/list") |
|
|
|
@PostMapping("/scheduling/list") |
|
|
|
@ApiOperationSupport(order = 8) |
|
|
|
@ApiOperationSupport(order = 8) |
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "值班管理", title = "排班计划", |
|
|
|
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
|
|
|
businessType = BusinessType.GENCODE, action = "查询排班") |
|
|
|
@ApiOperation(value = "查询排班", notes = "传年份和月份 year month") |
|
|
|
@ApiOperation(value = "查询排班", notes = "传年份和月份 year month") |
|
|
|
public R schedulingList(@Valid @ApiParam(value = "年份", required = true) @RequestParam int year, |
|
|
|
public R schedulingList(@Valid @ApiParam(value = "年份", required = true) @RequestParam int year, |
|
|
|
@ApiParam(value = "月份", required = true) @RequestParam int month, |
|
|
|
@ApiParam(value = "月份", required = true) @RequestParam int month, |
|
|
@ -170,6 +177,10 @@ public class ImsDutyMainController extends BladeController { |
|
|
|
@GetMapping("/getAllPersonInfo") |
|
|
|
@GetMapping("/getAllPersonInfo") |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperation(value = "返回对应部门所有人员", notes = "") |
|
|
|
@ApiOperation(value = "返回对应部门所有人员", notes = "") |
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "值班管理", title = "调班管理", |
|
|
|
|
|
|
|
operatorType = OperatorType.MOBILE, |
|
|
|
|
|
|
|
businessType = BusinessType.GENCODE, |
|
|
|
|
|
|
|
action = "返回对应部门所有人员") |
|
|
|
public R getAllPersonInfo(Long deptId) { |
|
|
|
public R getAllPersonInfo(Long deptId) { |
|
|
|
return R.data(imsDutyMainService.getAllPersonInfo(deptId)); |
|
|
|
return R.data(imsDutyMainService.getAllPersonInfo(deptId)); |
|
|
|
} |
|
|
|
} |
|
|
@ -180,12 +191,12 @@ public class ImsDutyMainController extends BladeController { |
|
|
|
@GetMapping("/getDutyMainInfoVoById") |
|
|
|
@GetMapping("/getDutyMainInfoVoById") |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperation(value = "值班人员ID对应班次信息", notes = "") |
|
|
|
@ApiOperation(value = "值班人员ID对应班次信息", notes = "") |
|
|
|
public R getDutyMainInfoVoById(@ApiParam(value = "机构ID") Long deptId,@ApiParam(value = "申请人ID") Long personId) { |
|
|
|
public R getDutyMainInfoVoById(@ApiParam(value = "机构ID") Long deptId, @ApiParam(value = "申请人ID") Long personId) { |
|
|
|
return imsDutyMainService.getDutyEmergencyEntityById(deptId,personId); |
|
|
|
return imsDutyMainService.getDutyEmergencyEntityById(deptId, personId); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
*灵活调入,调出 |
|
|
|
* 灵活调入,调出 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PostMapping("/updateDutyMainInfoVoById") |
|
|
|
@PostMapping("/updateDutyMainInfoVoById") |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|
@ApiOperationSupport(order = 9) |
|
|
|