Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
项目统一框架
amos-boot-biz
Commits
d29fd966
Commit
d29fd966
authored
May 16, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码
parent
3dc80e2e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
WaterResourceDto.java
...oin/amos/boot/module/common/api/dto/WaterResourceDto.java
+2
-0
EquipmentDetailExcelSingleTemplateDto.java
...quipmanage/dto/EquipmentDetailExcelSingleTemplateDto.java
+9
-0
EquipmentDetailExcelTemplateDto.java
...join/equipmanage/dto/EquipmentDetailExcelTemplateDto.java
+8
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/dto/WaterResourceDto.java
View file @
d29fd966
...
@@ -93,12 +93,14 @@ public class WaterResourceDto extends BaseDto {
...
@@ -93,12 +93,14 @@ public class WaterResourceDto extends BaseDto {
@ApiModelProperty
(
value
=
"建造日期"
)
@ApiModelProperty
(
value
=
"建造日期"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@com
.
alibaba
.
excel
.
annotation
.
format
.
DateTimeFormat
(
"yyyy-MM-dd"
)
private
Date
buildDate
;
private
Date
buildDate
;
@ExcelProperty
(
value
=
"启用日期"
,
index
=
8
)
@ExcelProperty
(
value
=
"启用日期"
,
index
=
8
)
@ApiModelProperty
(
value
=
"启用日期"
)
@ApiModelProperty
(
value
=
"启用日期"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@com
.
alibaba
.
excel
.
annotation
.
format
.
DateTimeFormat
(
"yyyy-MM-dd"
)
private
Date
enableDate
;
private
Date
enableDate
;
@ExcelIgnore
@ExcelIgnore
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/dto/EquipmentDetailExcelSingleTemplateDto.java
View file @
d29fd966
...
@@ -2,8 +2,11 @@ package com.yeejoin.equipmanage.dto;
...
@@ -2,8 +2,11 @@ package com.yeejoin.equipmanage.dto;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yeejoin.equipmanage.utils.ExplicitConstraint
;
import
com.yeejoin.equipmanage.utils.ExplicitConstraint
;
import
com.yeejoin.equipmanage.utils.RoleNameExplicitConstraint
;
import
com.yeejoin.equipmanage.utils.RoleNameExplicitConstraint
;
import
io.swagger.annotations.ApiModelProperty
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -60,6 +63,9 @@ public class EquipmentDetailExcelSingleTemplateDto {
...
@@ -60,6 +63,9 @@ public class EquipmentDetailExcelSingleTemplateDto {
private
String
companyName
;
private
String
companyName
;
@ExcelProperty
(
value
=
"生产日期"
,
index
=
11
)
@ExcelProperty
(
value
=
"生产日期"
,
index
=
11
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@com
.
alibaba
.
excel
.
annotation
.
format
.
DateTimeFormat
(
"yyyy-MM-dd"
)
//@Excel(name = "品牌", width = 30, orderNum = "4")
//@Excel(name = "品牌", width = 30, orderNum = "4")
private
Date
productionDate
;
private
Date
productionDate
;
...
@@ -72,6 +78,9 @@ public class EquipmentDetailExcelSingleTemplateDto {
...
@@ -72,6 +78,9 @@ public class EquipmentDetailExcelSingleTemplateDto {
// private BigDecimal maintenanceCycle ;
// private BigDecimal maintenanceCycle ;
@ExcelProperty
(
value
=
"投运日期"
,
index
=
12
)
@ExcelProperty
(
value
=
"投运日期"
,
index
=
12
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@com
.
alibaba
.
excel
.
annotation
.
format
.
DateTimeFormat
(
"yyyy-MM-dd"
)
//@Excel(name = "品牌", width = 30, orderNum = "4")
//@Excel(name = "品牌", width = 30, orderNum = "4")
private
Date
deliveryDate
;
private
Date
deliveryDate
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/dto/EquipmentDetailExcelTemplateDto.java
View file @
d29fd966
package
com
.
yeejoin
.
equipmanage
.
dto
;
package
com
.
yeejoin
.
equipmanage
.
dto
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yeejoin.equipmanage.utils.ExplicitConstraint
;
import
com.yeejoin.equipmanage.utils.ExplicitConstraint
;
import
com.yeejoin.equipmanage.utils.RoleNameExplicitConstraint
;
import
com.yeejoin.equipmanage.utils.RoleNameExplicitConstraint
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -65,6 +67,9 @@ public class EquipmentDetailExcelTemplateDto implements Serializable {
...
@@ -65,6 +67,9 @@ public class EquipmentDetailExcelTemplateDto implements Serializable {
private
String
companyName
;
private
String
companyName
;
@ExcelProperty
(
value
=
"生产日期"
,
index
=
12
)
@ExcelProperty
(
value
=
"生产日期"
,
index
=
12
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@com
.
alibaba
.
excel
.
annotation
.
format
.
DateTimeFormat
(
"yyyy-MM-dd"
)
//@Excel(name = "品牌", width = 30, orderNum = "4")
//@Excel(name = "品牌", width = 30, orderNum = "4")
private
Date
productionDate
;
private
Date
productionDate
;
...
@@ -77,6 +82,9 @@ public class EquipmentDetailExcelTemplateDto implements Serializable {
...
@@ -77,6 +82,9 @@ public class EquipmentDetailExcelTemplateDto implements Serializable {
// private BigDecimal maintenanceCycle ;
// private BigDecimal maintenanceCycle ;
@ExcelProperty
(
value
=
"投运时间"
,
index
=
13
)
@ExcelProperty
(
value
=
"投运时间"
,
index
=
13
)
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@com
.
alibaba
.
excel
.
annotation
.
format
.
DateTimeFormat
(
"yyyy-MM-dd"
)
//@Excel(name = "品牌", width = 30, orderNum = "4")
//@Excel(name = "品牌", width = 30, orderNum = "4")
private
Date
deliveryDate
;
private
Date
deliveryDate
;
...
...
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