فهرست منبع

根据证书类型,查看找证书

chenr 3 هفته پیش
والد
کامیت
e9bf71a7c1

+ 8 - 0
blade-service/blade-manager/src/main/java/org/springblade/manager/mapper/SignPfxFileMapper.xml

@@ -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>