Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
config-server-api
Project
Overview
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
何熠
config-server-api
Commits
11187680
Commit
11187680
authored
Dec 15, 2021
by
zhaoxiaolei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
H3C
parent
34d44fbb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
IntegrateServiceImpl.java
...tech/authorization/service/impl/IntegrateServiceImpl.java
+5
-3
CharacteristicMapper.xml
src/main/resources/mapper/CharacteristicMapper.xml
+1
-1
CharacteristicValueMapper.xml
src/main/resources/mapper/CharacteristicValueMapper.xml
+1
-0
No files found.
src/main/java/cn/com/uitech/authorization/service/impl/IntegrateServiceImpl.java
View file @
11187680
...
...
@@ -950,11 +950,13 @@ public class IntegrateServiceImpl implements IntegrateService {
Object
data
=
map1
.
get
(
"data"
);
Object
data2
=
JSONObject
.
toJSON
(
data
);
Map
<
String
,
Object
>
map2
=
(
Map
<
String
,
Object
>)
data2
;
if
(!
ObjectUtils
.
isEmpty
(
map2
)){
cpnList
.
setSkuCode
((
String
)
map2
.
get
(
"skuCode"
));
cpnList
.
setSkuName
((
String
)
map2
.
get
(
"skuName"
));
cpnList
.
setPatern
(
"CTO"
);
}
result
.
setCode
(
code
);
result
.
setMsg
((
String
)
map1
.
get
(
"msg"
));
cpnList
.
setSkuCode
((
String
)
map2
.
get
(
"skuCode"
));
cpnList
.
setSkuName
((
String
)
map2
.
get
(
"skuName"
));
cpnList
.
setPatern
(
"CTO"
);
result
.
setData
(
configSkuInfo
);
}
}
...
...
src/main/resources/mapper/CharacteristicMapper.xml
View file @
11187680
...
...
@@ -118,7 +118,7 @@
</insert>
<select
id=
"findByCharacteristicName"
resultType=
"cn.com.uitech.authorization.pojo.entity.Characteristic"
>
select * from super_characteristic_info where
unis_sales_
c_name = #{characteristicName} and super_bom_code = #{superBomCode}
select * from super_characteristic_info where
characteristi
c_name = #{characteristicName} and super_bom_code = #{superBomCode}
</select>
<select
id=
"getNameByCode"
resultType=
"java.lang.String"
>
...
...
src/main/resources/mapper/CharacteristicValueMapper.xml
View file @
11187680
...
...
@@ -8,6 +8,7 @@
FROM (
SELECT
a.*,
b.*,
c.is_State as bomStatus
FROM super_characteristic_value_info a
LEFT JOIN super_characteristic_info b ON a.Characteristic_Code=b.Characteristic_Code
...
...
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