package org.jeecg.modules.stm.utils;

/**
 * @Author: yzh
 * @Date 2023/3/7 22:14
 * @Description:
 */
public class StmConstans {
    /**
     * 默认有效
     */
    public static final String DEFAULT_VALID = "1";
    /**
     * 默认通过
     */
    public static String DEFAULT_APPROVE_Flag = "1";

    //模板字段编码前缀
    public static String TPL_CODE_PREFIX = "TPL";
    //开始编码
    public static Integer TPL_START_CODE =100;

    //模板条目编码前缀
    public static String TPL_ITEM_CODE_PREFIX = "ITEM";
    //开始编码
    public static Integer TPL_ITEM_START_CODE =1000;

    //模板字段编码前缀
    public static String TPL_ITEM_FIELD_CODE_PREFIX = "FIELD";
    //开始编码
    public static Integer TPL_ITEM_FIELD_START_CODE =10000;

    //调查模板编号
    public static String SURVEY_TPL_CODE_PREFIX = "survey";

    //天眼查Token
    public static String TIANYANCHA_TOKEN = "e2d8ad17-523c-4712-a4d3-0b2350c9f889";

    // 审计管理 tp
    public static Integer Audit_TP_COMPLIANE_ITEM = 1;
    public static Integer Audit_TP_INNER_CTRL = 2;
    public static Integer Audit_TP_INNER_ORDER = 3;
    public static Integer Audit_TP_PROBLEM = 4;
    public static Integer Audit_TP_CHECK_METHOD = 5;
    public static Integer Audit_TP_RISK_EVENT = 6;
    public static Integer Audit_TP_BEST_PRACTICE = 7;
    public static Integer Audit_TP_RISK_SCENARIO = 8;
    public static Integer Audit_TP_ACT = 9;
    public static Integer Audit_TP_LABEL = 10;

    public static Integer Audit_TP_INNER_ORDER_CHECK_METHOD = 13;


    public static Integer Audit_TASK_COME_FROM_project = 1; // 本项目
    public static Integer Audit_TASK_COME_FROM_RULE = 2; // 合规库
    public static Integer Audit_TASK_COME_FROM_INNER = 3; //内控库

    // 定义常量
    public static final String REPORT_TEMPLATE_PATH = "/template/audit_report_tpl.docx";
    public static final String REPORT_SAVE_PATH = "/auditreport/";

    public static final String METRIC_REPORT_TEMPLATE_PATH  = "/template/stat_record_tpl.docx";
    public static final String METRIC_REPORT_SAVE_PATH = "/report";
}
