用户管理-用户类型vpn调整

vpn服务器ip添加业务字典数据类型
ip校验、cgi服务国际化添加
This commit is contained in:
leijun
2018-12-05 10:03:45 +08:00
parent 53555aa73a
commit dd1862abce
14 changed files with 123 additions and 62 deletions

View File

@@ -79,7 +79,7 @@ public interface ServiceDictInfoDao extends CrudDao<ServiceDictInfo> {
void auditCancleRequestInfo(@Param("cancelRequestId")Integer cancelRequestId, @Param("indexTable")String indexTable,@Param("id") String id);
Integer requestCancleInfoNumber(@Param("indexTable")String indexTable,@Param("id")Long id);
ServiceDictInfo getByItemValue(@Param("itemValue")String itemValue,@Param("itemType")Integer itemType);

View File

@@ -313,5 +313,13 @@
<select id="requestCancleInfoNumber" resultType="Integer">
select cancel_request_id cancelRequestId from ${indexTable} where cfg_id = #{id}
</select>
<select id="getByItemValue" resultType="com.nis.domain.basics.ServiceDictInfo">
select
<include refid="serviceDictInfoColumns"/>
from
service_dict_info s
where
s.is_valid = 1 AND s.item_value = #{itemValue}
AND s.item_type = #{itemType}
</select>
</mapper>