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
a39eb5ec
Commit
a39eb5ec
authored
Oct 19, 2020
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8997cfc0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
19 deletions
+12
-19
CostReviewerController.java
...com/blt/other/auth/controller/CostReviewerController.java
+1
-1
CostTypeKindService.java
.../java/com/blt/other/cost/service/CostTypeKindService.java
+0
-15
CostTemplateServiceImpl.java
.../blt/other/cost/service/impl/CostTemplateServiceImpl.java
+10
-2
CostTypeKindServiceImpl.java
.../blt/other/cost/service/impl/CostTypeKindServiceImpl.java
+0
-0
OaDepartmentMapper.xml
...ore/src/main/resources/mapper/auth/OaDepartmentMapper.xml
+1
-1
No files found.
bailuntec-cost-core/src/main/java/com/blt/other/auth/controller/CostReviewerController.java
View file @
a39eb5ec
...
@@ -82,7 +82,7 @@ public class CostReviewerController {
...
@@ -82,7 +82,7 @@ public class CostReviewerController {
@RequestParam
Integer
oaDepartmentId
,
@RequestParam
Integer
oaDepartmentId
,
@RequestParam
String
departmentReviewerUserIds
)
{
@RequestParam
String
departmentReviewerUserIds
)
{
oaDepartmentService
.
modifyFinancialReviewer
(
userId
,
oaDepartmentId
,
Lists
.
newArrayList
(
departmentReviewerUserIds
.
split
(
","
))
oaDepartmentService
.
modifyFinancialReviewer
(
userId
,
oaDepartmentId
,
Lists
.
newArrayList
(
departmentReviewerUserIds
.
split
(
","
))
.
stream
().
map
(
Integer:
:
valueOf
).
collect
(
Collectors
.
toList
()))
)
;
.
stream
().
map
(
Integer:
:
valueOf
).
collect
(
Collectors
.
toList
()));
return
CostResult
.
success
();
return
CostResult
.
success
();
}
}
...
...
bailuntec-cost-core/src/main/java/com/blt/other/cost/service/CostTypeKindService.java
View file @
a39eb5ec
...
@@ -50,21 +50,6 @@ public interface CostTypeKindService {
...
@@ -50,21 +50,6 @@ public interface CostTypeKindService {
CostTypeKindDomain
getKindByKindNo
(
String
kindNo
);
CostTypeKindDomain
getKindByKindNo
(
String
kindNo
);
/**
/**
* 根据费用小类名称和公司名称获取种类信息
* @param kindName
* @param companyName
* @return
*/
CostTypeKindDomain
getKindByKindNameAndCompanyName
(
String
kindName
,
String
companyName
);
/**
* 获取指定费用类型小类列表
* @param companyNo
* @return
*/
List
<
CostTypeKindDto
>
getListByCompanyNoAndCostForm
(
String
companyNo
,
Integer
costForm
);
/**
* Excel 导入费用小类
* Excel 导入费用小类
* @param file
* @param file
*/
*/
...
...
bailuntec-cost-core/src/main/java/com/blt/other/cost/service/impl/CostTemplateServiceImpl.java
View file @
a39eb5ec
...
@@ -45,11 +45,19 @@ public class CostTemplateServiceImpl extends ServiceImpl<CostTemplateMapper, Cos
...
@@ -45,11 +45,19 @@ public class CostTemplateServiceImpl extends ServiceImpl<CostTemplateMapper, Cos
@Override
@Override
public
void
edit
(
CostTemplate
costTemplate
)
{
public
void
edit
(
CostTemplate
costTemplate
)
{
this
.
save
(
costTemplate
);
List
<
CostTemplateCol
>
costTemplateColList
=
costTemplate
.
getCostTemplateColList
();
costTemplateColList
.
forEach
(
costTemplateCol
->
costTemplateCol
.
setCostTemplateId
(
costTemplate
.
getId
()));
costTemplateColService
.
saveBatch
(
costTemplateColList
);
}
}
@Override
@Override
public
void
delete
(
Integer
id
)
{
public
void
delete
(
Integer
id
)
{
this
.
removeById
(
id
);
if
(
id
!=
null
)
{
this
.
removeById
(
id
);
costTemplateColService
.
remove
(
new
LambdaQueryWrapper
<
CostTemplateCol
>()
.
eq
(
CostTemplateCol:
:
getCostTemplateId
,
id
));
}
}
}
}
}
bailuntec-cost-core/src/main/java/com/blt/other/cost/service/impl/CostTypeKindServiceImpl.java
View file @
a39eb5ec
This diff is collapsed.
Click to expand it.
bailuntec-cost-core/src/main/resources/mapper/auth/OaDepartmentMapper.xml
View file @
a39eb5ec
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
SELECT t1.*, t2.`name` company_name
SELECT t1.*, t2.`name` company_name
from oa_department t1
from oa_department t1
LEFT JOIN oa_company t2 on t1.company_id = t2.oa_company_id
LEFT JOIN oa_company t2 on t1.company_id = t2.oa_company_id
left join cost_reviewer t3 on t1.id = t3.refer_id and (t3.type = 1)
left join cost_reviewer t3 on t1.
department_
id = t3.refer_id and (t3.type = 1)
where t1.parent_id = 0
where t1.parent_id = 0
/*审核人*/
/*审核人*/
<if
test=
"req.reviewerUserId !=null"
>
<if
test=
"req.reviewerUserId !=null"
>
...
...
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