|
@@ -364,4 +364,15 @@ public class BsCovenantController extends BaseController {
|
|
public AjaxResult<BsCovenantVo> getInfoYw(@PathVariable("covenantId") Long covenantId) {
|
|
public AjaxResult<BsCovenantVo> getInfoYw(@PathVariable("covenantId") Long covenantId) {
|
|
return AjaxResult.success(iBsCovenantService.queryById(covenantId));
|
|
return AjaxResult.success(iBsCovenantService.queryById(covenantId));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 修改企业协议
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation("业务系统复制新增")
|
|
|
|
+ @Log(title = "企业协议", businessType = BusinessType.UPDATE)
|
|
|
|
+ @PostMapping("/Yw/copyAndInsert")
|
|
|
|
+ public AjaxResult<Void> copyAndInsertYw(@RequestBody BsCovenantAddBo bo) {
|
|
|
|
+ bo.setFormApp(3L);
|
|
|
|
+ return toAjax(iBsCovenantService.insertYXTByAddBo(bo) ? 1 : 0);
|
|
|
|
+ }
|
|
}
|
|
}
|