Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
43465d1b
Commit
43465d1b
authored
Oct 13, 2022
by
wanglong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新接口信息
parent
9064c384
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
EquipmentServiceImpl.java
...oot/module/ugp/biz/service/impl/EquipmentServiceImpl.java
+1
-1
MaterialServiceImpl.java
...boot/module/ugp/biz/service/impl/MaterialServiceImpl.java
+1
-1
ProjectResourceServiceImpl.java
...dule/ugp/biz/service/impl/ProjectResourceServiceImpl.java
+2
-2
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/EquipmentServiceImpl.java
View file @
43465d1b
...
@@ -56,7 +56,7 @@ public class EquipmentServiceImpl extends BaseService<EquipmentDto, Equipment, E
...
@@ -56,7 +56,7 @@ public class EquipmentServiceImpl extends BaseService<EquipmentDto, Equipment, E
for
(
Equipment
i
:
equipment
)
{
for
(
Equipment
i
:
equipment
)
{
JSONObject
name
=
new
JSONObject
();
JSONObject
name
=
new
JSONObject
();
name
.
put
(
"name"
,
i
.
getName
());
name
.
put
(
"name"
,
i
.
getName
());
name
.
put
(
"
code"
,
i
.
getCode
());
name
.
put
(
"
SequenceNbr"
,
i
.
getSequenceNbr
());
names
.
add
(
name
);
names
.
add
(
name
);
}
}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/MaterialServiceImpl.java
View file @
43465d1b
...
@@ -51,7 +51,7 @@ public class MaterialServiceImpl extends BaseService<MaterialDto, Material, Mate
...
@@ -51,7 +51,7 @@ public class MaterialServiceImpl extends BaseService<MaterialDto, Material, Mate
for
(
Material
i
:
materials
)
{
for
(
Material
i
:
materials
)
{
JSONObject
name
=
new
JSONObject
();
JSONObject
name
=
new
JSONObject
();
name
.
put
(
"name"
,
i
.
getName
());
name
.
put
(
"name"
,
i
.
getName
());
name
.
put
(
"
code"
,
i
.
getCode
());
name
.
put
(
"
SequenceNbr"
,
i
.
getSequenceNbr
());
names
.
add
(
name
);
names
.
add
(
name
);
}
}
...
...
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/service/impl/ProjectResourceServiceImpl.java
View file @
43465d1b
...
@@ -60,7 +60,7 @@ public class ProjectResourceServiceImpl extends BaseService<ProjectResourceDto,
...
@@ -60,7 +60,7 @@ public class ProjectResourceServiceImpl extends BaseService<ProjectResourceDto,
// if (!jsonObject.getString("sequenceNbr").isEmpty()){
// if (!jsonObject.getString("sequenceNbr").isEmpty()){
// jsonObject.getString("sequenceNbr");
// jsonObject.getString("sequenceNbr");
// }
// }
String
code
=
jsonObject
.
getString
(
"code
"
);
String
SequenceNbr
=
jsonObject
.
getString
(
"SequenceNbr
"
);
String
type
=
jsonObject
.
getString
(
"type"
);
String
type
=
jsonObject
.
getString
(
"type"
);
if
(
type
.
equals
(
设备资源
.
getStatus
()))
{
if
(
type
.
equals
(
设备资源
.
getStatus
()))
{
projectResource
.
setType
(
设备资源
.
getState
());
projectResource
.
setType
(
设备资源
.
getState
());
...
@@ -71,7 +71,7 @@ public class ProjectResourceServiceImpl extends BaseService<ProjectResourceDto,
...
@@ -71,7 +71,7 @@ public class ProjectResourceServiceImpl extends BaseService<ProjectResourceDto,
if
(
type
.
equals
(
管材资源
.
getStatus
()))
{
if
(
type
.
equals
(
管材资源
.
getStatus
()))
{
projectResource
.
setType
(
管材资源
.
getState
());
projectResource
.
setType
(
管材资源
.
getState
());
}
}
projectResource
.
setProjectId
(
Long
.
valueOf
(
code
));
projectResource
.
setProjectId
(
Long
.
valueOf
(
SequenceNbr
));
projectResource
.
setResourceId
(
Long
.
valueOf
(
select
));
projectResource
.
setResourceId
(
Long
.
valueOf
(
select
));
this
.
save
(
projectResource
);
this
.
save
(
projectResource
);
...
...
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