refactor:半角スペースをタブに変更

This commit is contained in:
y-ono-r 2022-08-02 16:19:31 +09:00 committed by shimoda.m@nds-tyo.co.jp
parent 61dd2a4e0a
commit a4cd7f9468

View File

@ -9,15 +9,15 @@ BEGIN
@error_state = RETURNED_SQLSTATE, @error_msg = MESSAGE_TEXT;
DROP TEMPORARY TABLE IF EXISTS make_history_tmp;
SIGNAL SQLSTATE '45000'
SET MESSAGE_TEXT = @error_msg, MYSQL_ERRNO = @error_state;
SET MESSAGE_TEXT = @error_msg, MYSQL_ERRNO = @error_state;
END;
-- ①-1 Salesforce側で更新されたデータの適用開始日時と適用終了日時を設定する
SET @new_history_save = '
UPDATE @@target_table
SET
start_datetime = @@target_column
, end_datetime = "9999-12-31 00:00:00"
start_datetime = @@target_column
, end_datetime = "9999-12-31 00:00:00"
WHERE
start_datetime IS NULL
AND end_datetime IS NULL