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
7638d1bb
Commit
7638d1bb
authored
May 22, 2021
by
yangjinhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erpk\会计科目id设置
parent
c224b123
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
pom.xml
cost-service/pom.xml
+5
-0
CostTypeDomain.java
...ain/java/com/blt/other/database/model/CostTypeDomain.java
+4
-0
CostTypeServiceImpl.java
...t/other/module/cost/service/impl/CostTypeServiceImpl.java
+1
-0
No files found.
cost-service/pom.xml
View file @
7638d1bb
...
...
@@ -88,6 +88,11 @@
</dependency>
<dependency>
<groupId>
io.springfox
</groupId>
<artifactId>
springfox-swagger-ui
</artifactId>
</dependency>
<dependency>
<groupId>
io.swagger
</groupId>
<artifactId>
swagger-models
</artifactId>
<version>
1.5.21
</version>
...
...
cost-service/src/main/java/com/blt/other/database/model/CostTypeDomain.java
View file @
7638d1bb
package
com
.
blt
.
other
.
database
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
...
...
@@ -73,6 +74,9 @@ public class CostTypeDomain {
@ApiModelProperty
(
value
=
"最后更新时间"
)
private
LocalDateTime
lastUpdateTime
;
@ApiModelProperty
(
value
=
"erp会计科目id"
)
@TableField
(
value
=
"ns_accounting_subject_id"
)
private
Integer
nsAccountingSubjectId
;
}
cost-service/src/main/java/com/blt/other/module/cost/service/impl/CostTypeServiceImpl.java
View file @
7638d1bb
...
...
@@ -115,6 +115,7 @@ public class CostTypeServiceImpl extends ServiceImpl<CostTypeDao, CostTypeDomain
costTypeDomain
.
setDescription
(
req
.
getDescription
());
costTypeDomain
.
setUpdateUserId
(
oaUser
.
getOaUserId
());
costTypeDomain
.
setUpdateUser
(
oaUser
.
getUserName
());
costTypeDomain
.
setNsAccountingSubjectId
(
req
.
getNsAccountingSubjectId
());
if
(
req
.
getAccountingSubjectId
()
!=
null
)
{
AccountingSubject
accountingSubject
=
accountingSubjectMapper
.
selectById
(
req
.
getAccountingSubjectId
());
...
...
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