25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 

410 satır
28 KiB

  1. --测试
  2. --UPDATE `mallink`.`wx_msg_validationcode_model` SET `content` = '尊敬的用户,您的退款订单:[${orderNumber}]已申请退款,款项将原路退还,请您注意查收。退款金额[${priceStr}]',`model_code` = 'SMS_239319696' WHERE `id` = 666429058236550321;
  3. --生产
  4. UPDATE `mallink`.`wx_msg_validationcode_model` SET `content` = '尊敬的用户,您的退款订单:[${orderNumber}]已申请退款,款项将原路退还,请您注意查收。退款金额[${priceStr}]',`model_code` = 'SMS_239319696' WHERE `id` = 666421038236550321;
  5. ALTER TABLE `mallink`.`wx_order_0`
  6. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  7. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  8. ALTER TABLE `mallink`.`wx_order_1`
  9. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  10. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  11. ALTER TABLE `mallink`.`wx_order_2`
  12. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  13. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  14. ALTER TABLE `mallink`.`wx_order_3`
  15. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  16. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  17. ALTER TABLE `mallink`.`wx_order_4`
  18. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  19. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  20. ALTER TABLE `mallink`.`wx_order_5`
  21. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  22. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  23. ALTER TABLE `mallink`.`wx_order_6`
  24. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  25. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  26. ALTER TABLE `mallink`.`wx_order_7`
  27. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  28. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  29. ALTER TABLE `mallink`.`wx_order_8`
  30. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  31. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  32. ALTER TABLE `mallink`.`wx_order_9`
  33. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  34. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  35. ALTER TABLE `mallink`.`wx_order_10`
  36. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  37. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  38. ALTER TABLE `mallink`.`wx_order_11`
  39. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  40. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  41. ALTER TABLE `mallink`.`wx_order_12`
  42. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  43. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  44. ALTER TABLE `mallink`.`wx_order_13`
  45. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  46. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  47. ALTER TABLE `mallink`.`wx_order_14`
  48. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  49. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  50. ALTER TABLE `mallink`.`wx_order_15`
  51. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  52. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  53. ALTER TABLE `mallink`.`wx_order_16`
  54. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  55. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  56. ALTER TABLE `mallink`.`wx_order_17`
  57. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  58. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  59. ALTER TABLE `mallink`.`wx_order_18`
  60. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  61. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  62. ALTER TABLE `mallink`.`wx_order_19`
  63. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  64. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  65. ALTER TABLE `mallink`.`wx_order_20`
  66. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  67. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  68. ALTER TABLE `mallink`.`wx_order_21`
  69. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  70. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  71. ALTER TABLE `mallink`.`wx_order_22`
  72. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  73. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  74. ALTER TABLE `mallink`.`wx_order_23`
  75. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  76. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  77. ALTER TABLE `mallink`.`wx_order_24`
  78. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  79. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  80. ALTER TABLE `mallink`.`wx_order_25`
  81. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  82. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  83. ALTER TABLE `mallink`.`wx_order_26`
  84. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  85. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  86. ALTER TABLE `mallink`.`wx_order_27`
  87. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  88. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  89. ALTER TABLE `mallink`.`wx_order_28`
  90. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  91. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  92. ALTER TABLE `mallink`.`wx_order_29`
  93. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  94. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  95. ALTER TABLE `mallink`.`wx_order_30`
  96. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  97. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  98. ALTER TABLE `mallink`.`wx_order_31`
  99. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  100. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  101. ALTER TABLE `mallink`.`wx_order_32`
  102. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  103. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  104. ALTER TABLE `mallink`.`wx_order_33`
  105. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  106. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  107. ALTER TABLE `mallink`.`wx_order_34`
  108. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  109. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  110. ALTER TABLE `mallink`.`wx_order_35`
  111. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  112. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  113. ALTER TABLE `mallink`.`wx_order_36`
  114. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  115. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  116. ALTER TABLE `mallink`.`wx_order_37`
  117. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  118. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  119. ALTER TABLE `mallink`.`wx_order_38`
  120. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  121. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  122. ALTER TABLE `mallink`.`wx_order_39`
  123. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  124. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  125. ALTER TABLE `mallink`.`wx_order_40`
  126. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  127. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  128. ALTER TABLE `mallink`.`wx_order_41`
  129. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  130. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  131. ALTER TABLE `mallink`.`wx_order_42`
  132. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  133. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  134. ALTER TABLE `mallink`.`wx_order_43`
  135. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  136. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  137. ALTER TABLE `mallink`.`wx_order_44`
  138. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  139. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  140. ALTER TABLE `mallink`.`wx_order_45`
  141. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  142. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  143. ALTER TABLE `mallink`.`wx_order_46`
  144. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  145. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  146. ALTER TABLE `mallink`.`wx_order_47`
  147. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  148. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  149. ALTER TABLE `mallink`.`wx_order_48`
  150. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  151. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  152. ALTER TABLE `mallink`.`wx_order_49`
  153. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  154. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  155. ALTER TABLE `mallink`.`wx_order_50`
  156. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  157. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  158. ALTER TABLE `mallink`.`wx_order_51`
  159. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  160. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  161. ALTER TABLE `mallink`.`wx_order_52`
  162. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  163. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  164. ALTER TABLE `mallink`.`wx_order_53`
  165. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  166. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  167. ALTER TABLE `mallink`.`wx_order_54`
  168. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  169. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  170. ALTER TABLE `mallink`.`wx_order_55`
  171. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  172. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  173. ALTER TABLE `mallink`.`wx_order_56`
  174. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  175. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  176. ALTER TABLE `mallink`.`wx_order_57`
  177. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  178. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  179. ALTER TABLE `mallink`.`wx_order_58`
  180. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  181. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  182. ALTER TABLE `mallink`.`wx_order_59`
  183. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  184. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  185. ALTER TABLE `mallink`.`wx_order_60`
  186. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  187. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  188. ALTER TABLE `mallink`.`wx_order_61`
  189. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  190. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  191. ALTER TABLE `mallink`.`wx_order_62`
  192. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  193. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  194. ALTER TABLE `mallink`.`wx_order_63`
  195. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  196. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  197. ALTER TABLE `mallink`.`wx_order_64`
  198. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  199. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  200. ALTER TABLE `mallink`.`wx_order_65`
  201. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  202. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  203. ALTER TABLE `mallink`.`wx_order_66`
  204. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  205. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  206. ALTER TABLE `mallink`.`wx_order_67`
  207. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  208. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  209. ALTER TABLE `mallink`.`wx_order_68`
  210. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  211. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  212. ALTER TABLE `mallink`.`wx_order_69`
  213. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  214. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  215. ALTER TABLE `mallink`.`wx_order_70`
  216. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  217. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  218. ALTER TABLE `mallink`.`wx_order_71`
  219. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  220. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  221. ALTER TABLE `mallink`.`wx_order_72`
  222. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  223. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  224. ALTER TABLE `mallink`.`wx_order_73`
  225. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  226. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  227. ALTER TABLE `mallink`.`wx_order_74`
  228. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  229. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  230. ALTER TABLE `mallink`.`wx_order_75`
  231. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  232. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  233. ALTER TABLE `mallink`.`wx_order_76`
  234. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  235. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  236. ALTER TABLE `mallink`.`wx_order_77`
  237. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  238. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  239. ALTER TABLE `mallink`.`wx_order_78`
  240. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  241. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  242. ALTER TABLE `mallink`.`wx_order_79`
  243. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  244. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  245. ALTER TABLE `mallink`.`wx_order_80`
  246. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  247. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  248. ALTER TABLE `mallink`.`wx_order_81`
  249. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  250. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  251. ALTER TABLE `mallink`.`wx_order_82`
  252. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  253. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  254. ALTER TABLE `mallink`.`wx_order_83`
  255. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  256. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  257. ALTER TABLE `mallink`.`wx_order_84`
  258. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  259. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  260. ALTER TABLE `mallink`.`wx_order_85`
  261. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  262. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  263. ALTER TABLE `mallink`.`wx_order_86`
  264. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  265. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  266. ALTER TABLE `mallink`.`wx_order_87`
  267. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  268. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  269. ALTER TABLE `mallink`.`wx_order_88`
  270. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  271. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  272. ALTER TABLE `mallink`.`wx_order_89`
  273. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  274. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  275. ALTER TABLE `mallink`.`wx_order_90`
  276. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  277. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  278. ALTER TABLE `mallink`.`wx_order_91`
  279. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  280. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  281. ALTER TABLE `mallink`.`wx_order_92`
  282. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  283. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  284. ALTER TABLE `mallink`.`wx_order_93`
  285. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  286. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  287. ALTER TABLE `mallink`.`wx_order_94`
  288. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  289. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  290. ALTER TABLE `mallink`.`wx_order_95`
  291. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  292. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  293. ALTER TABLE `mallink`.`wx_order_96`
  294. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  295. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  296. ALTER TABLE `mallink`.`wx_order_97`
  297. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  298. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  299. ALTER TABLE `mallink`.`wx_order_98`
  300. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  301. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  302. ALTER TABLE `mallink`.`wx_order_99`
  303. MODIFY COLUMN `detail` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `update_date`,
  304. ADD COLUMN `ref_detail` varchar(500) AFTER `detail`;
  305. --刷退款原因
  306. update wx_order_0 set ref_detail = detail where order_status in (3,4,5);
  307. update wx_order_1 set ref_detail = detail where order_status in (3,4,5);
  308. update wx_order_2 set ref_detail = detail where order_status in (3,4,5);
  309. update wx_order_3 set ref_detail = detail where order_status in (3,4,5);
  310. update wx_order_4 set ref_detail = detail where order_status in (3,4,5);
  311. update wx_order_5 set ref_detail = detail where order_status in (3,4,5);
  312. update wx_order_6 set ref_detail = detail where order_status in (3,4,5);
  313. update wx_order_7 set ref_detail = detail where order_status in (3,4,5);
  314. update wx_order_8 set ref_detail = detail where order_status in (3,4,5);
  315. update wx_order_9 set ref_detail = detail where order_status in (3,4,5);
  316. update wx_order_10 set ref_detail = detail where order_status in (3,4,5);
  317. update wx_order_11 set ref_detail = detail where order_status in (3,4,5);
  318. update wx_order_12 set ref_detail = detail where order_status in (3,4,5);
  319. update wx_order_13 set ref_detail = detail where order_status in (3,4,5);
  320. update wx_order_14 set ref_detail = detail where order_status in (3,4,5);
  321. update wx_order_15 set ref_detail = detail where order_status in (3,4,5);
  322. update wx_order_16 set ref_detail = detail where order_status in (3,4,5);
  323. update wx_order_17 set ref_detail = detail where order_status in (3,4,5);
  324. update wx_order_18 set ref_detail = detail where order_status in (3,4,5);
  325. update wx_order_19 set ref_detail = detail where order_status in (3,4,5);
  326. update wx_order_20 set ref_detail = detail where order_status in (3,4,5);
  327. update wx_order_21 set ref_detail = detail where order_status in (3,4,5);
  328. update wx_order_22 set ref_detail = detail where order_status in (3,4,5);
  329. update wx_order_23 set ref_detail = detail where order_status in (3,4,5);
  330. update wx_order_24 set ref_detail = detail where order_status in (3,4,5);
  331. update wx_order_25 set ref_detail = detail where order_status in (3,4,5);
  332. update wx_order_26 set ref_detail = detail where order_status in (3,4,5);
  333. update wx_order_27 set ref_detail = detail where order_status in (3,4,5);
  334. update wx_order_28 set ref_detail = detail where order_status in (3,4,5);
  335. update wx_order_29 set ref_detail = detail where order_status in (3,4,5);
  336. update wx_order_30 set ref_detail = detail where order_status in (3,4,5);
  337. update wx_order_31 set ref_detail = detail where order_status in (3,4,5);
  338. update wx_order_32 set ref_detail = detail where order_status in (3,4,5);
  339. update wx_order_33 set ref_detail = detail where order_status in (3,4,5);
  340. update wx_order_34 set ref_detail = detail where order_status in (3,4,5);
  341. update wx_order_35 set ref_detail = detail where order_status in (3,4,5);
  342. update wx_order_36 set ref_detail = detail where order_status in (3,4,5);
  343. update wx_order_37 set ref_detail = detail where order_status in (3,4,5);
  344. update wx_order_38 set ref_detail = detail where order_status in (3,4,5);
  345. update wx_order_39 set ref_detail = detail where order_status in (3,4,5);
  346. update wx_order_40 set ref_detail = detail where order_status in (3,4,5);
  347. update wx_order_41 set ref_detail = detail where order_status in (3,4,5);
  348. update wx_order_42 set ref_detail = detail where order_status in (3,4,5);
  349. update wx_order_43 set ref_detail = detail where order_status in (3,4,5);
  350. update wx_order_44 set ref_detail = detail where order_status in (3,4,5);
  351. update wx_order_45 set ref_detail = detail where order_status in (3,4,5);
  352. update wx_order_46 set ref_detail = detail where order_status in (3,4,5);
  353. update wx_order_47 set ref_detail = detail where order_status in (3,4,5);
  354. update wx_order_48 set ref_detail = detail where order_status in (3,4,5);
  355. update wx_order_49 set ref_detail = detail where order_status in (3,4,5);
  356. update wx_order_50 set ref_detail = detail where order_status in (3,4,5);
  357. update wx_order_51 set ref_detail = detail where order_status in (3,4,5);
  358. update wx_order_52 set ref_detail = detail where order_status in (3,4,5);
  359. update wx_order_53 set ref_detail = detail where order_status in (3,4,5);
  360. update wx_order_54 set ref_detail = detail where order_status in (3,4,5);
  361. update wx_order_55 set ref_detail = detail where order_status in (3,4,5);
  362. update wx_order_56 set ref_detail = detail where order_status in (3,4,5);
  363. update wx_order_57 set ref_detail = detail where order_status in (3,4,5);
  364. update wx_order_58 set ref_detail = detail where order_status in (3,4,5);
  365. update wx_order_59 set ref_detail = detail where order_status in (3,4,5);
  366. update wx_order_60 set ref_detail = detail where order_status in (3,4,5);
  367. update wx_order_61 set ref_detail = detail where order_status in (3,4,5);
  368. update wx_order_62 set ref_detail = detail where order_status in (3,4,5);
  369. update wx_order_63 set ref_detail = detail where order_status in (3,4,5);
  370. update wx_order_64 set ref_detail = detail where order_status in (3,4,5);
  371. update wx_order_65 set ref_detail = detail where order_status in (3,4,5);
  372. update wx_order_66 set ref_detail = detail where order_status in (3,4,5);
  373. update wx_order_67 set ref_detail = detail where order_status in (3,4,5);
  374. update wx_order_68 set ref_detail = detail where order_status in (3,4,5);
  375. update wx_order_69 set ref_detail = detail where order_status in (3,4,5);
  376. update wx_order_70 set ref_detail = detail where order_status in (3,4,5);
  377. update wx_order_71 set ref_detail = detail where order_status in (3,4,5);
  378. update wx_order_72 set ref_detail = detail where order_status in (3,4,5);
  379. update wx_order_73 set ref_detail = detail where order_status in (3,4,5);
  380. update wx_order_74 set ref_detail = detail where order_status in (3,4,5);
  381. update wx_order_75 set ref_detail = detail where order_status in (3,4,5);
  382. update wx_order_76 set ref_detail = detail where order_status in (3,4,5);
  383. update wx_order_77 set ref_detail = detail where order_status in (3,4,5);
  384. update wx_order_78 set ref_detail = detail where order_status in (3,4,5);
  385. update wx_order_79 set ref_detail = detail where order_status in (3,4,5);
  386. update wx_order_80 set ref_detail = detail where order_status in (3,4,5);
  387. update wx_order_81 set ref_detail = detail where order_status in (3,4,5);
  388. update wx_order_82 set ref_detail = detail where order_status in (3,4,5);
  389. update wx_order_83 set ref_detail = detail where order_status in (3,4,5);
  390. update wx_order_84 set ref_detail = detail where order_status in (3,4,5);
  391. update wx_order_85 set ref_detail = detail where order_status in (3,4,5);
  392. update wx_order_86 set ref_detail = detail where order_status in (3,4,5);
  393. update wx_order_87 set ref_detail = detail where order_status in (3,4,5);
  394. update wx_order_88 set ref_detail = detail where order_status in (3,4,5);
  395. update wx_order_89 set ref_detail = detail where order_status in (3,4,5);
  396. update wx_order_90 set ref_detail = detail where order_status in (3,4,5);
  397. update wx_order_91 set ref_detail = detail where order_status in (3,4,5);
  398. update wx_order_92 set ref_detail = detail where order_status in (3,4,5);
  399. update wx_order_93 set ref_detail = detail where order_status in (3,4,5);
  400. update wx_order_94 set ref_detail = detail where order_status in (3,4,5);
  401. update wx_order_95 set ref_detail = detail where order_status in (3,4,5);
  402. update wx_order_96 set ref_detail = detail where order_status in (3,4,5);
  403. update wx_order_97 set ref_detail = detail where order_status in (3,4,5);
  404. update wx_order_98 set ref_detail = detail where order_status in (3,4,5);
  405. update wx_order_99 set ref_detail = detail where order_status in (3,4,5);