Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-cost-system
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
bltdc
dc-cost-system
Commits
16e8cc93
Commit
16e8cc93
authored
Nov 17, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
6b3c4163
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
CostTemplateCol.java
...java/com/blt/other/module/cost/model/CostTemplateCol.java
+3
-0
DepartmentCheckState.java
...ule/cost/service/impl/costcheck/DepartmentCheckState.java
+0
-1
CostTemplateColServiceImpl.java
...service/impl/costtemplate/CostTemplateColServiceImpl.java
+2
-1
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/model/CostTemplateCol.java
View file @
16e8cc93
...
...
@@ -3,6 +3,7 @@ package com.blt.other.module.cost.model;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.google.common.collect.Lists
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
...
...
@@ -50,6 +51,7 @@ public class CostTemplateCol implements Serializable {
private
Boolean
isDefault
;
@ApiModelProperty
(
value
=
"创建时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
createTime
;
private
Integer
createUserId
;
...
...
@@ -59,6 +61,7 @@ public class CostTemplateCol implements Serializable {
private
String
updateUserName
;
@ApiModelProperty
(
value
=
"更新时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
LocalDateTime
lastUpdateTime
;
private
String
companyScope
;
...
...
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/costcheck/DepartmentCheckState.java
View file @
16e8cc93
...
...
@@ -27,7 +27,6 @@ public class DepartmentCheckState extends CostState {
@Autowired
FinancialCheckState
financialCheckState
;
@Resource
OaDepartmentMapper
oaDepartmentMapper
;
@Resource
...
...
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/costtemplate/CostTemplateColServiceImpl.java
View file @
16e8cc93
...
...
@@ -87,7 +87,6 @@ public class CostTemplateColServiceImpl extends ServiceImpl<CostTemplateColMappe
costTemplateService
.
updateById
(
costTemplate
);
}
/**
...
...
@@ -133,6 +132,8 @@ public class CostTemplateColServiceImpl extends ServiceImpl<CostTemplateColMappe
return
costTemplateService
.
queryDetail
(
req
.
getCostTemplateId
()).
getCostTemplateColList
()
.
stream
()
//非默认
.
filter
(
costTemplateCol
->
!
costTemplateCol
.
getIsDefault
())
//字段类目
.
filter
(
costTemplateCol
->
StringUtils
.
isEmpty
(
req
.
getColCategory
())
||
Optional
.
ofNullable
(
costTemplateCol
.
getCostTemplateBaseCol
().
getColCategory
()).
map
(
str
->
str
.
contains
(
req
.
getColCategory
())).
orElse
(
false
))
...
...
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