@@ -40,7 +40,7 @@
<select id="getVoList" resultType="com.mokamrp.privates.mapper.vo.WorkEmployeeVo">
SELECT
- A.id,
+ distinct(A.id) as id,
A.thumb_avatar,
B.group_name,
A.`name`,
@@ -193,7 +193,7 @@ public class WorkEmployeeServiceImpl extends ServiceImpl<WorkEmployeeMapper, Wor
obj.eq("D.group_id", groupId);
}
- if (mobile != null) {
+ if (mobile != null && !mobile.isEmpty()) {
obj.eq("A.mobile", mobile);