批量审核通过,修改lastPageBUG,暂时注释app IP的批量下发,需再考虑实现;

findAllListByGroupIno修改为findAllListByGroupInfo;
delRow无变更;
This commit is contained in:
intraUser
2019-01-04 20:24:26 +06:00
parent 7751f12f87
commit e7f8701166
3 changed files with 148 additions and 119 deletions

View File

@@ -22,7 +22,7 @@
from config_group_info
where group_type =#{groupType}
</select>
<select id="findAllListByGroupIno" resultMap="configGroupInfoMap">
<select id="findAllListByGroupInfo" resultMap="configGroupInfoMap">
select
<include refid="columns"></include>
from config_group_info
@@ -70,6 +70,10 @@
select id,group_id,group_name,is_issued,insert_time,update_time,group_type,compile_id,asn_id
from config_group_info where group_id= #{groupId}
</select>
<select id="getAsnGroupByName" resultType="com.nis.domain.specific.ConfigGroupInfo" parameterType="java.lang.String">
select id,group_id,group_name,is_issued,insert_time,update_time,group_type,compile_id,asn_id
from config_group_info where group_type=4 and group_name= #{groupName}
</select>
<!-- <select id="findPolicyGroupInfosByType" resultType="com.nis.domain.specific.ConfigGroupInfo" parameterType="java.lang.Integer">
select id,group_id,group_name,is_issued,insert_time,update_time,group_type,compile_id,asn_id
from config_group_info c where c.group_type= #{groupType}
@@ -80,4 +84,7 @@
<select id="getCountByType" resultType="java.lang.Long" parameterType="java.lang.Integer">
select count(1) from config_group_info c where c.group_type=${groupType}
</select>
<delete id="delAsnGroup" parameterType="java.lang.String">
delete from config_group_info where group_name=#{groupName} and group_type=4
</delete>
</mapper>