Commit 65237395 by huluobin

# 费用系统 删除过期方法

parent 919cceaf
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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment