package com.tax.file.constants;

/**
 * @ProjectName: tax-sys-test
 * @Package: com.tax.file.constants
 * @ClassName: SqlConstants
 * @Author: ddx
 * @Description: ${description}
 * @Date: 2021-11-11 14:55
 * @Version: 1.0
 */
public class SqlConstants {

    public static final String BATCH_INSERT_FILE_SYNC_SQL  = "insert file_sync (file_id, user_name, taxno, exp_index, exp_date, exp_type, exp_flag, inv_date_start, inv_date_end, uuid_flag, file_md5, inv_spec, inv_type) "
            + "values (?, ?, ?, ?, now(), ?, ?, ?, ?, ?, ?, ?, ?);";

    public static final String  BATCH_UPDATE_FILE_SYNC_RESULT_SQL  = "UPDATE tk_file SET response_status=?, response_time=now() WHERE id = ?";


    public static final String BATCH_INSERT_FILE_APPLY_SQL  = "insert file_apply_log (taxno, inv_spec, inv_type, inv_date_start, inv_date_end, user_name, force_apply_flag, zone_code, file_md5, file_month, file_data_type, error_code, error_message, file_error_message, uuid_flag, create_date) "
            + "values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, now());";
}
