提交erp判断逻辑修改:请求参数和返回数据修改
This commit is contained in:
@@ -145,8 +145,8 @@ public class ContractController implements BusinessControllerMarker {
|
||||
@PostMapping("/submit/erp")
|
||||
@Operation(summary = "提交ERP")
|
||||
@PreAuthorize("@ss.hasPermission('base:contract:erp')")
|
||||
public CommonResult<List<String>> submitErp(@RequestBody List<Long> ids) {
|
||||
return success(contractService.submitErp(ids));
|
||||
public CommonResult<JSONObject> submitErp(@RequestParam("id") Long id) {
|
||||
return success(contractService.submitErp(id));
|
||||
}
|
||||
|
||||
@GetMapping("/list/up-not-relation")
|
||||
|
||||
@@ -102,10 +102,10 @@ public interface ContractService {
|
||||
/**
|
||||
* 提交ERP
|
||||
*
|
||||
* @param ids 合同ID集合
|
||||
* @return
|
||||
* @param id 合同ID
|
||||
* @return 提交结果
|
||||
*/
|
||||
List<String> submitErp(List<Long> ids);
|
||||
JSONObject submitErp(Long id);
|
||||
|
||||
/**
|
||||
* 删除合同
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user