|
|
|
@ -17,18 +17,22 @@
|
|
|
|
|
AND isShow = #{isShow}
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
order by lineNumber asc,number desc
|
|
|
|
|
order by lineNumber asc, number desc
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertSysCustomConfigDetail" keyProperty="id"
|
|
|
|
|
parameterType="com.glxp.api.entity.auth.SysCustomConfigDetailEntity">
|
|
|
|
|
INSERT INTO sys_custom_config_detail
|
|
|
|
|
(id,configId,type,isShow, columnName,columnDesc,columnType,colorRule,sort,lableRule,width,tooltip,buttonRule,number,
|
|
|
|
|
clickFuc,disabledFuc,expression,size,style,disabled,checkRules,inputType,lineNumber,dataFuc,isShowXx)
|
|
|
|
|
values (#{id},#{configId},#{type},#{isShow}, #{columnName},#{columnDesc},#{columnType},#{colorRule},#{sort},
|
|
|
|
|
#{lableRule},#{width},#{tooltip},#{buttonRule},#{number},#{clickFuc},#{disabledFuc},#{expression},#{size},#{style},
|
|
|
|
|
#{disabled}, #{checkRules}, #{inputType}, #{lineNumber}, #{dataFuc},#{isShowXx})
|
|
|
|
|
(id, configId, type, isShow, columnName, columnDesc, columnType, colorRule, sort, lableRule, width, tooltip,
|
|
|
|
|
buttonRule, number,
|
|
|
|
|
clickFuc, disabledFuc, expression, size, style, disabled, checkRules, inputType, lineNumber, dataFuc, isShowXx,
|
|
|
|
|
isImport)
|
|
|
|
|
values (#{id}, #{configId}, #{type}, #{isShow}, #{columnName}, #{columnDesc}, #{columnType}, #{colorRule},
|
|
|
|
|
#{sort},
|
|
|
|
|
#{lableRule}, #{width}, #{tooltip}, #{buttonRule}, #{number}, #{clickFuc}, #{disabledFuc},
|
|
|
|
|
#{expression}, #{size}, #{style},
|
|
|
|
|
#{disabled}, #{checkRules}, #{inputType}, #{lineNumber}, #{dataFuc}, #{isShowXx}, #{isImport})
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
<update id="updateSysCustomConfigDetail" parameterType="com.glxp.api.entity.auth.SysCustomConfigDetailEntity">
|
|
|
|
@ -106,6 +110,9 @@
|
|
|
|
|
<if test="isShowXx != null">
|
|
|
|
|
isShowXx=#{isShowXx},
|
|
|
|
|
</if>
|
|
|
|
|
<if test="isImport != null">
|
|
|
|
|
isImport=#{isImport},
|
|
|
|
|
</if>
|
|
|
|
|
</set>
|
|
|
|
|
WHERE id = #{id}
|
|
|
|
|
</update>
|
|
|
|
@ -127,7 +134,7 @@
|
|
|
|
|
SELECT *
|
|
|
|
|
FROM sys_custom_config_detail
|
|
|
|
|
WHERE (
|
|
|
|
|
id = #{id})
|
|
|
|
|
id = #{id})
|
|
|
|
|
limit 1
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|
|
|
|
|