asn ip修改时修改compileId
This commit is contained in:
@@ -515,6 +515,9 @@
|
|||||||
<if test="userRegion1 != null and userRegion1 != ''" >
|
<if test="userRegion1 != null and userRegion1 != ''" >
|
||||||
user_region1 = #{userRegion1,jdbcType=VARCHAR},
|
user_region1 = #{userRegion1,jdbcType=VARCHAR},
|
||||||
</if>
|
</if>
|
||||||
|
<if test="compileId != null and compileId != ''" >
|
||||||
|
compile_id = #{compileId,jdbcType=INTEGER},
|
||||||
|
</if>
|
||||||
</trim>
|
</trim>
|
||||||
</set>
|
</set>
|
||||||
<where>
|
<where>
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ public class AsnIpCfgService extends CrudService<CrudDao<AsnIpCfg>, AsnIpCfg> {
|
|||||||
entity.setOrganization(org);
|
entity.setOrganization(org);
|
||||||
entity.setCountry(country);
|
entity.setCountry(country);
|
||||||
entity.setDetail(detail);
|
entity.setDetail(detail);
|
||||||
|
entity.setCompileId(groupInfo.getCompileId());
|
||||||
asnIpCfgDao.update(entity);
|
asnIpCfgDao.update(entity);
|
||||||
}
|
}
|
||||||
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
|
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ $(function(){
|
|||||||
<input type="hidden" name="id" value="${_cfg.id}">
|
<input type="hidden" name="id" value="${_cfg.id}">
|
||||||
<input type="hidden" name="groupId" value="${_cfg.groupId}">
|
<input type="hidden" name="groupId" value="${_cfg.groupId}">
|
||||||
<input type="hidden" name="isValid" value="${_cfg.isValid}">
|
<input type="hidden" name="isValid" value="${_cfg.isValid}">
|
||||||
|
<input type="hidden" name="compileId" value="${_cfg.compileId}">
|
||||||
<div class="form-body">
|
<div class="form-body">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
|
|||||||
Reference in New Issue
Block a user