|
@@ -106,6 +106,14 @@
|
|
|
<if test="vo.certificateUserName != null">
|
|
|
and (spf.certificate_user_name like concat('%',#{vo.certificateUserName},'%') or spf.certificate_id like concat('%',#{vo.certificateUserName},'%') )
|
|
|
</if>
|
|
|
+ <if test="vo.certificateType !=null">
|
|
|
+ <if test="vo.certificateType==2">
|
|
|
+ and spf.certificate_type in (2,3)
|
|
|
+ </if>
|
|
|
+ <if test="vo.certificateType!=2">
|
|
|
+ and spf.certificate_type=#{vo.certificateType}
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
order by spf.create_time DESC limit #{current},#{size}
|
|
|
</select>
|
|
|
|