|
|
@ -6,6 +6,7 @@ import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; |
|
|
|
import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
import com.hnac.hzims.common.logs.annotation.OperationAnnotation; |
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
import com.hnac.hzims.common.logs.enums.BusinessType; |
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
import com.hnac.hzims.common.logs.enums.OperatorType; |
|
|
|
|
|
|
|
import com.hnac.hzims.common.logs.utils.StringUtils; |
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyMainEntity; |
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyMainEntity; |
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyMainReportExcel; |
|
|
|
import com.hnac.hzims.operational.duty.entity.ImsDutyMainReportExcel; |
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyMainService; |
|
|
|
import com.hnac.hzims.operational.duty.service.IImsDutyMainService; |
|
|
@ -32,6 +33,7 @@ import javax.validation.Valid; |
|
|
|
import java.io.IOException; |
|
|
|
import java.io.IOException; |
|
|
|
import java.net.URLEncoder; |
|
|
|
import java.net.URLEncoder; |
|
|
|
import java.nio.charset.StandardCharsets; |
|
|
|
import java.nio.charset.StandardCharsets; |
|
|
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
|
@ -254,4 +256,16 @@ public class ImsDutyMainController extends BladeController { |
|
|
|
.registerWriteHandler(new ExcelMergeHandler(mergeRowIndex, mergeColumeIndex)).sheet().doWrite(list); |
|
|
|
.registerWriteHandler(new ExcelMergeHandler(mergeRowIndex, mergeColumeIndex)).sheet().doWrite(list); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 个人排班表 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@GetMapping("/personScheduling") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 8) |
|
|
|
|
|
|
|
@ApiOperation(value = "个人排班表", notes = "个人排班表") |
|
|
|
|
|
|
|
public R personScheduling(@RequestParam String date) { |
|
|
|
|
|
|
|
if(StringUtils.isBlank(date)){ |
|
|
|
|
|
|
|
date = new SimpleDateFormat("yyyy-MM").format(new Date()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return imsDutyMainService.personScheduling(date); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|