Commit f2c2f371 by huluobin

# 更新

parent 1a84b593
...@@ -8,8 +8,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage; ...@@ -8,8 +8,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.IdWorker; import com.baomidou.mybatisplus.core.toolkit.IdWorker;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blt.other.common.annotation.LoginIgnore; import com.blt.other.common.annotation.LoginIgnore;
import com.blt.other.module.cost.dao.CostDao;
import com.blt.other.module.cost.dto.request.CheckCostListReq; import com.blt.other.module.cost.dto.request.CheckCostListReq;
import com.blt.other.module.cost.dto.request.CostQueryPageReq; import com.blt.other.module.cost.dto.request.CostQueryPageReq;
import com.blt.other.module.cost.dto.response.GetAllLendCostResp;
import com.blt.other.module.cost.dto.response.GetCostByCostPlanNoResp; import com.blt.other.module.cost.dto.response.GetCostByCostPlanNoResp;
import com.blt.other.module.cost.dto.response.PrintListResp; import com.blt.other.module.cost.dto.response.PrintListResp;
import com.blt.other.module.cost.dto.response.UpdateCostResp; import com.blt.other.module.cost.dto.response.UpdateCostResp;
...@@ -30,6 +32,7 @@ import java.math.BigDecimal; ...@@ -30,6 +32,7 @@ import java.math.BigDecimal;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.stream.Collectors;
/** /**
* <p> * <p>
...@@ -60,8 +63,20 @@ public class CostController { ...@@ -60,8 +63,20 @@ public class CostController {
private HrCheckState hrCheckState; private HrCheckState hrCheckState;
@Resource @Resource
CostListSearchService costListSearchService; CostListSearchService costListSearchService;
@Resource
CostDao costDao;
@Deprecated
@ApiOperation("获取借支单列表")
@GetMapping("/getAllLendCost")
public GetAllLendCostResp getAllLendCost(@RequestParam Integer createuserid) {
costService = CostServiceFactory.getCostService();
List<CostDto> costDtoList = costDao.selectLinkLendCost(createuserid).stream().map(CostDomain::castToDto).collect(Collectors.toList());
GetAllLendCostResp resp = new GetAllLendCostResp();
resp.setLends(costDtoList);
return resp;
}
@ApiOperation("获取前端要打印的费用单列表") @ApiOperation("获取前端要打印的费用单列表")
@PostMapping("/list/print/list") @PostMapping("/list/print/list")
public PrintListResp printList(@RequestBody CostListPrintVo costListPrintVo) { public PrintListResp printList(@RequestBody CostListPrintVo costListPrintVo) {
......
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