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
7a109f4f
Commit
7a109f4f
authored
Feb 18, 2025
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):车用气瓶添加投用日期
parent
0bcad106
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
JgVehicleInformationDto.java
.../amos/boot/module/jg/api/dto/JgVehicleInformationDto.java
+3
-0
JgVehicleInformation.java
.../amos/boot/module/jg/api/entity/JgVehicleInformation.java
+6
-0
JgVehicleInformationVo.java
...in/amos/boot/module/jg/api/vo/JgVehicleInformationVo.java
+3
-0
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+2
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/dto/JgVehicleInformationDto.java
View file @
7a109f4f
...
...
@@ -257,4 +257,7 @@ public class JgVehicleInformationDto extends BaseDto {
@ApiModelProperty
(
"使用登记表附件"
)
private
String
useRegistrationFormFile
;
@ApiModelProperty
(
"投入使用日期"
)
private
String
useDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/entity/JgVehicleInformation.java
View file @
7a109f4f
...
...
@@ -441,4 +441,10 @@ public class JgVehicleInformation extends BaseEntity {
*/
@TableField
(
"use_registration_form_file"
)
private
String
useRegistrationFormFile
;
/**
* 投入使用日期
*/
@TableField
(
"use_date"
)
private
String
useDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/vo/JgVehicleInformationVo.java
View file @
7a109f4f
...
...
@@ -278,4 +278,7 @@ public class JgVehicleInformationVo implements Serializable {
@ApiModelProperty
(
value
=
"创建人名称"
)
private
String
createUserName
;
@ApiModelProperty
(
value
=
"投用日期"
)
private
String
useDate
;
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/JgVehicleInformationServiceImpl.java
View file @
7a109f4f
...
...
@@ -344,6 +344,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
BeanUtils
.
copyProperties
(
vehicleInfoDto
,
vehicleInformation
);
vehicleInformation
.
setCreateUserId
(
reginParams
.
getUserModel
().
getUserId
());
vehicleInformation
.
setRegDate
(
new
Date
());
vehicleInformation
.
setUseDate
(
Optional
.
ofNullable
(
String
.
valueOf
(
map
.
get
(
"useDate"
))).
orElse
(
""
));
vehicleInformation
.
setCreateUserName
(
reginParams
.
getUserModel
().
getRealName
());
vehicleInformation
.
setGasNum
(
equipmentLists
.
size
());
BigDecimal
totalVolume
=
equipmentLists
.
stream
()
...
...
@@ -1057,7 +1058,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
useInfo
.
setProvince
(
"610000"
);
useInfo
.
setIsIntoManagement
(
Boolean
.
TRUE
);
useInfo
.
setAddress
(
jgVehicleInformation
.
getUseUnitAddress
());
useInfo
.
setUseDate
(
String
.
valueOf
(
map
.
get
(
"useDate"
)
));
useInfo
.
setUseDate
(
jgVehicleInformation
.
getUseDate
(
));
LambdaQueryWrapper
<
IdxBizJgUseInfo
>
lambda
=
new
QueryWrapper
<
IdxBizJgUseInfo
>().
lambda
();
lambda
.
eq
(
IdxBizJgUseInfo:
:
getRecord
,
map
.
get
(
"record"
));
...
...
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