Merge branch 'develop' of http://192.168.10.125/k18_web/NFS.git into
develop Conflicts: src/main/java/com/nis/web/controller/configuration/proxy/PxyObjKeyringController.java 证书增加CN和SAN列,修改时间类型 common.js去掉无用字符 国际化增加cert_not_match_domain
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
<result column="crl" property="crl" jdbcType="VARCHAR" />
|
||||
<result column="issuer" property="issuer" jdbcType="VARCHAR" />
|
||||
<result column="subject" property="subject" jdbcType="VARCHAR" />
|
||||
<result column="not_before_time" property="notBeforeTime" jdbcType="TIMESTAMP" />
|
||||
<result column="not_after_time" property="notAfterTime" jdbcType="TIMESTAMP" />
|
||||
<result column="not_before_time" property="notBeforeTime" jdbcType="VARCHAR" />
|
||||
<result column="not_after_time" property="notAfterTime" jdbcType="VARCHAR" />
|
||||
<result column="cn" property="cn" jdbcType="VARCHAR" />
|
||||
<result column="alt_name" property="altName" jdbcType="VARCHAR" />
|
||||
<result column="action" property="action" jdbcType="INTEGER" />
|
||||
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
|
||||
<result column="is_audit" property="isAudit" jdbcType="INTEGER" />
|
||||
@@ -48,6 +50,8 @@
|
||||
,r.subject
|
||||
,r.not_before_time
|
||||
,r.not_after_time
|
||||
,r.cn
|
||||
,r.alt_name
|
||||
,r.cfg_type,r.action
|
||||
,r.is_valid,r.is_audit,r.creator_id,r.create_time,r.editor_id
|
||||
,r.edit_time,r.auditor_id,r.audit_time,r.service_id,r.request_id
|
||||
@@ -201,6 +205,8 @@
|
||||
subject,
|
||||
not_before_time,
|
||||
not_after_time,
|
||||
cn,
|
||||
alt_name,
|
||||
cfg_type,
|
||||
compile_Id,
|
||||
cfg_region_code
|
||||
@@ -232,8 +238,10 @@
|
||||
#{crl, jdbcType=VARCHAR},
|
||||
#{issuer, jdbcType=VARCHAR},
|
||||
#{subject, jdbcType=VARCHAR},
|
||||
#{notBeforeTime,jdbcType=TIMESTAMP},
|
||||
#{notAfterTime,jdbcType=TIMESTAMP},
|
||||
#{notBeforeTime,jdbcType=VARCHAR},
|
||||
#{notAfterTime,jdbcType=VARCHAR},
|
||||
#{cn,jdbcType=VARCHAR},
|
||||
#{altName,jdbcType=VARCHAR},
|
||||
#{cfgType,jdbcType=VARCHAR},
|
||||
#{compileId,jdbcType=INTEGER},
|
||||
#{cfgRegionCode,jdbcType=INTEGER}
|
||||
@@ -301,10 +309,10 @@
|
||||
<if test="keyringType != null" >
|
||||
keyring_type = #{keyringType,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="privateKeyFile != null" >
|
||||
<if test="privateKeyFile != null and privateKeyFile !=''" >
|
||||
private_key_file = #{privateKeyFile,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="publicKeyFile != null" >
|
||||
<if test="publicKeyFile != null and publicKeyFile !=''" >
|
||||
public_key_file = #{publicKeyFile,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="expireAfter != null" >
|
||||
@@ -313,8 +321,26 @@
|
||||
<if test="publicKeyAlgo != null" >
|
||||
public_key_algo = #{publicKeyAlgo,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="crl != null" >
|
||||
<if test="crl != null and crl !=''" >
|
||||
crl = #{crl,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="issuer != null and issuer !=''" >
|
||||
issuer = #{issuer,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="subject != null and subject !=''" >
|
||||
subject = #{subject,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="notBeforeTime != null and notBeforeTime !=''" >
|
||||
not_before_time = #{notBeforeTime,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="notAfterTime != null and notAfterTime !=''" >
|
||||
not_after_time = #{notAfterTime,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="cn != null and cn !=''" >
|
||||
cn = #{cn,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="altName != null and altName !=''" >
|
||||
alt_name = #{altName,jdbcType=VARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</set>
|
||||
|
||||
@@ -282,9 +282,9 @@
|
||||
<if test="httpReqBody!=null">
|
||||
AND a.compile_id in (select f.compile_id from http_body_cfg f
|
||||
<where>
|
||||
and cfg_type='NTC_HTTP_REQ_BODY'
|
||||
AND f.cfg_type = #{httpReqBody.cfgType}
|
||||
<if test="httpReqBody.cfgKeywords != null and httpReqBody.cfgKeywords != ''">
|
||||
and REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpReqBody.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
AND REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpReqBody.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
|
||||
</where>
|
||||
@@ -293,9 +293,9 @@
|
||||
<if test="httpResBody!=null">
|
||||
AND a.compile_id in (select f.compile_id from http_body_cfg f
|
||||
<where>
|
||||
and cfg_type='NTC_HTTP_RES_BODY'
|
||||
AND f.cfg_type = #{httpResBody.cfgType}
|
||||
<if test="httpResBody.cfgKeywords != null and httpResBody.cfgKeywords != ''">
|
||||
and REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpResBody.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
AND REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpResBody.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
|
||||
</where>
|
||||
@@ -304,8 +304,9 @@
|
||||
<if test="httpReqHdr!=null">
|
||||
AND a.compile_id in (select f.compile_id from http_req_head_cfg f
|
||||
<where>
|
||||
AND f.cfg_type = #{httpReqHdr.cfgType}
|
||||
<if test="httpReqHdr.cfgKeywords != null and httpReqHdr.cfgKeywords != ''">
|
||||
REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpReqHdr.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
AND REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpReqHdr.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
</where>
|
||||
)
|
||||
@@ -313,8 +314,9 @@
|
||||
<if test="httpResHdr!=null">
|
||||
AND a.compile_id in (select f.compile_id from http_res_head_cfg f
|
||||
<where>
|
||||
AND f.cfg_type = #{httpResHdr.cfgType}
|
||||
<if test="httpResHdr.cfgKeywords != null and httpResHdr.cfgKeywords != ''">
|
||||
REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpResHdr.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
AND REPLACE(f.cfg_keywords,'***and***','|') like concat(concat('%',#{httpResHdr.cfgKeywords,jdbcType=VARCHAR}),'%')
|
||||
</if>
|
||||
</where>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user