update sql
This commit is contained in:
+2
-2
@@ -72,9 +72,9 @@ INSERT INTO sys_dict_item ( id, dict_id, item_text, item_value, description, sor
|
||||
INSERT INTO sys_sms_template ( id, template_code, template_name, template_content, template_type, recipient, create_by, create_time ) VALUES ( '1767384966368137217', 'GL_16_HTTZ_EXPIRE', '15', '<p>【中汽标协】尊敬的会员朋友,您的会员权限将于${expiredDay}到期,请及时续费,以免影响您的会员权益。</p>', '2,3', '1', 'LKGLZ', '2024-03-12 10:59:47' );
|
||||
# 处理历史数据
|
||||
update income_payments.tb_member_project_subitem tmps
|
||||
left join standards_association.tb_member_info tmi on tmps.company_name = tmi.company_name
|
||||
left join standards_association.tb_member_info tmi on tmps.member_id = tmi.id
|
||||
set tmps.effective_date = tmi.effective_date, tmps.invalidation_date = tmi.invalidation_date
|
||||
where 1=1;
|
||||
where tmps.invalidation_date is null;
|
||||
# 会议打包统计视图
|
||||
create view v_meeting_pack_statistical as
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user