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
d231c527
Commit
d231c527
authored
Nov 04, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加扫码咱不支持的扫码提示
parent
91715d57
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
CertDetailServiceImpl.java
...ot/module/app/biz/service/impl/CertDetailServiceImpl.java
+1
-1
SetSearchDetailDetailHandlerImpl.java
...pp/biz/service/impl/SetSearchDetailDetailHandlerImpl.java
+4
-2
UnitSearchDetailDetailHandlerImpl.java
...p/biz/service/impl/UnitSearchDetailDetailHandlerImpl.java
+4
-2
VehicleSearchDetailDetailHandlerImpl.java
...iz/service/impl/VehicleSearchDetailDetailHandlerImpl.java
+1
-1
ISearchDetailHandler.java
...os/boot/module/app/biz/strategy/ISearchDetailHandler.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/biz/service/impl/CertDetailServiceImpl.java
View file @
d231c527
...
...
@@ -32,7 +32,7 @@ public class CertDetailServiceImpl {
String
version
=
this
.
deCodeByAES
(
requestParam
.
getVersion
());
String
certType
=
this
.
deCodeByBase64
(
requestParam
.
getCertType
());
JgUseRegistrationManageDto
jgUseRegistrationManage
=
this
.
checkParam
(
certOrApplyNo
,
version
);
return
SearchDetailStrategyContext
.
getHandler
(
this
.
getManageType
(
jgUseRegistrationManage
)).
han
ld
er
(
jgUseRegistrationManage
,
certType
);
return
SearchDetailStrategyContext
.
getHandler
(
this
.
getManageType
(
jgUseRegistrationManage
)).
han
dl
er
(
jgUseRegistrationManage
,
certType
);
}
private
String
deCodeByBase64
(
String
certType
)
{
...
...
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/biz/service/impl/SetSearchDetailDetailHandlerImpl.java
View file @
d231c527
package
com
.
yeejoin
.
amos
.
boot
.
module
.
app
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.biz.common.dto.JgUseRegistrationManageDto
;
import
com.yeejoin.amos.boot.module.app.api.exception.AuthException
;
import
com.yeejoin.amos.boot.module.app.biz.strategy.ISearchDetailHandler
;
import
org.springframework.stereotype.Component
;
...
...
@@ -15,7 +16,8 @@ public class SetSearchDetailDetailHandlerImpl implements ISearchDetailHandler {
}
@Override
public
Map
<
String
,
Object
>
hanlder
(
JgUseRegistrationManageDto
manageDto
,
String
from
)
{
return
Collections
.
emptyMap
();
public
Map
<
String
,
Object
>
handler
(
JgUseRegistrationManageDto
manageDto
,
String
from
)
{
throw
new
AuthException
(
"该设备种类暂不支持扫码,敬请期待!"
);
// return Collections.emptyMap();
}
}
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/biz/service/impl/UnitSearchDetailDetailHandlerImpl.java
View file @
d231c527
package
com
.
yeejoin
.
amos
.
boot
.
module
.
app
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.biz.common.dto.JgUseRegistrationManageDto
;
import
com.yeejoin.amos.boot.module.app.api.exception.AuthException
;
import
com.yeejoin.amos.boot.module.app.biz.strategy.ISearchDetailHandler
;
import
org.springframework.stereotype.Component
;
...
...
@@ -15,8 +16,9 @@ public class UnitSearchDetailDetailHandlerImpl implements ISearchDetailHandler {
}
@Override
public
Map
<
String
,
Object
>
hanlder
(
JgUseRegistrationManageDto
manageDto
,
String
from
)
{
return
Collections
.
emptyMap
();
public
Map
<
String
,
Object
>
handler
(
JgUseRegistrationManageDto
manageDto
,
String
from
)
{
throw
new
AuthException
(
"该设备种类暂不支持扫码,敬请期待!"
);
// return Collections.emptyMap();
}
}
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/biz/service/impl/VehicleSearchDetailDetailHandlerImpl.java
View file @
d231c527
...
...
@@ -40,7 +40,7 @@ public class VehicleSearchDetailDetailHandlerImpl implements ISearchDetailHandle
}
@Override
public
Map
<
String
,
Object
>
han
ld
er
(
JgUseRegistrationManageDto
manageDto
,
String
certType
)
{
public
Map
<
String
,
Object
>
han
dl
er
(
JgUseRegistrationManageDto
manageDto
,
String
certType
)
{
return
this
.
getQueryCarCylinderInfo
(
manageDto
);
}
...
...
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/biz/strategy/ISearchDetailHandler.java
View file @
d231c527
...
...
@@ -18,7 +18,7 @@ public interface ISearchDetailHandler {
* @param from 来源
* @return T
*/
Map
<
String
,
Object
>
han
ld
er
(
JgUseRegistrationManageDto
manageDto
,
String
from
);
Map
<
String
,
Object
>
han
dl
er
(
JgUseRegistrationManageDto
manageDto
,
String
from
);
String
defaultVersion
=
"1"
;
}
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