@ -49,10 +49,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="name != null and name != ''">and name like concat('%',#{name},'%')</if>
<iftest="name != null and name != ''">and name like concat('%',#{name},'%')</if>
<iftest="zfdw != null and zfdw != ''">and zfdw like concat('%',#{zfdw},'%')</if>
<iftest="zfdw != null and zfdw != ''">and zfdw like concat('%',#{zfdw},'%')</if>
<iftest="zfcode != null and zfcode != ''">and zfcode like concat('%',#{zfcode},'%')</if>
<iftest="zfcode != null and zfcode != ''">and zfcode like concat('%',#{zfcode},'%')</if>
</where>) z
</where>
group by sfzcode) z
left join (select phoneNumber, certificateNumber from sys_user where law_certificate_num is not null and user_source = 0 and status='0' and del_flag='0' group by certificateNumber) s
left join (select phoneNumber, certificateNumber from sys_user where law_certificate_num is not null and user_source = 0 and status='0' and del_flag='0' group by certificateNumber) s