You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
846 B
XML
27 lines
846 B
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
|
|
|
<mapper namespace="com.glxp.api.dao.system.ThirdSysApiDao">
|
|
|
|
|
|
<select id="findSysApi" parameterType="com.glxp.api.req.system.FilterSysApiRequest"
|
|
resultType="com.glxp.api.entity.system.ThirdSysApiEntity">
|
|
SELECT * FROM sys_thirdsys_api
|
|
<where>
|
|
<if test="type != '' and type != null">
|
|
AND type = #{type}
|
|
</if>
|
|
</where>
|
|
</select>
|
|
|
|
<update id="modifySysApi" parameterType="com.glxp.api.entity.system.ThirdSysApiEntity">
|
|
UPDATE sys_thirdsys_api SET
|
|
name = #{name},
|
|
apiUrl = #{apiUrl},
|
|
guideUrl = #{guideUrl},
|
|
remark = #{remark}
|
|
where id = #{id}
|
|
</update>
|
|
|
|
|
|
</mapper> |