1、配置操作tag增加修改操作;2、音视频文件样例配置列表、表单界面、新增、修改功能涉及到functionService与functionRegion字典使用部分提交。
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<result column="function_id" property="functionId" jdbcType="INTEGER" />
|
||||
<result column="protocol_id" property="protocolId" jdbcType="INTEGER" />
|
||||
<result column="action" property="action" jdbcType="INTEGER" />
|
||||
<result column="action_code" property="actionCode" jdbcType="VARCHAR" />
|
||||
<result column="service_id" property="serviceId" jdbcType="INTEGER" />
|
||||
<result column="service_name" property="serviceName" jdbcType="VARCHAR" />
|
||||
<result column="service_desc" property="serviceDesc" jdbcType="VARCHAR" />
|
||||
@@ -13,13 +14,16 @@
|
||||
</resultMap>
|
||||
|
||||
<sql id="Base_Column_List" >
|
||||
dict_id, function_id, protocol_id, action, service_id, service_name,service_desc,is_valid
|
||||
dict_id, function_id, protocol_id, action,action_code, service_id, service_name,service_desc,is_valid
|
||||
</sql>
|
||||
<select id="getListByFunctionId" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
||||
<select id="getList" resultMap="BaseResultMap" >
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from function_service_dict
|
||||
where function_id = #{functionId,jdbcType=INTEGER} and is_valid=1
|
||||
where is_valid=1
|
||||
<if test="functionId != null">
|
||||
AND function_id = #{functionId,jdbcType=INTEGER}
|
||||
</if>
|
||||
<if test="protocolId != null">
|
||||
AND (protocol_id=#{protocolId,jdbcType=INTEGER} or protocol_id=0)
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user