<?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.ruoyi.system.mapper.CustomMapper">
|
<update id="delCustomById">
|
update user set is_custom = 0
|
where id = #{id}
|
</update>
|
<select id="selectCustomPageList" resultType="com.ruoyi.common.core.domain.entity.Custom">
|
select * from custom
|
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
|
${ew.customSqlSegment}
|
</if>
|
</select>
|
</mapper>
|