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
e301f858
Commit
e301f858
authored
Dec 15, 2021
by
zhaoxiaolei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
集成superbom产品组名称
parent
d7dbd907
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
CtoBomMapper.java
...java/cn/com/uitech/authorization/mapper/CtoBomMapper.java
+2
-0
IntegrateServiceImpl.java
...tech/authorization/service/impl/IntegrateServiceImpl.java
+2
-1
CtoBomMapper.xml
src/main/resources/mapper/CtoBomMapper.xml
+5
-0
No files found.
src/main/java/cn/com/uitech/authorization/mapper/CtoBomMapper.java
View file @
e301f858
...
...
@@ -107,4 +107,6 @@ public interface CtoBomMapper extends IBaseMapper<ConfigurableBom>
SuperBomSkuInfo
getSkuInfo
(
GetSkuInputInfo
getSkuInputInfo
);
ConfigurableBom
getConfigId
(
String
h3cPn
);
ProductGroup
getProductGroup
(
String
classification
);
}
src/main/java/cn/com/uitech/authorization/service/impl/IntegrateServiceImpl.java
View file @
e301f858
...
...
@@ -89,8 +89,9 @@ public class IntegrateServiceImpl implements IntegrateService {
configurableBom
.
setSuperBomName
(
saveSuperBomInputDto
.
getScuxItemName
());
configurableBom
.
setDescription
(
saveSuperBomInputDto
.
getDescription
());
configurableBom
.
setModelStatus
(
saveSuperBomInputDto
.
getStatusCode
());
ProductGroup
productGroupList
=
ctoBomMapper
.
getProductGroup
(
saveSuperBomInputDto
.
getClassification
());
configurableBom
.
setProductClassCode
(
saveSuperBomInputDto
.
getClassification
());
configurableBom
.
setProductClassName
(
saveSuperBomInputDto
.
getClassification
());
configurableBom
.
setProductClassName
(
productGroupList
.
getProductClassName
());
configurableBom
.
setUnisSalesName
(
saveSuperBomInputDto
.
getScuxItemName
());
configurableBom
.
setBrand
(
saveSuperBomInputDto
.
getBrand
());
configurableBom
.
setRevision
(
saveSuperBomInputDto
.
getRevision
());
...
...
src/main/resources/mapper/CtoBomMapper.xml
View file @
e301f858
...
...
@@ -375,4 +375,8 @@
<select
id=
"getConfigId"
resultType=
"cn.com.uitech.authorization.pojo.entity.ConfigurableBom"
>
select * from super_bom_info where h3c_pn = #{h3cPn}
</select>
<select
id=
"getProductGroup"
resultType=
"cn.com.uitech.authorization.pojo.entity.ProductGroup"
>
select * from a_productclasscode where product_class_code = #{classification}
</select>
</mapper>
\ No newline at end of file
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