Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
582443e1
Commit
582443e1
authored
May 15, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
结算记录操作人
parent
fc5a6b1b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
AccountController.java
...om/hungraim/ltc/account/controller/AccountController.java
+3
-1
AccountServiceImpl.java
...hungraim/ltc/account/service/impl/AccountServiceImpl.java
+3
-0
ChDisabAccounts.java
...com/hungraim/ltc/pojo/entity/account/ChDisabAccounts.java
+7
-0
AccountOperVo.java
.../java/com/hungraim/ltc/pojo/vo/account/AccountOperVo.java
+2
-0
No files found.
account/account-service/src/main/java/com/hungraim/ltc/account/controller/AccountController.java
View file @
582443e1
...
...
@@ -41,7 +41,7 @@ public class AccountController {
* @return 返回状态
*/
@PostMapping
(
"/addOrUpdateAccount"
)
public
Result
addOrUpdateAccount
(
AccountOperVo
accountOperVo
)
{
public
Result
addOrUpdateAccount
(
@RequestHeader
(
"Authorization"
)
String
token
,
AccountOperVo
accountOperVo
)
{
/* if (null == accountOperVo.getSrvOrganId() || null == accountOperVo.getAccountsTime() || StringUtils.isBlank(accountOperVo.getTotalExpensesPayable()) || null == accountOperVo.getAccountsStatus()) {
return Result.failed(ResultCode.REQUEST_PARAM_ERROR);
}*/
...
...
@@ -54,6 +54,8 @@ public class AccountController {
return
Result
.
failed
(
"当前机构当月已存在结算数据"
);
}
}
Integer
userId
=
TokenParsingUtil
.
TokenParsing
(
token
,
"userId"
);
accountOperVo
.
setUserId
(
userId
);
accountService
.
addOrUpdateAccount
(
accountOperVo
);
return
Result
.
success
();
}
...
...
account/account-service/src/main/java/com/hungraim/ltc/account/service/impl/AccountServiceImpl.java
View file @
582443e1
...
...
@@ -95,6 +95,8 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
chDisabAccountDTO
.
setChooseSettle
((
short
)
1
);
// 是否结算(0未结算,1已结算)
disabAccountsMapper
.
updateById
(
chDisabAccountDTO
);
}
chDisabAccounts
.
setLcd
(
new
Date
());
chDisabAccounts
.
setLcu
(
accountOperVo
.
getUserId
());
this
.
saveOrUpdate
(
chDisabAccounts
);
}
...
...
@@ -550,6 +552,7 @@ public class AccountServiceImpl extends ServiceImpl<ChDisabAccountsMapper, ChDis
}
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
overallCostSubmit
(
OverallCostSubmitReqVO
req
){
ChDisabDetailAccounts
chDisabDetailAccounts
=
new
ChDisabDetailAccounts
();
int
dealType
=
req
.
getDealType
();
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/account/ChDisabAccounts.java
View file @
582443e1
...
...
@@ -123,6 +123,12 @@ public class ChDisabAccounts implements Serializable {
private
Short
isDelay
;
private
Date
lcd
;
private
Integer
lcu
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/account/AccountOperVo.java
View file @
582443e1
...
...
@@ -19,6 +19,8 @@ public class AccountOperVo extends ChDisabAccounts {
**/
private
String
modeName
;
private
Integer
userId
;
/**
* 文件列表数据对象
*/
...
...
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