Commit 75daf5b445ec1da46783a1f47dbf0bc912b873c5

Authored by guzijian
1 parent f0065f8d

feat: 更新目录结构,可弹窗人员

Bsth-admin/src/main/java/com/ruoyi/controller/BigViewController.java 0 → 100644
  1 +package com.ruoyi.controller;
  2 +
  3 +import com.ruoyi.common.global.Result;
  4 +import io.swagger.annotations.Api;
  5 +import io.swagger.annotations.ApiOperation;
  6 +import org.springframework.web.bind.annotation.GetMapping;
  7 +import org.springframework.web.bind.annotation.RequestMapping;
  8 +import org.springframework.web.bind.annotation.RestController;
  9 +
  10 +/**
  11 + * 可视化大屏控制controller
  12 + * @author 20412
  13 + */
  14 +@RestController
  15 +@RequestMapping("/big/view")
  16 +@Api(tags = "可视化大屏")
  17 +public class BigViewController {
  18 +
  19 +
  20 + @ApiOperation("获取但当天打卡记录")
  21 + @GetMapping("/getTodayRecord")
  22 + public Result<?> getTodayRecord(){
  23 + return Result.OK();
  24 + }
  25 +
  26 +}
... ...
Bsth-admin/src/main/java/com/ruoyi/driver/service/impl/DriverServiceImpl.java
... ... @@ -587,10 +587,16 @@ public class DriverServiceImpl implements IDriverService {
587 587 switch (item.getPosts()){
588 588 case "驾驶员":
589 589 case "售票员":
590   - case "科员":
  590 + case "采集员":
  591 + case "调度":
  592 + case "稽查":
  593 + case "集调中心":
  594 + case "票务":
  595 + case "站员":
591 596 return true;
  597 + default:
  598 + return false;
592 599 }
593   - return false;
594 600 }
595 601  
596 602 /**
... ...
Bsth-admin/src/main/java/com/ruoyi/in/controller/SignInController.java
... ... @@ -80,7 +80,7 @@ public class SignInController extends BaseController {
80 80 /**
81 81 * 补签
82 82 */
83   -// @PreAuthorize("@ss.hasPermi('in:in:add')")
  83 +// @PreAuthorize("@ss.hasPermi('in:in:signature')")
84 84 @Log(title = "补签", businessType = BusinessType.INSERT)
85 85 @PutMapping("/supplementarySignature")
86 86 @ApiOperation("补签(通过后台管理页面)")
... ...
Bsth-admin/src/main/java/com/ruoyi/service/EmailService.java
1 1 package com.ruoyi.service;
2 2  
  3 +import com.ruoyi.common.utils.StringUtils;
3 4 import com.ruoyi.email.domain.EmailConfig;
4 5 import com.ruoyi.email.service.IEmailConfigService;
5 6 import com.ruoyi.domain.DriverScheduling;
... ... @@ -76,7 +77,7 @@ public class EmailService {
76 77 }
77 78  
78 79 private List<String> getRecipientsEmailIds(EmailConfig config) {
79   - if (!Objects.isNull(config.getParentId())){
  80 + if (StringUtils.isNotEmpty(config.getParentId())){
80 81 return emailConfigService
81 82 .selectEmailConfigListByIds(Arrays.stream(config.getParentId()
82 83 .split(","))
... ...