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
68345dd2
Commit
68345dd2
authored
Jan 08, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
761ebad0
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
+9
-3
CostTypeAddReq.java
...com/blt/other/module/cost/dto/request/CostTypeAddReq.java
+0
-2
CostTypeServiceImpl.java
...t/other/module/cost/service/impl/CostTypeServiceImpl.java
+2
-1
DepartmentCheckState.java
...ule/cost/service/impl/costcheck/DepartmentCheckState.java
+7
-0
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/dto/request/CostTypeAddReq.java
View file @
68345dd2
...
...
@@ -14,8 +14,6 @@ import lombok.Data;
@Data
public
class
CostTypeAddReq
{
@ApiModelProperty
(
"费用类型编号"
)
private
String
typeNo
;
@ApiModelProperty
(
"费用类型标题"
)
private
String
typeName
;
...
...
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/CostTypeServiceImpl.java
View file @
68345dd2
package
com
.
blt
.
other
.
module
.
cost
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.IdWorker
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.blt.other.common.exception.BizRuntimeException
;
...
...
@@ -32,7 +33,7 @@ public class CostTypeServiceImpl extends ServiceImpl<CostTypeDao, CostTypeDomain
public
void
addCostType
(
CostTypeAddReq
req
)
{
CostTypeDomain
costTypeDomain
=
new
CostTypeDomain
();
costTypeDomain
.
setAccountingSubjectNo
(
req
.
getAccountingSubjectNo
());
costTypeDomain
.
setTypeNo
(
req
.
getTypeNo
());
costTypeDomain
.
setTypeNo
(
IdWorker
.
getIdStr
());
costTypeDomain
.
setTypeName
(
req
.
getTypeName
());
costTypeDomain
.
setDescription
(
req
.
getDescription
());
...
...
bailuntec-cost-core/src/main/java/com/blt/other/module/cost/service/impl/costcheck/DepartmentCheckState.java
View file @
68345dd2
...
...
@@ -192,6 +192,13 @@ public class DepartmentCheckState extends CostState {
return
departmentReviewer
;
}
// private OaDepartment getSecondDepartment(Integer departmentId) {
// OaDepartment oaDepartment = oaDepartmentMapper.selectByDepartmentId(departmentId);
// if (oaDepartment.getParentId() == 0) {
//
// }
// }
private
void
updateCurrentReviewer
(
Integer
departmentId
)
{
CostDomain
costDomain
=
costContext
.
costDomain
;
DepartmentReviewer
departmentReviewer
=
this
.
getCurrentDepartmentReviewer
(
departmentId
);
...
...
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