package cn.iocoder.yudao.module.constant;

import java.util.Locale;

/**
 * @Description: 检测常量信息
 * @Author: 86187
 * @Date: 2025/01/23 13:55
 * @Version: 1.0
 */
public class InspectionConstants {

    /**
     * 检测基础员工角色 Code
     */
    public static final String INSPECTION_BASE_STAFF_ROLE = "jcworker";

    /**
     * 文件类型：文件夹
     */
    public static final String INSPECTION_FOLDER = "1";

    /**
     * 文件夹后缀 （新增检测员工时，上传附件新建文件夹）
     */
    public static final String INSPECTION_FOLDER_SUFFIX = "的文件夹";

    /**
     * 文件类型：文件
     */
    public static final String INSPECTION_FILE = "2";

    /**
     * 是员工附件
     */
    public static final Integer INSPECTION_IS_STAFF_FILE = 0;

    /**
     * key的类型为员工
     */
    public static final String INSPECTION_STAFF_KEY = "staff";

    /**
     * key的类型为设备
     */
    public static final String INSPECTION_STAFF_EQUIPMENT_KEY = "equipment";

    /**
     * key的类型为员工
     */
    public static final String DRIVE_SCHOOL_STAFF_KEY = "coach";

    /**
     * key的类型为员工
     */
    public static final String JY_DRIVER_STAFF_KEY = "jystaff";

    /**
     * key的类型为员工
     */
    public static final String WX_DRIVER_STAFF_KEY = "wxstaff";

    /**
     * key的类型为设备
     */
    public static final String DRIVE_SCHOOL_STUDENT_KEY = "student";

    /**
     * 检测接车订单表-没有接车
     */
    public static final Integer INSPECTION_MEET_CAR_ORDER_IS_MEET_CAR_NO = 0;

    /**
     * 检测接车订单表-已接车
     */
    public static final Integer INSPECTION_MEET_CAR_ORDER_IS_MEET_CAR_YES = 1;

    /**
     * 接车完成类型 - 工单表
     */
    public static final Integer INSPECTION_MEET_CAR_ORDER_IS_MEET_CAR_COMPLETE_TYPE_ORDER = 0;

    /**
     * 接车完成类型 - 接车订单表
     */
    public static final Integer INSPECTION_MEET_CAR_ORDER_IS_MEET_CAR_COMPLETE_TYPE_MEET_CAR_ORDER = 1;

    /**
     * 检测websocket消息内容-客户即将到店
     */
    public static final String INSPECTION_WEBSOCKET_MESSAGE_CONTENT_CUSTOMER_ARRIVE = "客户即将到店";

    // =======================================站内信模板=======================================

    /**
     * 检测站内信模板-客户预约通知
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_CUSTOMER_APPOINTMENT = "%s预约了%s-%s 将于%s %s到店 联系电话：%s";

    /**
     * 检测站内信模板-分配员工接车
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_ASSIGN_STAFF_MEET_CAR = "您有的新的接车订单需要处理 接车时间：%s 车牌号：%s 详细信息请前往接车列表";

    /**
     * 检测站内信模板-分配员工接车 （没有车牌号）
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_ASSIGN_STAFF_MEET_CAR_NO_CAR_NO = "您有的新的接车订单需要处理 接车时间：%s 详细信息请前往接车列表";

    /**
     * 检测站内信模板-提示业务经理 接车订单已被创建
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_BUSINESS_MANAGER_MEET_CAR_ORDER_CREATE = "%s的工单已创建，详细信息请前往列表查看";

    /**
     * 检测站内信模板-提示业务经理 接车订单以完成
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_BUSINESS_MANAGER_MEET_CAR_ORDER_COMPLETE = "%s的工单已完成，详细信息请前往列表查看";

    /**
     * 检测站内信模板-提示业务经理 接车订单不合格
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_BUSINESS_MANAGER_MEET_CAR_ORDER_UNQUALIFIED = "%s的工单不合格，详细信息请前往列表查看";

    /**
     * 检测站内信模板-提示经办人 用户车辆年审即将到期
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_USER_CAR_YEAR_EXPIRE = "用户车辆%s年审将与%s到期 用户联系方式：%s";

    /**
     * 检测站内信模板-提示经办人 用户车辆保险即将到期
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_USER_CAR_INSURANCE_EXPIRE = "用户车辆%s保险将于%s到期 用户联系方式：%s";

    /**
     * 检测站内信模板-提示用户 用户车辆保险即将到期
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_USER_CAR_INSURANCE_EXPIRE_USER = "您的车辆%s保险将于%s到期";

    /**
     * 检测站内信模板-提示用户 车辆年审即将到期
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_USER_CAR_YEAR_EXPIRE_USER = "您的车辆%s年审将于%s到期";

    /**
     * 检测站内信模板-提示用户 上传的资料即将到期
     */
    public static final String INSPECTION_NOTICE_TEMPLATE_USER_FILE_EXPIRE = "您上传的资料%s即将到期";

    // =======================================打印模板=======================================
    /**
     * 检测打印模板-订单结算
     */
    public static final String INSPECTION_PRINT_TEMPLATE_ORDER_SETTLEMENT = "<p style=\"text-align: right;\">qrCode</p><p>&nbsp;</p><table border=\"1\" style=\"width: 800px; margin: 0 auto; border-collapse: collapse;\"><colgroup style=\"text-align: right;\"><col width=\"64\" style=\"width:48.00pt;\" span=\"3\"/><col width=\"75\" style=\"width:56.25pt;\"/><col width=\"73\" style=\"width:54.75pt;\"/><col width=\"63\" style=\"width:47.25pt;\"/><col width=\"64\" style=\"width:48.00pt;\" span=\"2\"/></colgroup><tbody><tr style=\"height:27.00pt;\" class=\"firstRow\"><td colspan=\"8\" class=\"et2\" width=\"350\" style=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;title</td></tr><tr style=\"height:32.00pt;\"><td class=\"et4\" style=\"\">地址</td><td colspan=\"7\" class=\"et5\">buyAdress</td></tr><tr style=\"height:32.00pt;\"><td class=\"et4\" style=\"\">客户名称</td><td colspan=\"3\" class=\"et5\">buyName</td><td colspan=\"1\" class=\"et5\">电话</td><td colspan=\"3\" class=\"et5\">buyPhone</td></tr><tr style=\"height:21.00pt;\"><td class=\"et6\" style=\"\">上线日期</td><td class=\"et6\">车牌</td><td class=\"et6\">车架号</td><td class=\"et6\">检测类型</td><td class=\"et6\">检测项目</td><td class=\"et4\">检测费用</td><td class=\"et4\">优惠金额</td><td class=\"et4\">实收金额</td></tr><tr style=\"height:21.00pt;\"><td class=\"et7\" align=\"right\" style=\"\">timeStr<br/></td><td class=\"et8\" align=\"right\">carNum</td><td class=\"et8\">carIdNo</td><td class=\"et8\">goodsTitle</td><td class=\"et8\">skuName</td><td class=\"et9\">goodsPrice<br/></td><td class=\"et9\">reduceMoney</td><td class=\"et9\">realPayMoney</td></tr><tr style=\"height:21.00pt;\"><td colspan=\"5\" class=\"et10\" style=\"\">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 合计：</td><td class=\"et9\"><span style=\"text-wrap: wrap;\">goodsPrice</span></td><td class=\"et9\"><span style=\"text-wrap: wrap;\">reduceMoney</span></td><td class=\"et9\"><span style=\"text-wrap: wrap;\">realPayMoney</span></td></tr><tr style=\"height:21.00pt;\"><td colspan=\"5\" class=\"et10\" style=\"\">支付方式</td><td colspan=\"3\" class=\"et12\">payType</td></tr><tr style=\"height:24.00pt;\"><td colspan=\"8\" class=\"et5\" style=\"\">备注：payRemark</td></tr><tr style=\"height:27.00pt;\"><td colspan=\"3\" class=\"et3\" style=\"\">客户：<span style=\"text-wrap: wrap;\">buyName</span></td><td colspan=\"3\" class=\"et3\">服务顾问：workName</td><td class=\"et3\">收银员：</td><td><span style=\"text-wrap: wrap;\">workName</span></td></tr></tbody></table><p style=\"text-align: right;\"><br/></p>";

    /**
     * 检测打印模板-订单结算 不需要二维码
     */
    public static final String INSPECTION_PRINT_TEMPLATE_ORDER_SETTLEMENT_NO_QRCODE = "<p>\n" +
            "    <br/>\n" +
            "</p>\n" +
            "<table cellpadding=\"0\" border=\"1\" cellspacing=\"0\" width=\"700\" height=\"600\">\n" +
            "    <colgroup>\n" +
            "        <col width=\"64\" style=\"width:48.00pt;\" span=\"3\"/>\n" +
            "        <col width=\"75\" style=\"width:56.25pt;\"/>\n" +
            "        <col width=\"73\" style=\"width:54.75pt;\"/>\n" +
            "        <col width=\"63\" style=\"width:47.25pt;\"/>\n" +
            "        <col width=\"64\" style=\"width:48.00pt;\" span=\"2\"/>\n" +
            "    </colgroup>\n" +
            "    <tbody>\n" +
            "        <tr height=\"36\" style=\"height:27.00pt;\" class=\"firstRow\">\n" +
            "            <td colspan=\"8\" class=\"et2\" height=\"27\" width=\"350\" x:str=\"\" style=\"\">\n" +
            "                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;title\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"42\" style=\"height:32.00pt;\">\n" +
            "            <td class=\"et4\" height=\"32\" x:str=\"\" style=\"\">\n" +
            "                地址\n" +
            "            </td>\n" +
            "            <td colspan=\"7\" class=\"et5\">\n" +
            "                buyAdress\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"42\" style=\"height:32.00pt;\">\n" +
            "            <td class=\"et4\" height=\"32\" x:str=\"\" style=\"\">\n" +
            "                客户名称\n" +
            "            </td>\n" +
            "            <td colspan=\"3\" class=\"et5\">\n" +
            "                buyName\n" +
            "            </td>\n" +
            "            <td colspan=\"1\" class=\"et5\" x:str=\"\">\n" +
            "                电话\n" +
            "            </td>\n" +
            "            <td colspan=\"3\" class=\"et5\" x:str=\"\">\n" +
            "                buyPhone\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"28\" style=\"height:21.00pt;\">\n" +
            "            <td class=\"et6\" height=\"21\" x:str=\"\" style=\"\">\n" +
            "                上线日期\n" +
            "            </td>\n" +
            "            <td class=\"et6\" x:str=\"\">\n" +
            "                车牌\n" +
            "            </td>\n" +
            "            <td class=\"et6\" x:str=\"\">\n" +
            "                车架号\n" +
            "            </td>\n" +
            "            <td class=\"et6\" x:str=\"\">\n" +
            "                检测类型\n" +
            "            </td>\n" +
            "            <td class=\"et6\" x:str=\"\">\n" +
            "                检测项目\n" +
            "            </td>\n" +
            "            <td class=\"et4\" x:str=\"\">\n" +
            "                检测费用\n" +
            "            </td>\n" +
            "            <td class=\"et4\" x:str=\"\">\n" +
            "                优惠金额\n" +
            "            </td>\n" +
            "            <td class=\"et4\" x:str=\"\">\n" +
            "                实收金额\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"28\" style=\"height:21.00pt;\">\n" +
            "            <td class=\"et7\" height=\"21\" x:num=\"45183\" align=\"right\" style=\"\">\n" +
            "                timeStr<br/>\n" +
            "            </td>\n" +
            "            <td class=\"et8\" x:num=\"1\" align=\"right\">\n" +
            "                carNum\n" +
            "            </td>\n" +
            "            <td class=\"et8\">\n" +
            "                carIdNo\n" +
            "            </td>\n" +
            "            <td class=\"et8\">\n" +
            "                goodsTitle\n" +
            "            </td>\n" +
            "            <td class=\"et8\">\n" +
            "                skuName\n" +
            "            </td>\n" +
            "            <td class=\"et9\" x:num=\"450\">\n" +
            "                goodsPrice<br/>\n" +
            "            </td>\n" +
            "            <td class=\"et9\" x:num=\"50\">\n" +
            "                reduceMoney\n" +
            "            </td>\n" +
            "            <td class=\"et9\" x:num=\"400\">\n" +
            "                realPayMoney\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"28\" style=\"height:21.00pt;\">\n" +
            "            <td colspan=\"5\" class=\"et10\" height=\"21\" x:str=\"\" style=\"\">\n" +
            "                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 合计：\n" +
            "            </td>\n" +
            "            <td class=\"et9\" x:num=\"1430\">\n" +
            "                <span style=\"text-wrap: wrap;\">goodsPrice</span>\n" +
            "            </td>\n" +
            "            <td class=\"et9\" x:num=\"160\">\n" +
            "                <span style=\"text-wrap: wrap;\">reduceMoney</span>\n" +
            "            </td>\n" +
            "            <td class=\"et9\" x:num=\"1270\">\n" +
            "                <span style=\"text-wrap: wrap;\">realPayMoney</span>\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"28\" style=\"height:21.00pt;\">\n" +
            "            <td colspan=\"5\" class=\"et10\" height=\"21\" x:str=\"\" style=\"\">\n" +
            "                支付方式\n" +
            "            </td>\n" +
            "            <td colspan=\"3\" class=\"et12\" x:str=\"\">\n" +
            "                payType\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"32\" style=\"height:24.00pt;\">\n" +
            "            <td colspan=\"8\" class=\"et5\" height=\"24\" x:str=\"\" style=\"\">\n" +
            "                备注：payRemark\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "        <tr height=\"36\" style=\"height:27.00pt;\">\n" +
            "            <td colspan=\"3\" class=\"et3\" height=\"27\" x:str=\"\" style=\"\">\n" +
            "                客户：<span style=\"text-wrap: wrap;\">buyName</span>\n" +
            "            </td>\n" +
            "            <td colspan=\"3\" class=\"et3\" x:str=\"\">\n" +
            "                服务顾问：workName\n" +
            "            </td>\n" +
            "            <td class=\"et3\" x:str=\"\">\n" +
            "                收银员：\n" +
            "            </td>\n" +
            "            <td>\n" +
            "                <span style=\"text-wrap: wrap;\">workName</span>\n" +
            "            </td>\n" +
            "        </tr>\n" +
            "    </tbody>\n" +
            "</table>";
    public static final String INSPECTION_CUSTOMER_FILE_FOLDER = "small_inspection_member_folder";
    public static final String INSPECTION_CUSTOMER_FILE_FOLDER_NAME = "检测客户资料夹";
}
