Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
36c81675
Commit
36c81675
authored
Aug 23, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目基本信息推送
parent
20ff1922
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
27 deletions
+29
-27
TSettleDomainController.java
.../v1/yifu/archives/controller/TSettleDomainController.java
+3
-3
TSettleDomainService.java
...d/plus/v1/yifu/archives/service/TSettleDomainService.java
+1
-1
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+25
-23
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TSettleDomainController.java
View file @
36c81675
...
@@ -239,14 +239,14 @@ public class TSettleDomainController {
...
@@ -239,14 +239,14 @@ public class TSettleDomainController {
/**
/**
* 修改项目表
* 修改项目表
*
*
* @param
tSettleDomain
项目表
* @param
list
项目表
* @return R
* @return R
*/
*/
@Operation
(
summary
=
"修改项目表"
,
description
=
"修改项目表"
)
@Operation
(
summary
=
"修改项目表"
,
description
=
"修改项目表"
)
@SysLog
(
"修改项目表"
)
@SysLog
(
"修改项目表"
)
@PostMapping
(
"/updateProjectInfo"
)
@PostMapping
(
"/updateProjectInfo"
)
public
R
updateProjectInfo
(
@RequestBody
TSettleDomain
tSettleDomain
)
{
public
R
updateProjectInfo
(
@RequestBody
List
<
TSettleDomain
>
list
)
{
return
tSettleDomainService
.
updateProjectInfo
(
tSettleDomain
);
return
tSettleDomainService
.
updateProjectInfo
(
list
);
}
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TSettleDomainService.java
View file @
36c81675
...
@@ -70,6 +70,6 @@ public interface TSettleDomainService extends IService<TSettleDomain> {
...
@@ -70,6 +70,6 @@ public interface TSettleDomainService extends IService<TSettleDomain> {
**/
**/
List
<
TSettleDomainSelectVo
>
selectAllSettleDomainSelectVos
();
List
<
TSettleDomainSelectVo
>
selectAllSettleDomainSelectVos
();
R
updateProjectInfo
(
TSettleDomain
tSettleDomain
);
R
updateProjectInfo
(
List
<
TSettleDomain
>
list
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
36c81675
...
@@ -117,8 +117,9 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
...
@@ -117,8 +117,9 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
}
}
@Override
@Override
public
R
updateProjectInfo
(
TSettleDomain
tSettleDomain
)
{
public
R
updateProjectInfo
(
List
<
TSettleDomain
>
list
)
{
if
(
Common
.
isNotNull
(
tSettleDomain
))
{
if
(
Common
.
isNotNull
(
list
))
{
for
(
TSettleDomain
tSettleDomain:
list
)
{
R
<
AreaVo
>
areaListR
=
upmsDaprUtils
.
getAreaListR
();
R
<
AreaVo
>
areaListR
=
upmsDaprUtils
.
getAreaListR
();
if
(
null
==
areaListR
||
areaListR
.
getCode
()
!=
CommonConstants
.
SUCCESS
)
{
if
(
null
==
areaListR
||
areaListR
.
getCode
()
!=
CommonConstants
.
SUCCESS
)
{
...
@@ -144,6 +145,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
...
@@ -144,6 +145,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
}
else
{
}
else
{
baseMapper
.
insert
(
tSettleDomain
);
baseMapper
.
insert
(
tSettleDomain
);
}
}
}
return
R
.
ok
();
return
R
.
ok
();
}
else
{
}
else
{
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
return
R
.
failed
(
CommonConstants
.
PARAM_IS_NOT_ERROR
);
...
...
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