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
11ce7833
Commit
11ce7833
authored
Dec 04, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jg):数据查询,校验是否是三环系统数据接口修改
parent
50b6c7aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
18 deletions
+15
-18
ShCarController.java
...n/amos/boot/module/jg/biz/controller/ShCarController.java
+15
-18
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/controller/ShCarController.java
View file @
11ce7833
...
...
@@ -2,36 +2,29 @@ package com.yeejoin.amos.boot.module.jg.biz.controller;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.
sun.org.apache.xpath.internal.operations.Bool
;
import
com.
yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jg.api.dto.ShCarDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.JgUseRegistrationManage
;
import
com.yeejoin.amos.boot.module.jg.api.entity.ShCar
;
import
com.yeejoin.amos.boot.module.jg.api.entity.ShCarEqu
;
import
com.yeejoin.amos.boot.module.jg.api.service.IShCarService
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.JgUseRegistrationManageServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.ShCarEquServiceImpl
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.ShCarServiceImpl
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.StringUtils
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jg.biz.service.impl.ShCarServiceImpl
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.*
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Optional
;
/**
* @author system_generator
...
...
@@ -180,7 +173,11 @@ public class ShCarController extends BaseController {
@GetMapping
(
value
=
"/searchForSanHanAllParams"
)
public
ResponseModel
<
ShCar
>
searchForSanHan
(
@ApiParam
(
name
=
"使用登记证编号"
)
@RequestParam
String
useRegistrationCode
,
@ApiParam
(
name
=
"车牌号"
)
@RequestParam
String
carNumber
,
@ApiParam
(
name
=
"单位内编号"
)
@RequestParam
(
value
=
"USE_INNER_CODE"
,
required
=
false
)
String
useInnerCode
,
@ApiParam
(
name
=
"车辆VIN码"
)
@RequestParam
String
identificationCode
)
{
if
(
StringUtils
.
isEmpty
(
carNumber
)
&&
!
StringUtils
.
isEmpty
(
useInnerCode
))
{
carNumber
=
useInnerCode
;
}
if
(
StringUtils
.
isEmpty
(
useRegistrationCode
)
||
StringUtils
.
isEmpty
(
carNumber
)
||
StringUtils
.
isEmpty
(
identificationCode
))
return
ResponseHelper
.
buildResponse
(
new
ShCar
());
LambdaQueryWrapper
<
ShCar
>
wrapper
=
new
LambdaQueryWrapper
<>();
...
...
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