|
@@ -3,6 +3,7 @@ package com.chinaitop.depot.intelligent.financialSupervision.controller;
|
3
|
3
|
|
4
|
4
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
5
|
5
|
import com.chinaitop.depot.intelligent.common.ResponseEntity;
|
|
6
|
+import com.chinaitop.depot.intelligent.financialSupervision.model.BusinessContract;
|
6
|
7
|
import com.chinaitop.depot.intelligent.financialSupervision.param.*;
|
7
|
8
|
import com.chinaitop.depot.intelligent.financialSupervision.service.BusinessFsInConfirmService;
|
8
|
9
|
import com.chinaitop.depot.intelligent.financialSupervision.vo.BusinessFsInConfirmDetailVO;
|
|
@@ -14,6 +15,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
14
|
15
|
import org.springframework.validation.annotation.Validated;
|
15
|
16
|
import org.springframework.web.bind.annotation.*;
|
16
|
17
|
|
|
18
|
+import java.util.List;
|
|
19
|
+
|
17
|
20
|
/**
|
18
|
21
|
* <p>
|
19
|
22
|
* 财务监管-入库确认单 前端控制器
|
|
@@ -61,7 +64,12 @@ public class BusinessFsInConfirmController {
|
61
|
64
|
return ResponseEntity.ok(businessFsInConfirmService.getDataById(id));
|
62
|
65
|
}
|
63
|
66
|
|
|
67
|
+ @GetMapping("/getContractData")
|
|
68
|
+ @ApiOperation(value = "获取采购合同编号", notes = "获取采购合同编号")
|
|
69
|
+ public ResponseEntity<List<BusinessContract>> getContractData(Integer orgId) {
|
64
|
70
|
|
|
71
|
+ return ResponseEntity.ok(businessFsInConfirmService.getContractData(orgId));
|
|
72
|
+ }
|
65
|
73
|
@GetMapping("/getByContractId/{id}")
|
66
|
74
|
@ApiOperation(value = "通过合同id获取带出数据", notes = "通过合同id获取带出数据")
|
67
|
75
|
public ResponseEntity<GetFsConfirmByContractIdVO> getByContractId(@PathVariable("id") String id) {
|