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
2a6af525
Commit
2a6af525
authored
Dec 15, 2021
by
zhaoxiaolei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
H3C 约束完结
parent
91156b43
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
CharacteristicMapper.java
...com/uitech/authorization/mapper/CharacteristicMapper.java
+4
-0
IntegrateServiceImpl.java
...tech/authorization/service/impl/IntegrateServiceImpl.java
+0
-0
CharacteristicMapper.xml
src/main/resources/mapper/CharacteristicMapper.xml
+8
-0
No files found.
src/main/java/cn/com/uitech/authorization/mapper/CharacteristicMapper.java
View file @
2a6af525
...
...
@@ -89,4 +89,8 @@ public interface CharacteristicMapper extends IBaseMapper<Characteristic>, Inser
void
updateSuperBomSku
(
SuperBomSkuInfo
superBomSkuInfo
);
Integer
updateCharacteristicIsH3C
(
CharacteristicRequestParamDto
dto
);
List
<
Characteristic
>
getCharacteristicH3CList
(
String
superBomCode
);
Integer
getCharacteristicInfo
(
String
characteristicCode
,
String
superBomCode
);
}
src/main/java/cn/com/uitech/authorization/service/impl/IntegrateServiceImpl.java
View file @
2a6af525
This diff is collapsed.
Click to expand it.
src/main/resources/mapper/CharacteristicMapper.xml
View file @
2a6af525
...
...
@@ -208,4 +208,12 @@
</if>
</where>
</update>
<select
id=
"getCharacteristicH3CList"
resultType=
"cn.com.uitech.authorization.pojo.entity.Characteristic"
>
select * from super_characteristic_info where is_h3c = 1 and super_bom_code = #{superBomCode}
</select>
<select
id=
"getCharacteristicInfo"
resultType=
"java.lang.Integer"
>
select is_h3c isH3C from super_characteristic_info where characteristic_Code = #{characteristicCode} and super_bom_code = #{superBomCode}
</select>
</mapper>
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