|
|
@@ -32,11 +32,21 @@
|
|
|
4. 新建 Pull Request
|
|
|
|
|
|
|
|
|
-#### 特技
|
|
|
-
|
|
|
-1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
|
-2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
|
-3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
|
|
|
-4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
|
|
|
-5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
|
-6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
|
+#### sql更新
|
|
|
+
|
|
|
+-- 添加字段(修改企微的备注手机号码搜索时用到)
|
|
|
+
|
|
|
+ALTER TABLE qw_external_contact
|
|
|
+ADD COLUMN search_mobile char(44)
|
|
|
+GENERATED ALWAYS AS (
|
|
|
+CAST(
|
|
|
+REGEXP_REPLACE(
|
|
|
+COALESCE(JSON_UNQUOTE(JSON_EXTRACT(remark_mobiles, '$[0]')), ''),
|
|
|
+'[^0-9]', ''
|
|
|
+) AS CHAR(44)
|
|
|
+)
|
|
|
+) VIRTUAL;
|
|
|
+
|
|
|
+-- 创建索引
|
|
|
+
|
|
|
+CREATE INDEX idx_search_mobile ON qw_external_contact(search_mobile);
|