feat: 新增多个服务类及工具类,重构部分代码结构

重构服务类结构,将分散的服务统一整合到service包下
新增ProjectConstant常量类及多个实体服务类
添加SecurityUtils安全工具类和BeanCacher工具类
优化部分UI控件和转换器的实现
This commit is contained in:
2025-09-06 13:43:52 +08:00
parent 0e444508ff
commit effd7b103c
253 changed files with 2920 additions and 1646 deletions

View File

@@ -0,0 +1,27 @@
package com.ecep.contract.constant;
public class CloudYuConstant {
public static final String KEY_PREFIX = "cloud.u8.contract.";
/**
* 合同同步后的最后一个日期
*/
public static final String KEY_SYNC_BY_LATEST_DATE = KEY_PREFIX + "latestDate";
/**
* 合同同步后的最后一个合同ID
*/
public static final String KEY_SYNC_BY_LATEST_ID = KEY_PREFIX + "latestId";
/**
* 合同同步时是否使用最后更新的Id来判断更新范围否则使用最后更新的合同日期来判断更新范围
*/
public static final String KEY_SYNC_USE_LATEST_ID = KEY_PREFIX + "sync.use-latest-id";
/**
* 合同同步时的时间间隔,单位:秒
*/
public static final String KEY_SYNC_ELAPSE = KEY_PREFIX + "sync.elapse";
/**
* 自动创建公司的时间
*/
public static final String KEY_AUTO_CREATE_COMPANY_AFTER = KEY_PREFIX + "auto-create-company-after";
}

View File

@@ -3,4 +3,11 @@ package com.ecep.contract.constant;
public class CompanyCustomerConstant {
public static final String EVALUATION_FORM_NAME1 = "评定表";
public static final String EVALUATION_FORM_NAME2 = "评估表";
public static final String KEY_BASE_PATH = "customer.base.path";
public static final String KEY_SALEBOOK_PATH = "customer.salebook.path";
/**
* 客户资信评估表
*/
public static final String KEY_EVALUATION_FORM_TEMPLATE = "customer.evaluation.form.template";
}

View File

@@ -0,0 +1,27 @@
package com.ecep.contract.constant;
public class ContractConstant {
public static final String KEY_BASE_PATH = "contract.base.path";
/**
* 销售成本核算审批表模板
*/
public static final String KEY_CUSTOMER_COST_TEMPLATE = "customer.contract.cost.template";
/**
* 项目投标审批表模板
*/
public static final String KEY_CUSTOMER_BID_TEMPLATE = "customer.contract.bid.template";
/**
* 销售合同审批表模板
*/
public static final String KEY_CUSTOMER_APPLY_TEMPLATE = "customer.contract.apply.template";
/**
* 投标报价表模板
*/
public static final String KEY_QUOTATION_TEMPLATE = "customer.contract.quotation.template";
/**
* 采购合同审批表模板
*/
public static final String KEY_VENDOR_APPLY_TEMPLATE = "vendor.contract.apply.template";
}

View File

@@ -0,0 +1,7 @@
package com.ecep.contract.constant;
public class ProjectConstant {
public final static String KEY_CUSTOMER_SATISFACTION_SURVEY_TEMPLATE = "project.customer-satisfaction-survey.template";
}