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
5b25ab08
Commit
5b25ab08
authored
Jan 21, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# fee
parent
58ebe486
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
CostCompanyServiceImpl.java
...ther/module/cost/service/impl/CostCompanyServiceImpl.java
+13
-0
DepartmentReviewerServiceImpl.java
...odule/sys/service/impl/DepartmentReviewerServiceImpl.java
+12
-4
No files found.
cost-service/src/main/java/com/blt/other/module/cost/service/impl/CostCompanyServiceImpl.java
View file @
5b25ab08
...
...
@@ -10,6 +10,8 @@ import com.blt.other.common.util.CompanyUtil;
import
com.blt.other.module.sys.dao.CostReviewerMapper
;
import
com.blt.other.module.auth.dao.OaUserMapper
;
import
com.blt.other.module.sys.dto.request.CompanyReviewerListReq
;
import
com.blt.other.module.sys.dto.request.CostReviewerExportReq
;
import
com.blt.other.module.sys.dto.request.CostReviewerImportReq
;
import
com.blt.other.module.sys.model.CostReviewer
;
import
com.blt.other.module.auth.model.OaUser
;
import
com.blt.other.module.cost.dao.CostCompanyDao
;
...
...
@@ -22,6 +24,7 @@ import org.springframework.stereotype.Service;
import
springfox.documentation.annotations.Cacheable
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletResponse
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
...
...
@@ -236,6 +239,16 @@ public class CostCompanyServiceImpl extends ServiceImpl<CostCompanyDao, CostComp
return
this
.
list
().
stream
().
collect
(
Collectors
.
toMap
(
CostCompanyDomain:
:
getCompanyName
,
costCompanyDomain
->
costCompanyDomain
));
}
@Override
public
void
importExcel
(
CostReviewerImportReq
req
)
{
}
@Override
public
void
exportExcel
(
HttpServletResponse
response
,
CostReviewerExportReq
req
)
{
}
/**
* 生成唯一的主体编号
*
...
...
cost-service/src/main/java/com/blt/other/module/sys/service/impl/DepartmentReviewerServiceImpl.java
View file @
5b25ab08
...
...
@@ -11,10 +11,7 @@ import com.blt.other.module.auth.dao.OaUserMapper;
import
com.blt.other.module.auth.model.OaDepartment
;
import
com.blt.other.module.sys.dao.CostReviewerMapper
;
import
com.blt.other.module.sys.dao.DepartmentReviewerMapper
;
import
com.blt.other.module.sys.dto.request.AddDepartmentReviewerReq
;
import
com.blt.other.module.sys.dto.request.DepartmentReviewerListReq
;
import
com.blt.other.module.sys.dto.request.ModifyDepartmentReviewerReq
;
import
com.blt.other.module.sys.dto.request.RemoveDepartmentReviewerReq
;
import
com.blt.other.module.sys.dto.request.*
;
import
com.blt.other.module.sys.dto.response.DepartmentReviewerListItem
;
import
com.blt.other.module.sys.model.CostReviewer
;
import
com.blt.other.module.sys.model.DepartmentReviewer
;
...
...
@@ -24,6 +21,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
...
...
@@ -140,4 +138,14 @@ public class DepartmentReviewerServiceImpl extends ServiceImpl<DepartmentReviewe
log
.
info
(
"删除部门审核人"
);
baseMapper
.
deleteById
(
req
.
getId
());
}
@Override
public
void
importExcel
(
DepartmentReviewerImportReq
excel
)
{
}
@Override
public
void
exportExcel
(
HttpServletResponse
response
,
DepartmentReviewerExportReq
req
)
{
}
}
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