瀏覽代碼

绩效考核 流程结束

ys321973351 1 年之前
父節點
當前提交
60c68e5537

+ 15 - 0
itdmServer/module-iTDM/src/main/java/org/jeecg/modules/flowpath/controller/ItdmRunFlowPathStepController.java

@@ -157,5 +157,20 @@ public class ItdmRunFlowPathStepController extends JeecgController<ItdmRunFlowPa
 	 }
 
 
+	 /**
+	  * 编辑
+	  *
+	  * @return
+	  */
+	 @AutoLog(value = "运行流程步骤表-流程结束")
+	 @ApiOperation(value = "运行流程步骤表-流程结束", notes = "运行流程步骤表-流程结束")
+	 //@RequiresPermissions("org.jeecg.modules:itdm_run_flow_path_step:edit")
+	 @GetMapping(value = "/jieshu")
+	 public Result<String> jieshu(String runFlowPath) {
+
+		 itdmRunFlowPathStepService.jieshu(runFlowPath);
+		 return Result.OK("编辑成功!");
+	 }
+
 
  }

+ 3 - 0
itdmServer/module-iTDM/src/main/java/org/jeecg/modules/flowpath/service/IItdmRunFlowPathStepService.java

@@ -29,4 +29,7 @@ public interface IItdmRunFlowPathStepService extends IService<ItdmRunFlowPathSte
     void rejectzd(ItdmRejectZDRunFlowPath zdRunFlowPath);
 
     public List<ItdmBuohuiRunFlowPathStepVO> yrunList(String runFlowPath);
+
+
+    void jieshu(String s);
 }

+ 13 - 0
itdmServer/module-iTDM/src/main/java/org/jeecg/modules/flowpath/service/impl/ItdmRunFlowPathStepServiceImpl.java

@@ -146,4 +146,17 @@ public class ItdmRunFlowPathStepServiceImpl extends ServiceImpl<ItdmRunFlowPathS
 
 
     }
+
+
+    @Override
+    public void jieshu(String s) {
+        ItdmRunFlowPath itdmRunFlowPath = this.itdmRunFlowPathMapper.selectById(entityClass);
+        itdmRunFlowPath.setStatus("1");
+
+        itdmRunFlowPathMapper.updateById(itdmRunFlowPath);
+
+
+
+
+    }
 }