Commit 5cb1822345422c8a339a81c82829bc73fee30bf6

Authored by guzijian
1 parent 87a98801

fix: 新增显示字段

ruoyi-admin/src/main/java/com/ruoyi/pojo/response/ReportDetailResponseVo.java
... ... @@ -3,7 +3,36 @@ package com.ruoyi.pojo.response;
3 3 import io.swagger.annotations.ApiModel;
4 4 import lombok.Data;
5 5  
  6 +import java.util.Date;
  7 +
  8 +/**
  9 + * @author 20412
  10 + */
6 11 @Data
7 12 @ApiModel("签到报表查看详情vo")
8 13 public class ReportDetailResponseVo {
  14 + private String name;
  15 + private String posts;
  16 + private String lineName;
  17 + private String lpName;
  18 + /**
  19 + * 计划操作
  20 + */
  21 + private String planAction;
  22 + /**
  23 + * 实际操作
  24 + */
  25 + private String actualAction;
  26 + /**
  27 + * 是否酒精测试
  28 + */
  29 + private Boolean alcoholFlag;
  30 + /**
  31 + * 签到时间
  32 + */
  33 + private Date createTime;
  34 + /**
  35 + * 原因
  36 + */
  37 + private String remark;
9 38 }
... ...
ruoyi-admin/src/main/java/com/ruoyi/service/ReportService.java
... ... @@ -10,6 +10,7 @@ import com.ruoyi.in.mapper.SignInMapper;
10 10 import com.ruoyi.pojo.entity.DriverScheduling;
11 11 import com.ruoyi.pojo.request.ReportViewRequestVo;
12 12 import com.ruoyi.pojo.request.ReportErrorRequestVo;
  13 +import com.ruoyi.pojo.response.ReportDetailResponseVo;
13 14 import com.ruoyi.pojo.response.ReportErrorResponseVo;
14 15 import com.ruoyi.pojo.response.ReportSignInResponseVo;
15 16 import com.ruoyi.pojo.response.ReportViewResponseVo;
... ... @@ -128,7 +129,7 @@ public class ReportService {
128 129 return null;
129 130 }
130 131  
131   - public List<DriverScheduling> getReportDetail(ReportViewRequestVo vo, HttpServletResponse response) {
  132 + public List<ReportDetailResponseVo> getReportDetail(ReportViewRequestVo vo, HttpServletResponse response) {
132 133 List<DriverScheduling> toDay = schedulingMapper.queryToDay(vo.getDate(), vo.getName(), vo.getJobCode(), vo.getLineName());
133 134 return null;
134 135 }
... ...
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysIndexController.java
... ... @@ -24,6 +24,6 @@ public class SysIndexController
24 24 @RequestMapping("/")
25 25 public String index()
26 26 {
27   - return StringUtils.format("欢迎使用{}后台管理框架,当前版本:v{},请通过前端地址访问。", ruoyiConfig.getName(), ruoyiConfig.getVersion());
  27 + return "访问首页请通过前端。";
28 28 }
29 29 }
... ...
ruoyi-admin/src/main/resources/mapper/driver/DriverMapper.xml
... ... @@ -58,6 +58,7 @@
58 58  
59 59 <select id="selectDriverList" parameterType="Driver" resultMap="DriverResult">
60 60 select
  61 + distinct
61 62 driver.id,
62 63 driver.job_code,
63 64 driver.company_code,
... ...