|
@@ -1,6 +1,11 @@
|
|
|
package com.yh.saas.plugin.yiliangyiyun.controller;
|
|
|
|
|
|
|
|
|
+import com.yh.saas.plugin.yiliangyiyun.entity.ContractProcessInfo;
|
|
|
+import com.yh.saas.plugin.yiliangyiyun.service.IContractProcessInfoService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -16,6 +21,16 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
@RestController
|
|
|
@RequestMapping("/contractProcessInfo")
|
|
|
public class ContractProcessInfoController {
|
|
|
+ @Autowired
|
|
|
+ private IContractProcessInfoService contractProcessInfoService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 编辑合同流程信息
|
|
|
+ */
|
|
|
+ @PostMapping("/editInfo")
|
|
|
+ public String editInfo(@RequestBody ContractProcessInfo contractProcessInfo) {
|
|
|
+ return contractProcessInfoService.editInfo(contractProcessInfo);
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|