Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
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
huluobin
bailuntec-cost
Commits
472d94f0
Commit
472d94f0
authored
Jan 16, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# fee
parent
7b1db6b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
CostTypeAddReq.java
...com/blt/other/module/cost/dto/request/CostTypeAddReq.java
+1
-1
AccountingSubjectServiceImpl.java
...odule/cost/service/impl/AccountingSubjectServiceImpl.java
+4
-1
No files found.
cost-service/src/main/java/com/blt/other/module/cost/dto/request/CostTypeAddReq.java
View file @
472d94f0
...
...
@@ -28,6 +28,6 @@ public class CostTypeAddReq {
private
Integer
type
;
@ApiModelProperty
(
"是否管理成本"
)
private
Boolean
isMangeCost
;
private
Boolean
isMan
a
geCost
;
}
cost-service/src/main/java/com/blt/other/module/cost/service/impl/AccountingSubjectServiceImpl.java
View file @
472d94f0
package
com
.
blt
.
other
.
module
.
cost
.
service
.
impl
;
import
com.bailuntec.common.StringUtils
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.blt.other.module.auth.dao.OaUserMapper
;
import
com.blt.other.module.auth.model.OaUser
;
...
...
@@ -59,7 +60,9 @@ public class AccountingSubjectServiceImpl extends ServiceImpl<AccountingSubjectM
accountingSubject
.
setUpdateUser
(
oaUser
.
getUserName
());
accountingSubject
.
setLastUpdateTime
(
LocalDateTime
.
now
());
accountingSubject
.
setName
(
req
.
getName
());
if
(
StringUtils
.
isNotEmpty
(
req
.
getName
()))
{
accountingSubject
.
setName
(
req
.
getName
());
}
baseMapper
.
updateById
(
accountingSubject
);
}
}
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