|
|
@ -57,7 +57,7 @@ |
|
|
|
LIMIT #{current}, #{size} |
|
|
|
LIMIT #{current}, #{size} |
|
|
|
) as c |
|
|
|
) as c |
|
|
|
left join hzims_certificatet as b |
|
|
|
left join hzims_certificatet as b |
|
|
|
on c.id=b.person_id and c.is_deleted = 0 |
|
|
|
on c.id=b.person_id and b.is_deleted = 0 |
|
|
|
where c.is_deleted = 0 |
|
|
|
where c.is_deleted = 0 |
|
|
|
<if test="type != null and type != ''"> |
|
|
|
<if test="type != null and type != ''"> |
|
|
|
and b.type = #{type} |
|
|
|
and b.type = #{type} |
|
|
|