Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-cdp-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dcbe9cd8
authored
Sep 22, 2023
by
ThomasAdv
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
查询客户详情报错修复
1 parent
a345bb53
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
platform-cdp/src/main/java/cn/com/glsx/cdp/config/WebConfig.java
platform-cdp/src/main/java/cn/com/glsx/cdp/modules/model/CarMaintenanceInsuranceBO.java
platform-cdp/src/main/resources/mapper/CarMaintenanceInsuranceMapper.xml
platform-cdp/src/main/java/cn/com/glsx/cdp/config/WebConfig.java
View file @
dcbe9cd
...
...
@@ -66,7 +66,6 @@ public class WebConfig implements WebMvcConfigurer {
.
excludePathPatterns
(
"/actuator/**"
)
.
excludePathPatterns
(
"/api/**"
)
.
excludePathPatterns
(
"/sop/**"
)
.
excludePathPatterns
(
"/doc.html"
)
.
excludePathPatterns
(
uploadProperties
.
getFilepath
())
.
excludePathPatterns
(
"/swagger-resources/**"
,
"/swagger-ui/**"
,
"/v3/**"
,
"/doc.html"
);
registry
.
addInterceptor
(
logInterceptor
).
addPathPatterns
(
"/**"
);
...
...
platform-cdp/src/main/java/cn/com/glsx/cdp/modules/model/CarMaintenanceInsuranceBO.java
View file @
dcbe9cd
...
...
@@ -20,5 +20,7 @@ public class CarMaintenanceInsuranceBO extends CarMaintenanceInsurance {
// oneId列表
private
List
<
String
>
oneIds
;
private
String
oneId
;
private
CarBO
car
;
}
platform-cdp/src/main/resources/mapper/CarMaintenanceInsuranceMapper.xml
View file @
dcbe9cd
...
...
@@ -90,14 +90,14 @@
from cdp_car_maintenance_insurance ccmi
left join cdp_customer_car_relation cccr on ccmi.car_id = cccr.car_id and cccr.org_id = ccmi.org_id and cccr.del_flag = 'N'
left join cdp_car cc on cc.org_id = cccr.org_id and cc.car_id = cccr.car_id and cc.del_flag = 'N'
left join cdp_customer cc
on cccr.one_id = cc.one_id and cc.org_id = cccr.org_id and cc
.del_flag = 'N'
left join cdp_customer cc
t on cccr.one_id = cct.one_id and cct.org_id = cccr.org_id and cct
.del_flag = 'N'
<where>
ccmi.del_flag = 0
<if
test=
"oneId != null"
>
and cc.one_id = #{oneId}
and cc
t
.one_id = #{oneId}
</if>
<if
test=
"oneIds != null and oneIds.size()>0"
>
and cc.one_id in
and cc
t
.one_id in
<foreach
collection=
"oneIds"
item=
"item"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment