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
65237395
Commit
65237395
authored
Jan 14, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 费用系统 删除过期方法
parent
919cceaf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
26 deletions
+4
-26
CostDao.java
.../src/main/java/com/blt/other/module/cost/dao/CostDao.java
+4
-26
Cost.xml
cost-service/src/main/resources/mapper/Cost.xml
+0
-0
No files found.
cost-service/src/main/java/com/blt/other/module/cost/dao/CostDao.java
View file @
65237395
package
com
.
blt
.
other
.
module
.
cost
.
dao
;
import
com.bailuntec.cost.api.dto.ManageCostDto
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
...
...
@@ -11,21 +10,21 @@ import com.blt.other.module.cost.model.CostDomain;
import
com.blt.other.module.cost.vo.CostExportVo
;
import
org.apache.ibatis.annotations.Param
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.List
;
public
interface
CostDao
extends
BaseMapper
<
CostDomain
>
{
//获取费用单列表
List
<
CostDomain
>
selectAll
(
@Param
(
"userId"
)
Integer
userId
,
@Param
(
"projectTypeList"
)
List
<
String
>
projectTypeList
);
List
<
CostDomain
>
selectAll
(
@Param
(
"userId"
)
Integer
userId
,
@Param
(
"projectTypeList"
)
List
<
String
>
projectTypeList
);
//根据 costNo 获取费用单详情
CostDomain
selectByCostNo
(
String
costNo
);
List
<
CostDomain
>
selectByKeys
(
CostDomain
costDomain
);
//根据 费用计划获取费用单详情
List
<
CostDomain
>
selectByCostPlanNo
(
String
costPlanNo
);
//查询最近一次费用单
...
...
@@ -33,28 +32,6 @@ public interface CostDao extends BaseMapper<CostDomain> {
List
<
CostDomain
>
selectLinkLendCost
(
@Param
(
"createuserid"
)
Integer
createuserid
);
//查询管理成本费用列表,付款单+借还单
List
<
ManageCostDto
>
selectManageCost
(
@Param
(
"startDate"
)
LocalDateTime
startDate
,
@Param
(
"endDate"
)
LocalDateTime
endDate
,
@Param
(
"feeSuperType"
)
String
feeSuperType
,
@Param
(
"feeSubType"
)
String
feeSubType
,
@Param
(
"companyValueList"
)
List
<
Integer
>
companyValueList
,
@Param
(
"companyName"
)
String
companyName
,
@Param
(
"departmentName"
)
String
departmentName
,
@Param
(
"createUserId"
)
Integer
createUserId
,
@Param
(
"payUserId"
)
Integer
payUserId
);
//查询所有的物流费用单和采购单
List
<
ManageCostDto
>
getLogisticsCostList
(
@Param
(
"startDate"
)
LocalDateTime
startDate
,
@Param
(
"endDate"
)
LocalDateTime
endDate
,
@Param
(
"feeSuperType"
)
String
feeSuperType
,
@Param
(
"feeSubType"
)
String
feeSubType
,
@Param
(
"companyValueList"
)
List
<
Integer
>
companyValueList
,
@Param
(
"companyName"
)
String
companyName
,
@Param
(
"departmentName"
)
String
departmentName
,
@Param
(
"createUserId"
)
Integer
createUserId
,
@Param
(
"payUserId"
)
Integer
payUserId
);
//
List
<
String
>
listCostNoAll
(
CostExportVo
costExportVo
);
...
...
@@ -91,5 +68,6 @@ public interface CostDao extends BaseMapper<CostDomain> {
Page
<
CostDomain
>
appCostList
(
@Param
(
"page"
)
IPage
<
CostDomain
>
costDomainIPage
,
@Param
(
"req"
)
AppCostListReq
req
);
//根据费用单状态获取费用单
List
<
CostDomain
>
selectByStatus
(
Integer
costStatus
);
}
cost-service/src/main/resources/mapper/Cost.xml
View file @
65237395
This diff is collapsed.
Click to expand it.
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