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
937c2624
Commit
937c2624
authored
Jul 15, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):历史平台登记功能修改
parent
b95e0b4b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
8 deletions
+15
-8
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
JgChangeRegistrationUnitServiceImpl.java
...biz/service/impl/JgChangeRegistrationUnitServiceImpl.java
+1
-1
JgInstallationNoticeServiceImpl.java
.../jg/biz/service/impl/JgInstallationNoticeServiceImpl.java
+1
-1
JgUseRegistrationServiceImpl.java
...ule/jg/biz/service/impl/JgUseRegistrationServiceImpl.java
+2
-2
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+10
-3
No files found.
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/IdxBizJgRegisterInfoServiceImpl.java
View file @
937c2624
...
...
@@ -2379,7 +2379,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
}
private
String
buildRecordContent
(
JgUseRegistrationManage
registrationManage
)
{
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
registrationManage
.
getRecUserName
()
+
"批量上传了【"
+
BusinessTypeEnum
.
JG_HISTORY_USAGE_REGISTRATION
.
getName
()+
"】,"
+
"单号【"
+
registrationManage
.
getApplyNo
()
+
"】,上传日期"
+
simpleDateFormat
.
format
(
registrationManage
.
getRecDate
());
}
...
...
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/JgChangeRegistrationUnitServiceImpl.java
View file @
937c2624
...
...
@@ -1230,7 +1230,7 @@ public class JgChangeRegistrationUnitServiceImpl extends BaseService<JgChangeReg
private
String
buildRecordContent
(
JgChangeRegistrationUnit
obj
)
{
//张三办理了【单位变更】 ,单号【DWBG202407050001】,原恒星电梯单位变更为新恒星电梯有限公司,办理日期2024-07-05
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
obj
.
getCreateUserName
()
+
"办理了【单位变更登记】,单号【"
+
obj
.
getApplyNo
()
+
"】,原"
+
obj
.
getUseUnitName
()
+
"变更为新"
+
obj
.
getNewUseUnitName
()
+
",申请日期"
+
simpleDateFormat
.
format
(
obj
.
getCreateDate
());
...
...
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/JgInstallationNoticeServiceImpl.java
View file @
937c2624
...
...
@@ -1226,7 +1226,7 @@ public class JgInstallationNoticeServiceImpl extends BaseService<JgInstallationN
private
String
buildRecordContent
(
JgInstallationNotice
obj
)
{
//张三办理了【单位变更】 ,单号【DWBG202407050001】,办理日期2024-07-05
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
obj
.
getCreateUserName
()
+
"办理了【"
+
BusinessTypeEnum
.
JG_INSTALLATION_NOTIFICATION
.
getName
()+
"】,单号【"
+
obj
.
getApplyNo
()
+
"】,申请日期"
+
simpleDateFormat
.
format
(
obj
.
getCreateDate
());
}
...
...
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/JgUseRegistrationServiceImpl.java
View file @
937c2624
...
...
@@ -1244,14 +1244,14 @@ public class JgUseRegistrationServiceImpl extends BaseService<JgUseRegistrationD
ReginParams
reginParams
=
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
String
companyType
=
reginParams
.
getCompany
().
getCompanyType
();
//监管单位 作废了【使用功能登记】 ,单号【DWBG202407050001】,作废日期2024-07-05
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
companyType
+
"作废了【"
+
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
getName
()
+
"】,"
+
"单号【"
+
obj
.
getApplyNo
()
+
"】,申请日期"
+
simpleDateFormat
.
format
(
obj
.
getRecDate
());
}
private
String
buildRecordContent
(
JgUseRegistration
obj
,
Boolean
flag
)
{
//张三办理了【单位变更】 ,单号【DWBG202407050001】,办理日期2024-07-05
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
obj
.
getRecUserName
()
+
"办理了【"
+
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
getName
()
+
(
flag
?
"设备增补"
:
""
)
+
"】,"
+
"单号【"
+
obj
.
getApplyNo
()
+
"】,申请日期"
+
simpleDateFormat
.
format
(
obj
.
getRecDate
());
}
...
...
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 @
937c2624
...
...
@@ -1349,7 +1349,7 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
ReginParams
reginParams
=
JSONObject
.
parseObject
(
redisUtils
.
get
(
RedisKey
.
buildReginKey
(
RequestContext
.
getExeUserId
(),
RequestContext
.
getToken
())).
toString
(),
ReginParams
.
class
);
String
companyType
=
reginParams
.
getCompany
().
getCompanyType
();
//监管单位 作废了【使用功能登记】 ,单号【DWBG202407050001】,作废日期2024-07-05
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
companyType
+
"作废了【"
+
BusinessTypeEnum
.
JG_USAGE_REGISTRATION
.
getName
()
+
"】,"
+
"单号【"
+
obj
.
getApplyNo
()
+
"】,申请日期"
+
simpleDateFormat
.
format
(
obj
.
getRecDate
());
}
...
...
@@ -1522,13 +1522,14 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
jgUseRegistrationManage
.
setUseRegistrationCode
(
jgVehicleInformation
.
getUseRegistrationCode
());
jgUseRegistrationManage
.
setUseUnitCreditCode
(
jgVehicleInformation
.
getUseUnitCreditCode
());
jgUseRegistrationManage
.
setReceiveCompanyCode
(
jgVehicleInformation
.
getReceiveCompanyCode
());
jgUseRegistrationManage
.
setCarNumber
(
jgVehicleInformation
.
getCarNumber
());
jgUseRegistrationManage
.
setCertificateNo
(
commonService
.
generateCertificateNo
(
equType
,
new
Date
(),
jgVehicleInformation
.
getReceiveCompanyCode
()));
jgUseRegistrationManageService
.
save
(
jgUseRegistrationManage
);
}
private
String
buildRecordContent
(
JgVehicleInformation
obj
)
{
//张三办理了【单位变更】 ,单号【DWBG202407050001】,办理日期2024-07-05
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
MMdd
"
);
SimpleDateFormat
simpleDateFormat
=
new
SimpleDateFormat
(
"yyyy
年MM月dd日
"
);
return
obj
.
getRecUserName
()
+
"办理了【"
+
BusinessTypeEnum
.
JG_VEHICLE_GAS_APPLICATION
.
getName
()+
"】,"
+
"单号【"
+
obj
.
getApplyNo
()
+
"】,申请日期"
+
simpleDateFormat
.
format
(
obj
.
getRecDate
());
}
...
...
@@ -1769,8 +1770,14 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
LambdaQueryWrapper
<
JgVehicleInformationEq
>
lambda
=
new
QueryWrapper
<
JgVehicleInformationEq
>().
lambda
();
lambda
.
eq
(
JgVehicleInformationEq:
:
getVehicleId
,
vehicleInformation
.
getSequenceNbr
());
jgVehicleInformationEqService
.
getBaseMapper
().
delete
(
lambda
);
this
.
getBaseMapper
().
updateById
(
vehicleInformation
);
JgUseRegistrationManage
useRegistrationCode
=
jgUseRegistrationManageService
.
lambdaQuery
()
.
eq
(
JgUseRegistrationManage:
:
getUseRegistrationCode
,
vehicleInformation
.
getUseRegistrationCode
())
.
one
();
if
(
useRegistrationCode
!=
null
)
{
useRegistrationCode
.
setCarNumber
(
vehicleInformation
.
getCarNumber
());
jgUseRegistrationManageService
.
updateById
(
useRegistrationCode
);
}
}
// 更新关联气瓶信息
...
...
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