教育再公共化聯盟/辦公室常用工具:修訂版本之間的差異

出自福留子孫
跳轉到: 導覽搜尋
產生行前通知收件者
產生行前通知收件者
 
第 29 行: 第 29 行:
 
  select concat(name,' <',email,'>,') from OSJAhelper left join OSJA_HD using(hid) where did=活動碼
 
  select concat(name,' <',email,'>,') from OSJAhelper left join OSJA_HD using(hid) where did=活動碼
 
:跨校選修課前通知
 
:跨校選修課前通知
  select concat(user_login,' <',user_email,'>,') from AL_users left join AL_cu using(ID) where cid=課程碼
+
  select concat(user_login,' <',user_email,'>,') from AL_users left join AL_cu using(ID) where status>0 && cid=課程碼
 
:跨校選修參課者 line 列表
 
:跨校選修參課者 line 列表
 
<pre>select name,lineName from JJline,wordpressblog.AL_users
 
<pre>select name,lineName from JJline,wordpressblog.AL_users
 
  left join wordpressblog.AL_cu using(ID)
 
  left join wordpressblog.AL_cu using(ID)
 
  where cid=課程碼 && name=user_login</pre>
 
  where cid=課程碼 && name=user_login</pre>

2024年6月14日 (五) 14:54的最新修訂版本

廣宣常用 Emoji (日語:絵文字/えもじ emoji)

取得詳情:

  1. https://graphemica.com/字符
  2. https://emojipedia.org/

1.👉(Backhand Index Pointing Right) 2.☝️(Index Pointing Up) 3.🤣(Rolling on the Floor Laughing,笑得在地上打滾)
4.💫(Dizzy,暈眩) 5.📍(Round Pushpin,圓形圖釘) 6.✨(Sparkles,閃閃發光) 7.✦ 8.➤ 9.❝ 10.❞ 11.🗓️(Spiral Calendar,螺旋日曆) 12.📣(Megaphone,擴音器) 13.🌟(Glowing Star,發光的星星) 14.🔗(Link,關聯) 15.📢(Loudspeaker,喇叭) 

清除最近的機器人報名

DS218+ / MySQL / jendo

  1. 同步刪機器人報名:
    delete from OSJAhelper where hid>=某個機器人 && hid!=自然人…
    delete from OSJA_HD where hid>=某個機器人 && hid!=自然人…
  2. 手動調前自然人的 hid ,如:
    update OSJAhelper set hid=新ID where hid=原ID
    update OSJA_HD set hid=新ID where hid=原ID
  3. 修改 OSJAhelper 的自動遞增指標
  4. delete from OSJA_HD where hid>=某個機器人 && hid!=自然人
  5. update OSJA_HD set hdid=hdid-跳空差值 where hdid>最大連續值
    查詢資料表跳號:輸入資料表名稱,會顯示該資料表跳號情況
  6. 修改 OSJA_HD 的自動遞增指標

比對重複報名者

DS218+ / MySQL / jendo
將同一資料表(OSJAhelper),視作為兩張資料表來比對

  1. 用姓名比對
    select a.hid,a.name,b.name,b.hid from OSJAhelper a left join OSJAhelper b using(name) where a.hid>b.hid
  2. 用 Email比對
    select a.hid,a.name,b.name,b.hid from OSJAhelper a left join OSJAhelper b using(email) where a.hid>b.hid && trim(email)!= ''

產生行前通知收件者

DS218+ / MySQL / jendo

線上論壇
select concat(name,' <',email,'>,') from OSJAhelper left join OSJA_HD using(hid) where did=活動碼
跨校選修課前通知
select concat(user_login,' <',user_email,'>,') from AL_users left join AL_cu using(ID) where status>0 && cid=課程碼
跨校選修參課者 line 列表
select name,lineName from JJline,wordpressblog.AL_users
 left join wordpressblog.AL_cu using(ID)
 where cid=課程碼 && name=user_login