ludc
2024-08-16 56de7a42d2567ce72885be8ebb1d1250d68ddd1b
Source/plt-web/plt-web-parent/plt-web/src/main/java/com/vci/web/controller/OsLifeCycleController.java
@@ -1,9 +1,7 @@
package com.vci.web.controller;
import com.vci.constant.FrameWorkLangCodeConstant;
import com.vci.dto.OsAttributeDTO;
import com.vci.dto.OsLifeCycleDTO;
import com.vci.pagemodel.OsAttributeVO;
import com.vci.starter.web.annotation.controller.VciUnCheckRight;
import com.vci.starter.web.annotation.log.VciBusinessLog;
import com.vci.starter.web.exception.VciBaseException;
@@ -37,7 +35,6 @@
 */
@RequestMapping("/lifeCycleController")
@RestController
@VciUnCheckRight
public class OsLifeCycleController {
    /**
@@ -213,4 +210,20 @@
        }
    }
    /**
     * 查询所有跃迁事件key
     * @return
     */
    @GetMapping("/getLCEventKeys")
    public BaseResult getLCEventKeys(){
        try {
            return BaseResult.dataList(lifeCycleService.getLCEventKeys());
        }catch (Exception e) {
            e.printStackTrace();
            String exceptionMessage = "跃迁事件查询时出现错误,原因:" + VciBaseUtil.getExceptionMessage(e);
            logger.error(exceptionMessage);
            return BaseResult.fail(exceptionMessage);
        }
    }
}