|
@@ -217,7 +217,7 @@ public class BsCovenantController extends BaseController {
|
|
|
@ApiOperation("协议上传")
|
|
|
@Log(title = "企业协议" , businessType = BusinessType.DELETE)
|
|
|
@PostMapping("/uploadImg")
|
|
|
- public AjaxResult uploadImg(@RequestParam("covenantId") Long covenantId,@RequestParam("path") List<String> paths) {
|
|
|
+ public AjaxResult uploadImg(@RequestParam("covenantId") Long covenantId,@RequestParam("path") String paths) {
|
|
|
return toAjax(iBsCovenantService.uploadImg(covenantId,paths) ? 1 : 0);
|
|
|
}
|
|
|
/**
|
|
@@ -226,8 +226,8 @@ public class BsCovenantController extends BaseController {
|
|
|
@ApiOperation("协议上传确认生效")
|
|
|
@Log(title = "企业协议" , businessType = BusinessType.DELETE)
|
|
|
@PostMapping("/confirmAssert")
|
|
|
- public AjaxResult confirmAssert(@RequestParam("covenantId") Long covenantId) {
|
|
|
- return toAjax(iBsCovenantService.confirmAssert(covenantId) ? 1 : 0);
|
|
|
+ public AjaxResult confirmAssert(@RequestBody BsCovenantEditBo bo) {
|
|
|
+ return toAjax(iBsCovenantService.confirmAssert(bo.getCovenantId()) ? 1 : 0);
|
|
|
}
|
|
|
/**
|
|
|
* 删除企业协议
|