|
|
@ -32,10 +32,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectSysParamConfigByObjId" parameterType="Long" resultMap="SysParamConfigResult">
|
|
|
|
<select id="selectSysParamConfigByObjId" parameterType="Long" resultMap="SysParamConfigResult">
|
|
|
|
<include refid="selectSysParamConfigVo"/>
|
|
|
|
<include refid="selectSysParamConfigVo"/>
|
|
|
|
where ObjId = #{ObjId}
|
|
|
|
where ObjId = #{objId}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertSysParamConfig" parameterType="SysParamConfig" useGeneratedKeys="true" keyProperty="ObjId">
|
|
|
|
<insert id="insertSysParamConfig" parameterType="SysParamConfig" useGeneratedKeys="true" keyProperty="objId">
|
|
|
|
insert into sys_param_config
|
|
|
|
insert into sys_param_config
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="paramType != null">Param_Type,</if>
|
|
|
|
<if test="paramType != null">Param_Type,</if>
|
|
|
@ -79,9 +79,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|
<delete id="deleteSysParamConfigByObjIds" parameterType="String">
|
|
|
|
<delete id="deleteSysParamConfigByObjIds" parameterType="String">
|
|
|
|
delete from sys_param_config where ObjId in
|
|
|
|
delete from sys_param_config where ObjId in
|
|
|
|
<foreach item="ObjId" collection="array" open="(" separator="," close=")">
|
|
|
|
<foreach item="objId" collection="array" open="(" separator="," close=")">
|
|
|
|
#{ObjId}
|
|
|
|
#{objId}
|
|
|
|
</foreach>
|
|
|
|
</foreach>
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
|
|
|
|
|
|
|
|