Browse Source

监督端-执法检查统计修改

v4
zouyx 2 years ago
parent
commit
61fccb0717
  1. 3
      lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/Zfryjdm2405301Mapper.xml

3
lib/EmergencyService/zdxtLawEnforcementCodeService/src/main/resources/mapper/Zfryjdm2405301Mapper.xml

@ -50,7 +50,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="zfdw != null and zfdw != ''">and zfdw like concat('%',#{zfdw},'%')</if>
<if test="zfcode != null and zfcode != ''">and zfcode like concat('%',#{zfcode},'%')</if>
</where>
group by sfzcode) z
group by sfzcode
order by zzjgdm) 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
on z.sfzcode_encrypt=s.certificateNumber
</select>

Loading…
Cancel
Save