移除获得未关联合同列表
新增获得上游未关联合同列表 新增获得下游未关联合同列表
This commit is contained in:
@@ -155,11 +155,18 @@ public class ContractController implements BusinessControllerMarker {
|
|||||||
return success(contractService.submitErp(ids));
|
return success(contractService.submitErp(ids));
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/list/not-relation")
|
@GetMapping("/list/up-not-relation")
|
||||||
@Operation(summary = "获得未关联合同列表")
|
@Operation(summary = "获得上游未关联合同列表")
|
||||||
@PreAuthorize("@ss.hasPermission('base:contract:get')")
|
@PreAuthorize("@ss.hasPermission('base:contract:get')")
|
||||||
public CommonResult<List<ContractRespVO>> getListNotRelation(@RequestParam("id") Long id) {
|
public CommonResult<List<ContractRespVO>> getListUpNotRelation(@RequestParam("id") Long id) {
|
||||||
return success(contractService.getListNotRelation(id));
|
return success(contractService.getListUpNotRelation(id));
|
||||||
|
}
|
||||||
|
|
||||||
|
@GetMapping("/list/down-not-relation")
|
||||||
|
@Operation(summary = "获得下游未关联合同列表")
|
||||||
|
@PreAuthorize("@ss.hasPermission('base:contract:get')")
|
||||||
|
public CommonResult<List<ContractRespVO>> getListDownNotRelation(@RequestParam("id") Long id) {
|
||||||
|
return success(contractService.getListDownNotRelation(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/get/up-relation")
|
@GetMapping("/get/up-relation")
|
||||||
|
|||||||
@@ -120,9 +120,35 @@ public interface ContractService {
|
|||||||
*/
|
*/
|
||||||
ContractRespVO getBySystemContractNumber(String systemContractNumber);
|
ContractRespVO getBySystemContractNumber(String systemContractNumber);
|
||||||
|
|
||||||
List<ContractRespVO> getListNotRelation(Long id);
|
/**
|
||||||
|
* 获得上游未关联合同列表
|
||||||
|
*
|
||||||
|
* @param id 合同ID
|
||||||
|
* @return 上游未关联的合同列表
|
||||||
|
*/
|
||||||
|
List<ContractRespVO> getListUpNotRelation(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获得下游未关联合同列表
|
||||||
|
*
|
||||||
|
* @param id 合同ID
|
||||||
|
* @return 下游未关联的合同列表
|
||||||
|
*/
|
||||||
|
List<ContractRespVO> getListDownNotRelation(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获得上游关联的合同数据
|
||||||
|
*
|
||||||
|
* @param id 合同ID
|
||||||
|
* @return 关联的上游合同数据
|
||||||
|
*/
|
||||||
ContractRespVO getUpRelation(Long id);
|
ContractRespVO getUpRelation(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获得下游关联的合同数据
|
||||||
|
*
|
||||||
|
* @param id 合同ID
|
||||||
|
* @return 关联的下游合同数据
|
||||||
|
*/
|
||||||
ContractRespVO getDownRelation(Long id);
|
ContractRespVO getDownRelation(Long id);
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user