snat策略下发增加action、serivce、doLog.
This commit is contained in:
@@ -14,7 +14,6 @@ public interface IpMultiplexDao extends CrudDao<IpMultiplexDao>{
|
||||
List<IpReusePolicyCfg> findPage(IpReusePolicyCfg entity);
|
||||
|
||||
List<IpReusePolicyCfg> findList(@Param("cfgId")Long cfgId
|
||||
,@Param("isAudit")Integer isAudit
|
||||
,@Param("isValid")Integer isValid);
|
||||
|
||||
void savePolicyCfg(IpReusePolicyCfg entity);
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
<result column="user_id" property="userId" jdbcType="INTEGER"/>
|
||||
<result column="user_type" property="userType" jdbcType="VARCHAR"/>
|
||||
|
||||
<result column="do_log" property="doLog" jdbcType="INTEGER" />
|
||||
<result column="is_valid" property="isValid" jdbcType="INTEGER" />
|
||||
<result column="is_audit" property="isAudit" jdbcType="INTEGER" />
|
||||
<result column="cfg_region_code" property="cfgRegionCode" jdbcType="INTEGER" />
|
||||
@@ -38,7 +39,7 @@
|
||||
|
||||
<sql id="policyColumns">
|
||||
r.CFG_ID,r.CFG_DESC,r.ADDR_POOL_ID,r.USER_ID,r.USER_TYPE,
|
||||
r.ACTION,r.IS_VALID,r.IS_AUDIT,r.CFG_REGION_CODE,r.CFG_TYPE,r.FUNCTION_ID,
|
||||
r.ACTION,r.DO_LOG,r.IS_VALID,r.IS_AUDIT,r.CFG_REGION_CODE,r.CFG_TYPE,r.FUNCTION_ID,
|
||||
r.SERVICE_ID,r.COMPILE_ID,r.REQUEST_ID,r.CLASSIFY,r.ATTRIBUTE,r.LABLE,
|
||||
r.CREATOR_ID,r.CREATE_TIME,r.EDITOR_ID,r.EDIT_TIME,r.AUDITOR_ID,r.AUDIT_TIME,
|
||||
r.CANCEL_REQUEST_ID,r.IS_AREA_EFFECTIVE,r.AREA_EFFECTIVE_IDS,
|
||||
@@ -162,9 +163,6 @@
|
||||
<if test="isValid ==null">
|
||||
AND r.is_valid != -1
|
||||
</if>
|
||||
<if test="isAudit !=null">
|
||||
AND r.is_audit = #{isAudit,jdbcType=INTEGER}
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY r.cfg_id
|
||||
</select>
|
||||
@@ -176,6 +174,7 @@
|
||||
user_id,
|
||||
user_type,
|
||||
action,
|
||||
do_log,
|
||||
is_valid,
|
||||
is_audit,
|
||||
cfg_type,
|
||||
@@ -206,6 +205,7 @@
|
||||
#{userId,jdbcType=INTEGER},
|
||||
#{userType,jdbcType=VARCHAR},
|
||||
#{action,jdbcType=INTEGER},
|
||||
#{doLog,jdbcType=INTEGER},
|
||||
0,
|
||||
0,
|
||||
#{cfgType,jdbcType=VARCHAR},
|
||||
@@ -261,6 +261,9 @@
|
||||
<if test="userId != null" >
|
||||
user_id = #{userId,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="doLog != null" >
|
||||
do_log = #{doLog,jdbcType=INTEGER},
|
||||
</if>
|
||||
<if test="isValid != null" >
|
||||
is_valid = #{isValid,jdbcType=INTEGER},
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user