From 908e8c9a4f7542a4b02b18e05cfa4f42381919bc Mon Sep 17 00:00:00 2001 From: yinzuomei <576302893@qq.com> Date: Fri, 13 May 2022 09:17:39 +0800 Subject: [PATCH] ic_resi_user.substatus='01' --- .../resources/db/migration/V0.0.47__update_substatus.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.47__update_substatus.sql diff --git a/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.47__update_substatus.sql b/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.47__update_substatus.sql new file mode 100644 index 0000000000..08a8677e92 --- /dev/null +++ b/epmet-user/epmet-user-server/src/main/resources/db/migration/V0.0.47__update_substatus.sql @@ -0,0 +1,6 @@ +UPDATE ic_resi_user +SET SUB_STATUS = '01' +WHERE + DEL_FLAG = '0' + AND `STATUS` = '0' + AND (SUB_STATUS = '' OR SUB_STATUS IS NULL); \ No newline at end of file