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
abf6f689
Commit
abf6f689
authored
Dec 06, 2021
by
zhaoxiaolei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更改调用PLM申请回号 返回值
parent
ec5c2953
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
3 deletions
+23
-3
ApplySkuCodeResultDto.java
.../uitech/authorization/pojo/dto/ApplySkuCodeResultDto.java
+4
-1
SuperBomSkuInfo.java
...com/uitech/authorization/pojo/entity/SuperBomSkuInfo.java
+5
-0
IntegrateServiceImpl.java
...tech/authorization/service/impl/IntegrateServiceImpl.java
+5
-1
CharacteristicMapper.xml
src/main/resources/mapper/CharacteristicMapper.xml
+9
-1
No files found.
src/main/java/cn/com/uitech/authorization/pojo/dto/ApplySkuCodeResultDto.java
View file @
abf6f689
...
@@ -25,7 +25,10 @@ public class ApplySkuCodeResultDto implements Serializable {
...
@@ -25,7 +25,10 @@ public class ApplySkuCodeResultDto implements Serializable {
public
static
class
data
{
public
static
class
data
{
private
String
skuCode
;
private
String
skuCode
;
private
String
skuName
;
private
String
skuName
;
private
String
h3cSuperNumber
;
private
String
snCode
;
private
String
productType
;
private
String
productSmallType
;
private
String
description
;
private
String
configId
;
private
String
configId
;
private
String
msg
;
private
String
msg
;
}
}
...
...
src/main/java/cn/com/uitech/authorization/pojo/entity/SuperBomSkuInfo.java
View file @
abf6f689
...
@@ -147,6 +147,11 @@ public class SuperBomSkuInfo extends BasePageDto implements Serializable {
...
@@ -147,6 +147,11 @@ public class SuperBomSkuInfo extends BasePageDto implements Serializable {
*/
*/
@Column
(
name
=
"sku_name"
)
@Column
(
name
=
"sku_name"
)
private
String
skuName
;
private
String
skuName
;
/**
* 单位
*/
@Column
(
name
=
"unit"
)
private
String
unit
;
/**
/**
* id
* id
...
...
src/main/java/cn/com/uitech/authorization/service/impl/IntegrateServiceImpl.java
View file @
abf6f689
...
@@ -440,11 +440,15 @@ public class IntegrateServiceImpl implements IntegrateService {
...
@@ -440,11 +440,15 @@ public class IntegrateServiceImpl implements IntegrateService {
Integer
code
=
(
Integer
)
map
.
get
(
"code"
);
Integer
code
=
(
Integer
)
map
.
get
(
"code"
);
if
(!
ObjectUtils
.
isEmpty
(
code
))
{
if
(!
ObjectUtils
.
isEmpty
(
code
))
{
if
(
code
.
equals
(
200
))
{
if
(
code
.
equals
(
200
))
{
Map
<
String
,
Object
>
data
=
(
Map
<
String
,
Object
>)
map
.
get
(
"data"
);
Map
<
String
,
Object
>
data
=
(
Map
<
String
,
Object
>)
map
.
get
(
"data"
);
ApplySkuCodeResultDto
.
data
data1
=
new
ApplySkuCodeResultDto
.
data
();
ApplySkuCodeResultDto
.
data
data1
=
new
ApplySkuCodeResultDto
.
data
();
data1
.
setSkuCode
(
String
.
valueOf
(
data
.
get
(
"skuNo"
)));
data1
.
setSkuCode
(
String
.
valueOf
(
data
.
get
(
"skuNo"
)));
data1
.
setSkuName
(
String
.
valueOf
(
data
.
get
(
"skuName"
)));
data1
.
setSkuName
(
String
.
valueOf
(
data
.
get
(
"skuName"
)));
data1
.
setH3cSuperNumber
(
String
.
valueOf
(
data
.
get
(
"h3cSuperNumber"
)));
data1
.
setDescription
(
String
.
valueOf
(
data
.
get
(
"description"
)));
data1
.
setProductType
(
String
.
valueOf
(
data
.
get
(
"productModel"
)));
data1
.
setProductSmallType
(
String
.
valueOf
(
data
.
get
(
"productSmallModel"
)));
data1
.
setSnCode
(
String
.
valueOf
(
data
.
get
(
"sku69Code"
)));
dto
.
setMsg
(
String
.
valueOf
(
map
.
get
(
"messsage"
)));
dto
.
setMsg
(
String
.
valueOf
(
map
.
get
(
"messsage"
)));
dto
.
setCode
(
code
);
dto
.
setCode
(
code
);
dto
.
setData
(
data1
);
dto
.
setData
(
data1
);
...
...
src/main/resources/mapper/CharacteristicMapper.xml
View file @
abf6f689
...
@@ -190,7 +190,15 @@
...
@@ -190,7 +190,15 @@
</select>
</select>
<update
id=
"updateSuperBomSkuInfo"
>
<update
id=
"updateSuperBomSkuInfo"
>
update super_bom_sku_info set sku_code = #{skuCode},sku_name = #{skuName},apply_status = #{msg} where config_id = #{configId}
update super_bom_sku_info set
sku_code = #{skuCode},
sku_name = #{skuName},
apply_status = #{msg},
sn_code = #{snCode},
description = #{description},
product_type =#{productType},
product_small_type =#{productSmallType}
where config_id = #{configId}
</update>
</update>
<update
id=
"updateSuperBomSkuStatus"
>
<update
id=
"updateSuperBomSkuStatus"
>
...
...
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