ludc
2024-08-06 daf9ff33f0a36c9037af70f574697d80174915f8
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;
@@ -213,4 +211,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);
        }
    }
}