|
@@ -54,7 +54,9 @@
|
|
|
and (suho.linkman like concat('%',#{queryProperties},'%')
|
|
|
or suho.phone like concat('%',#{queryProperties},'%'))
|
|
|
</if>
|
|
|
-
|
|
|
+ <if test="reportStatus != null and reportStatus != ''">
|
|
|
+ and msr.report_status=#{reportStatus}
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by suu.unit_id asc,suho.linkman
|
|
|
</select>
|
|
@@ -86,6 +88,15 @@
|
|
|
and (suho.linkman like concat('%',#{queryProperties},'%')
|
|
|
or suho.phone like concat('%',#{queryProperties},'%'))
|
|
|
</if>
|
|
|
+ <if test="reportStatus != null and reportStatus != '' and reportStatus != 2">
|
|
|
+ and msr.report_status=#{reportStatus}
|
|
|
+ </if>
|
|
|
+ <if test="reportStatus == 2">
|
|
|
+ and msr.report_status is null
|
|
|
+ </if>
|
|
|
+ <if test="reportStatus == 3">
|
|
|
+ and msr.report_status is null or msr.report_status=0
|
|
|
+ </if>
|
|
|
</where>
|
|
|
order by suu.unit_id asc,suho.linkman
|
|
|
</select>
|