代理拦截修改提交
This commit is contained in:
@@ -16,4 +16,6 @@ public interface ProxyFileTrafficMirrorDao extends CrudDao<ProxyFileTrafficMirro
|
||||
public ProxyFileTrafficMirrorCfg getCfgById(@Param("cfgId")Long cfgId);
|
||||
|
||||
List<ProxyFileTrafficMirrorCfg> findByList(@Param("ids")String ids);
|
||||
|
||||
List<ProxyFileTrafficMirrorCfg> findMirrorList(@Param("compileIds")String compileIds, @Param("isValid")Integer isValid, @Param("isAudit")Integer isAudit);
|
||||
}
|
||||
|
||||
@@ -305,5 +305,23 @@
|
||||
left join request_info ri on a.request_id=ri.id
|
||||
where a.CFG_ID in (${ids})
|
||||
</select>
|
||||
<select id="findMirrorList" resultMap="ProxyFileTrafficMirrorCfg">
|
||||
SELECT
|
||||
<include refid="ProxyFileTrafficMirrorCfgColumn"/>
|
||||
FROM PXY_PROFILE_TRAFFIC_MIRROR a
|
||||
<trim prefix="where" prefixOverrides="and">
|
||||
<if test="compileIds!=null and compileIds!=''">
|
||||
and a.COMPILE_ID in (${compileIds})
|
||||
</if>
|
||||
<if test="isValid!=null and isValid!=''">
|
||||
and a.IS_VALID =#{isValid}
|
||||
</if>
|
||||
<if test="isAudit!=null and isAudit!=''">
|
||||
and a.IS_AUDIT =#{isAudit}
|
||||
</if>
|
||||
</trim>
|
||||
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -21,6 +21,9 @@ public interface PxyObjKeyringDao extends CrudDao<PxyObjKeyring>{
|
||||
List<PxyObjKeyring> findList(@Param("cfgId")Long cfgId
|
||||
,@Param("isAudit")Integer isAudit
|
||||
,@Param("isValid")Integer isValid,@Param("cfgType")String cfgType);
|
||||
List<PxyObjKeyring> findLists(@Param("compileIds")String cfgIds
|
||||
,@Param("isAudit")Integer isAudit
|
||||
,@Param("isValid")Integer isValid,@Param("cfgType")String cfgType);
|
||||
PxyObjTrustedCaCert getPxyObjTrustedCaCert(Long id);
|
||||
PxyObjTrustedCaCrl getPxyObjTrustedCaCrl(PxyObjTrustedCaCrl entity);
|
||||
void insertPxyObjTrustedCaCert(PxyObjTrustedCaCert PxyObjTrustedCaCert);
|
||||
|
||||
@@ -366,6 +366,34 @@
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="findLists" resultMap="PxyObjKeyringMap">
|
||||
SELECT
|
||||
<include refid="PxyObjKeyringColumns"/>
|
||||
FROM pxy_obj_keyring r
|
||||
<where>
|
||||
<if test="isValid == -1">
|
||||
AND r.is_valid !=-1
|
||||
</if>
|
||||
<if test="isValid == 1">
|
||||
AND r.is_valid =1
|
||||
</if>
|
||||
<if test="isValid == 0">
|
||||
AND r.is_valid =0
|
||||
</if>
|
||||
<if test="isAudit == 0">
|
||||
AND r.is_audit =0
|
||||
</if>
|
||||
<if test="isAudit == 1">
|
||||
AND r.is_audit =1
|
||||
</if>
|
||||
<if test="cfgType == 'ip' ">
|
||||
<![CDATA[AND r.keyring_type <> 'end-entity']]>
|
||||
</if>
|
||||
<if test="compileIds != null">
|
||||
AND r.COMPILE_ID in(#{compileIds})
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
<!-- 查出所有 有效数据-->
|
||||
<select id="getPxyObjTrustedCaCert" resultType="com.nis.domain.configuration.PxyObjTrustedCaCert">
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user