Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dankal-data-view
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
仲光辉
dankal-data-view
Commits
b7da116f
Commit
b7da116f
authored
Nov 28, 2024
by
mercymodest
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:- add sql
parent
a6cc821a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
hotfix.sql
电子日历/hotfix.sql
+16
-0
No files found.
电子日历/hotfix.sql
0 → 100644
View file @
b7da116f
###
为
t_event
设置
third_party_calendar_auth_id
###
为
t_event
设置
third_party_calendar_auth_id
UPDATE
t_events
AS
e
INNER
JOIN
t_third_party_calendar_list
AS
tpcl
ON
tpcl
.
calendar_id
=
e
.
sync_calendar_id
AND
e
.
device_id
=
tpcl
.
device_id
SET
e
.
third_party_calendar_auth_id
=
tpcl
.
third_party_calendar_auth_id
WHERE
e
.
source_type
=
0
AND
e
.
sync_calendar_id
IS
NOT
NULL
;
UPDATE
t_events
AS
e
INNER
JOIN
t_third_party_calendar_list
AS
tpcl
ON
tpcl
.
calendar_id
=
e
.
sync_calendar_id
AND
e
.
device_id
=
tpcl
.
device_id
SET
e
.
third_party_calendar_auth_id
=
tpcl
.
third_party_calendar_auth_id
WHERE
e
.
source_type
=
1
AND
e
.
sync_calendar_id
IS
NOT
NULL
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment