Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
traffic-signal-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
signal
traffic-signal-platform
Commits
a04ee476
Commit
a04ee476
authored
Dec 07, 2022
by
hanbing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日期格式
parent
95b8300b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletion
+11
-1
ManufacturerController.java
...java/net/wanji/utc/controller/ManufacturerController.java
+9
-1
CrossInfoListVO.java
...in/java/net/wanji/utc/vo/systemadmin/CrossInfoListVO.java
+2
-0
No files found.
signal-utc-service/src/main/java/net/wanji/utc/controller/ManufacturerController.java
View file @
a04ee476
...
...
@@ -19,6 +19,8 @@ import org.springframework.web.bind.annotation.RequestBody;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
/**
* 系统管理-厂商管理
*
...
...
@@ -41,9 +43,15 @@ public class ManufacturerController {
@ApiResponse
(
code
=
200
,
message
=
"OK"
,
response
=
ManufacturerInfoPO
.
class
),
})
public
JsonViewObject
list
(
@RequestBody
ManufacturerListDTO
manufacturerListDTO
)
{
Integer
pageSize
=
manufacturerListDTO
.
getPageSize
();
Integer
pageNum
=
manufacturerListDTO
.
getPageNum
();
if
(
pageSize
==
0
&&
pageNum
==
0
)
{
// 不分页
manufacturerListDTO
.
setPageNum
(
1
);
manufacturerListDTO
.
setPageSize
(
9999
);
}
PageInfo
<
ManufacturerInfoPO
>
manufacturerInfoPOPageInfo
=
manufacturerService
.
list
(
manufacturerListDTO
);
JsonViewObject
jsonViewObject
=
JsonViewObject
.
newInstance
();
return
jsonViewObject
.
success
(
manufacturerInfoPOPageInfo
);
}
...
...
signal-utc-service/src/main/java/net/wanji/utc/vo/systemadmin/CrossInfoListVO.java
View file @
a04ee476
package
net
.
wanji
.
utc
.
vo
.
systemadmin
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -41,6 +42,7 @@ public class CrossInfoListVO {
private
String
model
;
/** 安装时间 */
@ApiModelProperty
(
value
=
"安装时间"
,
notes
=
""
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd hh:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
installTime
;
/** 创建时间 */
@ApiModelProperty
(
value
=
"创建时间"
,
notes
=
""
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment