Commit f7fd4a071f76c1239f08c602f0b52aade29b779d
1 parent
a20e9e71
刷线上课数据(修改错误数据)
Showing
1 changed file
with
43 additions
and
53 deletions
database/sql_log.sql
| @@ -3112,59 +3112,49 @@ update zygj_solution_class t1,(select IFNULL(c.root_class,zc.class_id) root_cla | @@ -3112,59 +3112,49 @@ update zygj_solution_class t1,(select IFNULL(c.root_class,zc.class_id) root_cla | ||
| 3112 | -- 执行环境 予发布和灰度 | 3112 | -- 执行环境 予发布和灰度 |
| 3113 | -- START | 3113 | -- START |
| 3114 | -- ---------------------------- | 3114 | -- ---------------------------- |
| 3115 | -update zygj_solution_class sc,( | ||
| 3116 | -select id,class_id from zygj_solution_class_bf where class_id in (5, | ||
| 3117 | -18270, | ||
| 3118 | -18274, | ||
| 3119 | -18275, | ||
| 3120 | -18277, | ||
| 3121 | -18278, | ||
| 3122 | -18279, | ||
| 3123 | -18281, | ||
| 3124 | -18291, | ||
| 3125 | -18301, | ||
| 3126 | -18303, | ||
| 3127 | -18327, | ||
| 3128 | -18388, | ||
| 3129 | -18581, | ||
| 3130 | -18587, | ||
| 3131 | -18666, | ||
| 3132 | -18917, | ||
| 3133 | -18995, | ||
| 3134 | -19456, | ||
| 3135 | -19462, | ||
| 3136 | -19464, | ||
| 3137 | -19466, | ||
| 3138 | -19841, | ||
| 3139 | -20013, | ||
| 3140 | -20015, | ||
| 3141 | -20016, | ||
| 3142 | -20036, | ||
| 3143 | -20037, | ||
| 3144 | -20038, | ||
| 3145 | -20391, | ||
| 3146 | -20395, | ||
| 3147 | -20398, | ||
| 3148 | -20400, | ||
| 3149 | -20402, | ||
| 3150 | -20405, | ||
| 3151 | -20442, | ||
| 3152 | -20443, | ||
| 3153 | -20444, | ||
| 3154 | -20445, | ||
| 3155 | -20452, | ||
| 3156 | -20454, | ||
| 3157 | -20638, | ||
| 3158 | -20639, | ||
| 3159 | -20649, | ||
| 3160 | -20718, | ||
| 3161 | -20741, | ||
| 3162 | -20912, | ||
| 3163 | -20913, | ||
| 3164 | -20914, | ||
| 3165 | -20915, | ||
| 3166 | -20916, | ||
| 3167 | -20917)) ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id | 3115 | + |
| 3116 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =143 and term=1 GROUP BY class_id | ||
| 3117 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3118 | + | ||
| 3119 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =160 and term=3 GROUP BY class_id | ||
| 3120 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3121 | + | ||
| 3122 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =169 and term=1 GROUP BY class_id | ||
| 3123 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3124 | + | ||
| 3125 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =167 and term=1 GROUP BY class_id | ||
| 3126 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3127 | + | ||
| 3128 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =165 and term=2 GROUP BY class_id | ||
| 3129 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3130 | + | ||
| 3131 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =164 and term=2 GROUP BY class_id | ||
| 3132 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3133 | + | ||
| 3134 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =163 and term=3 GROUP BY class_id | ||
| 3135 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3136 | + | ||
| 3137 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =162 and term=3 GROUP BY class_id | ||
| 3138 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3139 | + | ||
| 3140 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =161 and term=3 GROUP BY class_id | ||
| 3141 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3142 | + | ||
| 3143 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =159 and term=3 GROUP BY class_id | ||
| 3144 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3145 | + | ||
| 3146 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =157 and term=2 GROUP BY class_id | ||
| 3147 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3148 | + | ||
| 3149 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =119 and term=1 and class_id in (20038,20037,20036,20639,20638,20013,20649) GROUP BY class_id | ||
| 3150 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3151 | + | ||
| 3152 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =40 and term=3 and class_id =20741 GROUP BY class_id | ||
| 3153 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3154 | + | ||
| 3155 | +update zygj_solution_class sc,(select id,class_id from zygj_solution_class_bf where zygj_solution_id =24 and term=1 and class_id in (18327,20015,20016,20718) GROUP BY class_id | ||
| 3156 | +)ssc set sc.class_id=ssc.class_id ,sc.class_status=1,sc.type=1 where sc.id=ssc.id; | ||
| 3157 | + | ||
| 3168 | 3158 | ||
| 3169 | -- ---------------------------- | 3159 | -- ---------------------------- |
| 3170 | -- 2017-09-20 段世尧 脚本版本 201709211226 END | 3160 | -- 2017-09-20 段世尧 脚本版本 201709211226 END |