Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
d422d9d6
Commit
d422d9d6
authored
Jun 13, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改车型管理
parent
26f23537
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
+25
-3
CertificationService.java
...xxfc/platform/universal/service/CertificationService.java
+4
-2
VehicleModelQueryCondition.java
...xfc/platform/vehicle/pojo/VehicleModelQueryCondition.java
+20
-0
VehicleModelMapper.xml
...e-server/src/main/resources/mapper/VehicleModelMapper.xml
+1
-1
No files found.
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/service/CertificationService.java
View file @
d422d9d6
...
@@ -311,13 +311,13 @@ public class CertificationService {
...
@@ -311,13 +311,13 @@ public class CertificationService {
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
FAILED_CODE
,
"证件号不一致"
);
ObjectRestResponse
.
createFailedResult
(
ResultCode
.
FAILED_CODE
,
"证件号不一致"
);
}
}
//map携带身份证和姓名进行认证
Map
<
String
,
String
>
authMap
=
new
HashMap
<>();
Map
<
String
,
String
>
authMap
=
new
HashMap
<>();
authMap
.
put
(
idCardName
,
(
String
)
frontData
.
get
(
numberName
));
authMap
.
put
(
idCardName
,
(
String
)
frontData
.
get
(
numberName
));
authMap
.
put
(
cName
,
(
String
)
frontData
.
get
(
cName
));
authMap
.
put
(
cName
,
(
String
)
frontData
.
get
(
cName
));
//3.认证
//3.
调用接口进行
认证
String
result
=
certificate
(
authMap
);
String
result
=
certificate
(
authMap
);
...
@@ -325,6 +325,8 @@ public class CertificationService {
...
@@ -325,6 +325,8 @@ public class CertificationService {
if
(!
StringUtils
.
isBlank
(
result
))
{
if
(!
StringUtils
.
isBlank
(
result
))
{
Map
<
String
,
Object
>
map
=
(
Map
<
String
,
Object
>)
JSONObject
.
parse
(
result
);
Map
<
String
,
Object
>
map
=
(
Map
<
String
,
Object
>)
JSONObject
.
parse
(
result
);
System
.
out
.
println
(
map
.
get
(
certifRet
));
System
.
out
.
println
(
map
.
get
(
certifRet
));
...
...
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/VehicleModelQueryCondition.java
0 → 100644
View file @
d422d9d6
package
com
.
xxfc
.
platform
.
vehicle
.
pojo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
public
class
VehicleModelQueryCondition
{
@ApiModelProperty
(
value
=
"当前页"
)
private
Integer
page
;
@ApiModelProperty
(
value
=
"每页条数"
)
private
Integer
limit
;
@ApiModelProperty
(
value
=
"房车型号"
)
private
String
vehileModel
;
@ApiModelProperty
(
value
=
"房车名"
)
private
String
vehileName
;
@ApiModelProperty
(
value
=
"乘卧数"
)
private
String
takeALieTheNumber
;
}
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/VehicleModelMapper.xml
View file @
d422d9d6
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</if>
</if>
<if
test=
"vmqc.takeAlieTheNumber!=null and vmqc.takeAlieTheNumber!=''"
>
<if
test=
"vmqc.takeAlieTheNumber!=null and vmqc.takeAlieTheNumber!=''"
>
and
and
v.keyword like CONCAT('%,',#{vmqc.takeAlieTheNumber},',%')
</if>
</if>
...
...
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