Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
clx-performance
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
姜武杰
clx-performance
Commits
4124a24d
提交
4124a24d
authored
11月 08, 2023
作者:
aiqingguo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
代码优化
上级
bb95391d
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
28 行增加
和
6 行删除
+28
-6
CollectTruckWaitVO.java
...com/clx/performance/vo/pc/collect/CollectTruckWaitVO.java
+26
-4
CollectWaitReportServiceImpl.java
...ce/service/impl/collect/CollectWaitReportServiceImpl.java
+2
-2
没有找到文件。
performance-api/src/main/java/com/clx/performance/vo/pc/collect/CollectTruckWaitVO.java
浏览文件 @
4124a24d
package
com
.
clx
.
performance
.
vo
.
pc
.
collect
;
package
com
.
clx
.
performance
.
vo
.
pc
.
collect
;
import
com.alibaba.fastjson.JSON
;
import
com.clx.performance.enums.collect.CollectTruckWaitEnum
;
import
com.clx.performance.enums.collect.CollectTruckWaitEnum
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Getter
;
import
lombok.Getter
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
lombok.Setter
;
import
lombok.Setter
;
import
lombok.ToString
;
import
lombok.ToString
;
import
org.springframework.util.StringUtils
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
/**
* @Author: aiqinguo
* @Author: aiqinguo
...
@@ -57,14 +62,31 @@ public class CollectTruckWaitVO {
...
@@ -57,14 +62,31 @@ public class CollectTruckWaitVO {
return
CollectTruckWaitEnum
.
waitType
.
getByCode
(
waitType
).
get
().
getMsg
();
return
CollectTruckWaitEnum
.
waitType
.
getByCode
(
waitType
).
get
().
getMsg
();
}
}
@ApiModelProperty
(
value
=
"预计站内等待时长"
,
example
=
""
)
@JsonIgnore
@ApiModelProperty
(
value
=
"预计站内等待时长"
,
example
=
""
,
hidden
=
true
)
private
BigDecimal
stationInTime
;
private
BigDecimal
stationInTime
;
@ApiModelProperty
(
value
=
"预计站内等待时长图片"
,
example
=
""
)
@JsonIgnore
@ApiModelProperty
(
value
=
"预计站内等待时长图片"
,
example
=
""
,
hidden
=
true
)
private
String
stationInImage
;
private
String
stationInImage
;
@ApiModelProperty
(
value
=
"预计站外等待时长"
,
example
=
""
)
@JsonIgnore
@ApiModelProperty
(
value
=
"预计站外等待时长"
,
example
=
""
,
hidden
=
true
)
private
BigDecimal
stationOutTime
;
private
BigDecimal
stationOutTime
;
@ApiModelProperty
(
value
=
"预计站外等待时长图片"
,
example
=
""
)
@JsonIgnore
@ApiModelProperty
(
value
=
"预计站外等待时长图片"
,
example
=
""
,
hidden
=
true
)
private
String
stationOutImage
;
private
String
stationOutImage
;
@ApiModelProperty
(
value
=
"预计等待时长"
,
example
=
""
)
private
BigDecimal
stationTime
;
public
BigDecimal
getStationTime
()
{
return
stationInTime
;
}
@ApiModelProperty
(
value
=
"预计站内等待时长图片"
,
example
=
""
)
private
List
<
String
>
stationInImageList
;
public
List
<
String
>
getStationInImageList
()
{
return
StringUtils
.
isEmpty
(
stationOutImage
)?
new
ArrayList
<>()
:
JSON
.
parseArray
(
stationInImage
,
String
.
class
);
}
@ApiModelProperty
(
value
=
"上报时间"
,
example
=
""
)
@ApiModelProperty
(
value
=
"上报时间"
,
example
=
""
)
private
String
reportTime
;
private
String
reportTime
;
@ApiModelProperty
(
value
=
"审核状态:0待审核 1已审核"
,
example
=
""
)
@ApiModelProperty
(
value
=
"审核状态:0待审核 1已审核"
,
example
=
""
)
...
...
performance-web/src/main/java/com/clx/performance/service/impl/collect/CollectWaitReportServiceImpl.java
浏览文件 @
4124a24d
...
@@ -107,8 +107,8 @@ public class CollectWaitReportServiceImpl implements CollectWaitReportService {
...
@@ -107,8 +107,8 @@ public class CollectWaitReportServiceImpl implements CollectWaitReportService {
collectTruckWait
.
setReportType
(
CollectTruckWait
.
ReportType
.
UNLOAD
.
getCode
());
collectTruckWait
.
setReportType
(
CollectTruckWait
.
ReportType
.
UNLOAD
.
getCode
());
collectTruckWait
.
setWaitType
(
param
.
getWaitType
());
collectTruckWait
.
setWaitType
(
param
.
getWaitType
());
collectTruckWait
.
setStation
Out
Time
(
param
.
getStationOutTime
());
collectTruckWait
.
setStation
In
Time
(
param
.
getStationOutTime
());
collectTruckWait
.
setStation
Out
Image
(
param
.
getStationOutImageList
()==
null
?
null
:
JSON
.
toJSONString
(
param
.
getStationOutImageList
()));
collectTruckWait
.
setStation
In
Image
(
param
.
getStationOutImageList
()==
null
?
null
:
JSON
.
toJSONString
(
param
.
getStationOutImageList
()));
collectTruckWait
.
setReportTime
(
LocalDateTime
.
now
());
collectTruckWait
.
setReportTime
(
LocalDateTime
.
now
());
collectTruckWait
.
setCreateTime
(
collectTruckWait
.
getReportTime
());
collectTruckWait
.
setCreateTime
(
collectTruckWait
.
getReportTime
());
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论