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
96028aab
Commit
96028aab
authored
Oct 13, 2025
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):密评完整性测试代码修改
parent
9be81894
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
1 deletion
+50
-1
JgVehicleInformationMapper.xml
.../src/main/resources/mapper/JgVehicleInformationMapper.xml
+2
-1
JgVehicleInformationServiceImpl.java
.../jg/biz/service/impl/JgVehicleInformationServiceImpl.java
+12
-0
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+24
-0
TzsUserInfoServiceImpl.java
...t/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
+12
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/JgVehicleInformationMapper.xml
View file @
96028aab
...
@@ -109,7 +109,8 @@
...
@@ -109,7 +109,8 @@
tjvi.cancel_reason as cancelReason,
tjvi.cancel_reason as cancelReason,
tjvi.reg_type as regType,
tjvi.reg_type as regType,
tjvi.org_branch_code as orgBranchCode,
tjvi.org_branch_code as orgBranchCode,
tjvi.org_branch_name as orgBranchName
tjvi.org_branch_name as orgBranchName,
tjvi.identification_code as identificationCode
from tzs_jg_vehicle_information tjvi
from tzs_jg_vehicle_information tjvi
</sql>
</sql>
...
...
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 @
96028aab
...
@@ -1098,8 +1098,20 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
...
@@ -1098,8 +1098,20 @@ public class JgVehicleInformationServiceImpl extends BaseService<JgVehicleInform
}
}
public
Page
<
Map
<
String
,
Object
>>
getPageList
(
JgVehicleInformationDto
dto
,
String
sort
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
,
String
client
)
{
public
Page
<
Map
<
String
,
Object
>>
getPageList
(
JgVehicleInformationDto
dto
,
String
sort
,
Page
<
Map
<
String
,
Object
>>
page
,
List
<
String
>
roleIds
,
String
client
)
{
try
{
SortVo
sortMap
=
commonService
.
sortFieldConversion
(
sort
);
SortVo
sortMap
=
commonService
.
sortFieldConversion
(
sort
);
return
this
.
baseMapper
.
getListPage
(
page
,
sortMap
,
dto
,
roleIds
,
client
);
return
this
.
baseMapper
.
getListPage
(
page
,
sortMap
,
dto
,
roleIds
,
client
);
}
catch
(
Exception
ex
)
{
String
msg
=
ex
.
getMessage
()
==
null
?
""
:
ex
.
getMessage
();
if
(
msg
.
contains
(
"eyibc decrypt error"
)
||
msg
.
contains
(
"EYIBCException"
)
||
msg
.
contains
(
"olym jdbc error"
)
||
msg
.
contains
(
"数据非法"
)
||
msg
.
contains
(
"decrypt error, code: -65"
))
{
throw
new
BadRequest
(
"数据完整性被破坏(解密失败),请联系管理员。"
);
}
throw
new
BadRequest
(
"系统内部错误,请联系管理员。"
);
}
}
}
private
void
updateEquipMessage
(
JgVehicleInformation
jgVehicleInformation
,
JSONObject
map
,
IdxBizJgRegisterInfo
registerInfo
,
IdxBizJgOtherInfo
otherInfo
)
{
private
void
updateEquipMessage
(
JgVehicleInformation
jgVehicleInformation
,
JSONObject
map
,
IdxBizJgRegisterInfo
registerInfo
,
IdxBizJgOtherInfo
otherInfo
)
{
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
96028aab
...
@@ -204,6 +204,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -204,6 +204,7 @@ public class TzBaseEnterpriseInfoServiceImpl
@Override
@Override
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
,
String
sort
)
{
public
IPage
<
TzBaseEnterpriseInfoDto
>
page
(
PageParam
pageParam
,
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
,
String
sort
)
{
try
{
List
<
String
>
orgCodeList
=
new
ArrayList
<>();
List
<
String
>
orgCodeList
=
new
ArrayList
<>();
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()
!=
null
)
{
if
(
tzBaseEnterpriseInfoDto
.
getSuperviseKey
()
!=
null
)
{
FeignClientResult
<
CompanyModel
>
result
=
Privilege
.
companyClient
FeignClientResult
<
CompanyModel
>
result
=
Privilege
.
companyClient
...
@@ -224,6 +225,17 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -224,6 +225,17 @@ public class TzBaseEnterpriseInfoServiceImpl
}
}
SortVo
sortMap
=
userInfoService
.
sortFieldConversion
(
sort
);
SortVo
sortMap
=
userInfoService
.
sortFieldConversion
(
sort
);
return
this
.
baseMapper
.
pageList
(
page
,
tzBaseEnterpriseInfoDto
,
orgCodeList
,
sortMap
);
return
this
.
baseMapper
.
pageList
(
page
,
tzBaseEnterpriseInfoDto
,
orgCodeList
,
sortMap
);
}
catch
(
Exception
ex
)
{
String
msg
=
ex
.
getMessage
()
==
null
?
""
:
ex
.
getMessage
();
if
(
msg
.
contains
(
"eyibc decrypt error"
)
||
msg
.
contains
(
"EYIBCException"
)
||
msg
.
contains
(
"olym jdbc error"
)
||
msg
.
contains
(
"数据非法"
)
||
msg
.
contains
(
"decrypt error, code: -65"
))
{
throw
new
BadRequest
(
"数据完整性被破坏(解密失败),请联系管理员。"
);
}
throw
new
BadRequest
(
"系统内部错误,请联系管理员。"
);
}
}
}
@Override
@Override
...
@@ -1032,6 +1044,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1032,6 +1044,7 @@ public class TzBaseEnterpriseInfoServiceImpl
@Override
@Override
public
IPage
<
TzBaseEnterpriseInfoDto
>
getInfoById
(
Long
sequenceNbr
,
String
companyCode
)
{
public
IPage
<
TzBaseEnterpriseInfoDto
>
getInfoById
(
Long
sequenceNbr
,
String
companyCode
)
{
try
{
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
this
.
getById
(
sequenceNbr
);
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
=
this
.
getById
(
sequenceNbr
);
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
detailById
(
tzBaseEnterpriseInfo
);
TzBaseEnterpriseInfoDto
tzBaseEnterpriseInfoDto
=
detailById
(
tzBaseEnterpriseInfo
);
...
@@ -1046,6 +1059,17 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -1046,6 +1059,17 @@ public class TzBaseEnterpriseInfoServiceImpl
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
1
,
10
);
Page
<
TzBaseEnterpriseInfoDto
>
page
=
new
Page
<>(
1
,
10
);
page
.
setRecords
(
Arrays
.
asList
(
tzBaseEnterpriseInfoDto
));
page
.
setRecords
(
Arrays
.
asList
(
tzBaseEnterpriseInfoDto
));
return
page
;
return
page
;
}
catch
(
Exception
ex
)
{
String
msg
=
ex
.
getMessage
()
==
null
?
""
:
ex
.
getMessage
();
if
(
msg
.
contains
(
"eyibc decrypt error"
)
||
msg
.
contains
(
"EYIBCException"
)
||
msg
.
contains
(
"olym jdbc error"
)
||
msg
.
contains
(
"数据非法"
)
||
msg
.
contains
(
"decrypt error, code: -65"
))
{
throw
new
BadRequest
(
"数据完整性被破坏(解密失败),请联系管理员。"
);
}
throw
new
BadRequest
(
"系统内部错误,请联系管理员。"
);
}
}
}
private
TzBaseEnterpriseInfoDto
detailById
(
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
)
{
private
TzBaseEnterpriseInfoDto
detailById
(
TzBaseEnterpriseInfo
tzBaseEnterpriseInfo
)
{
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
View file @
96028aab
...
@@ -1085,6 +1085,7 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -1085,6 +1085,7 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
}
}
public
Page
<
UserPermissionDto
>
getUserByPermission
(
long
current
,
long
size
,
String
type
,
UserPermissionDto
filter
,
String
sort
)
{
public
Page
<
UserPermissionDto
>
getUserByPermission
(
long
current
,
long
size
,
String
type
,
UserPermissionDto
filter
,
String
sort
)
{
try
{
Page
<
UserPermissionDto
>
permissionDtoPage
=
new
Page
<>(
current
,
size
);
Page
<
UserPermissionDto
>
permissionDtoPage
=
new
Page
<>(
current
,
size
);
List
<
String
>
post
=
this
.
getPostByType
(
type
);
List
<
String
>
post
=
this
.
getPostByType
(
type
);
SortVo
sortMap
=
this
.
sortFieldConversion
(
sort
);
SortVo
sortMap
=
this
.
sortFieldConversion
(
sort
);
...
@@ -1103,6 +1104,17 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
...
@@ -1103,6 +1104,17 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
d
.
setPermissionStatus
(
this
.
castNoPermissionData
(
type
,
d
.
getPermissionStatus
()));
d
.
setPermissionStatus
(
this
.
castNoPermissionData
(
type
,
d
.
getPermissionStatus
()));
});
});
return
result
;
return
result
;
}
catch
(
Exception
ex
)
{
String
msg
=
ex
.
getMessage
()
==
null
?
""
:
ex
.
getMessage
();
if
(
msg
.
contains
(
"eyibc decrypt error"
)
||
msg
.
contains
(
"EYIBCException"
)
||
msg
.
contains
(
"olym jdbc error"
)
||
msg
.
contains
(
"数据非法"
)
||
msg
.
contains
(
"decrypt error, code: -65"
))
{
throw
new
BadRequest
(
"数据完整性被破坏(解密失败),请联系管理员。"
);
}
throw
new
BadRequest
(
"系统内部错误,请联系管理员。"
);
}
}
}
private
String
castNoPermissionData
(
String
type
,
String
permissionStatus
)
{
private
String
castNoPermissionData
(
String
type
,
String
permissionStatus
)
{
...
...
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