fix(service): 修复SQL查询参数设置及逻辑错误
- 修正staff_uuid参数传递,使用占位符批量设置参数,避免拼接风险 - 修改director_type参数处理逻辑,动态替换字符串后再准备语句并设置参数 - 修正判空逻辑,将merchantIds为空时返回空集合条件调整正确 - 优化员工手机号查询SQL,连接platform_merchant表过滤已删除记录 - 添加SQL日志打印,便于调试和追踪查询参数
Showing
1 changed file
with
20 additions
and
12 deletions
-
Please register or sign in to post a comment