增加配置批量审核不通过和删除操作
除高级功能菜单下配置
This commit is contained in:
@@ -41,4 +41,8 @@ public interface CommonPolicyDao {
|
||||
public List<CachePolicyUserRegion> getCachePolicyUserRegionList(CachePolicyUserRegion entity);
|
||||
|
||||
public List<CachePolicyUserRegion> getCachePolicyByUserRegionList(@Param("ids")String ids);
|
||||
|
||||
public void deleteCfgBatch(@Param("tableName")String tableName,
|
||||
@Param("entity")BaseCfg entity,
|
||||
@Param("compileIds")List compileIds);
|
||||
}
|
||||
|
||||
@@ -1013,5 +1013,17 @@
|
||||
where a.CFG_ID in (${ids})
|
||||
</select>
|
||||
|
||||
<update id="deleteCfgBatch">
|
||||
UPDATE ${tableName}
|
||||
SET is_valid =-1,is_audit=0,
|
||||
editor_id = #{entity.editorId,jdbcType=INTEGER},
|
||||
edit_time = #{entity.editTime,jdbcType=TIMESTAMP}
|
||||
<where>
|
||||
AND compile_id IN
|
||||
<foreach collection="compileIds" index="index" item="compileId" open="(" separator="," close=")">
|
||||
#{compileId}
|
||||
</foreach>
|
||||
</where>
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user