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
391e1ca5
Commit
391e1ca5
authored
Jan 18, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
5f9167c4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
CostDto.java
...ces/src/main/java/com/bailuntec/cost/api/dto/CostDto.java
+6
-0
CostDetailDomain.java
...ava/com/blt/other/module/cost/model/CostDetailDomain.java
+3
-1
CostDetailMapper.xml
cost-service/src/main/resources/mapper/CostDetailMapper.xml
+4
-2
No files found.
cost-interfaces/src/main/java/com/bailuntec/cost/api/dto/CostDto.java
View file @
391e1ca5
...
...
@@ -26,16 +26,22 @@ public class CostDto {
@ApiModelProperty
(
"主体名称"
)
private
String
companyName
;
private
Integer
typeId
;
@ApiModelProperty
(
"类型编号"
)
private
String
typeNo
;
@ApiModelProperty
(
"类型标题"
)
private
String
typeName
;
@ApiModelProperty
(
"费用类型描述"
)
private
String
description
;
private
Integer
accountingSubjectId
;
@ApiModelProperty
(
"会计一级科目"
)
private
String
accountingSubjectNo
;
@ApiModelProperty
(
"会计一级科目"
)
private
String
accountingSubjectName
;
@ApiModelProperty
(
"创建人id"
)
private
Integer
createUserid
;
@Deprecated
...
...
cost-service/src/main/java/com/blt/other/module/cost/model/CostDetailDomain.java
View file @
391e1ca5
...
...
@@ -29,7 +29,9 @@ public class CostDetailDomain {
@TableField
(
exist
=
false
)
@ApiModelProperty
(
"类型标题"
)
private
String
typeName
;
@TableField
(
exist
=
false
)
@ApiModelProperty
(
"描述"
)
private
String
description
;
private
Integer
accountingSubjectId
;
@TableField
(
exist
=
false
)
...
...
cost-service/src/main/resources/mapper/CostDetailMapper.xml
View file @
391e1ca5
...
...
@@ -8,7 +8,8 @@
ifnull(ct.type_no, 0) type_no,
ifnull(ct.type_name, '待补充') type_name,
ifnull(ast.subject_no, 0) accounting_subject_no,
ifnull(ast.name, '待补充') accounting_subject_name
ifnull(ast.name, '待补充') accounting_subject_name,
ct.description
FROM cost_detail t1
left join cost_type ct on t1.type_id = ct.id
left join bailun_other.accounting_subject ast on ct.accounting_subject_id = ast.id
...
...
@@ -20,7 +21,8 @@
ifnull(ct.type_no, 0) type_no,
ifnull(ct.type_name, '待补充') type_name,
ifnull(ast.subject_no, 0) accounting_subject_no,
ifnull(ast.name, '待补充') accounting_subject_name
ifnull(ast.name, '待补充') accounting_subject_name,
ct.description
FROM cost_detail t1
left join cost_type ct on t1.type_id = ct.id
left join bailun_other.accounting_subject ast on ct.accounting_subject_id = ast.id
...
...
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