Commit a93def1fd9abfb664aec4e928fe11b5f2d31c3e0

Authored by liujun001
1 parent 8105bd44

优化导入数据

Bsth-admin/src/main/java/com/ruoyi/domain/dss/sign/exception/vo/SignExceptionVo.java
... ... @@ -26,17 +26,17 @@ public class SignExceptionVo implements java.io.Serializable {
26 26 private java.lang.String fleetName;
27 27  
28 28 /***线路名称*/
29   - @ApiModelProperty(name = "线路名称")
  29 + @ApiModelProperty(value = "线路名称")
30 30 private java.lang.String lineName;
31   - @ApiModelProperty(name = "打卡时间")
  31 + @ApiModelProperty(value = "打卡时间")
32 32 private java.util.Date signTime;
33   - @ApiModelProperty(name = "车辆自编号")
  33 + @ApiModelProperty(value = "车辆自编号")
34 34 private java.lang.String nbbm;
35   - @ApiModelProperty(name = "员工工号")
  35 + @ApiModelProperty(value = "员工工号")
36 36 private String jobCode;
37   - @ApiModelProperty(name = "员工姓名")
  37 + @ApiModelProperty(value = "员工姓名")
38 38 private java.lang.String personnelName;
39   - @ApiModelProperty(name = "酒测状态 签到结果0=无异常,1=超时异常,2=无排班异常,3=酒精超标异常,44饮酒")
  39 + @ApiModelProperty( "酒测状态 签到结果0=无异常,1=超时异常,2=无排班异常,3=酒精超标异常,44饮酒")
40 40 private int signStatus;
41 41 @ApiModelProperty("酒精摄入量 52.12")
42 42 private BigDecimal alcoholIntake;
... ...
Bsth-admin/src/main/java/com/ruoyi/service/impl/sign/in/exception/report/EquipmentExceptionReportServiceImpl.java
... ... @@ -80,7 +80,11 @@ public class EquipmentExceptionReportServiceImpl extends ServiceImpl<EquipmentEx
80 80  
81 81 @Override
82 82 public List<EquipmentExceptionReport> list(EquipmentExceptionReport entity) {
83   - return list(new LambdaQueryWrapper<>(entity));
  83 + LambdaQueryWrapper<EquipmentExceptionReport> wrapper = new LambdaQueryWrapper<>(entity);
  84 + if(CollectionUtils.isNotEmpty(entity.getSignIds())){
  85 + wrapper.in(EquipmentExceptionReport::getSignId,entity.getSignIds());
  86 + }
  87 + return list(wrapper);
84 88 }
85 89 // @Override
86 90 // public List<EquipmentExceptionReport> listOfSelect(EquipmentExceptionReport entity) {
... ...