fix(企业微信客户群): 修正唯一约束与查询逻辑
将原单字段customer_contact_id的唯一约束调整为联合customer_contact_id与bot_id的约束,适配多机器人对接场景。更新查询过滤条件增加bot_id,避免跨机器人获取错误数据,同时补充新建记录时的bot_id和bot_code字段赋值
Showing
1 changed file
with
12 additions
and
2 deletions
-
Please register or sign in to post a comment