<?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.mustang.mapper.SpecilMapper"> <resultMap id="myMap" type="com.mustang.po.Specil"> <id property="sid" column="spilinfoid"/> <result property="did" column="depinfoid"/> <result property="sCode" column="spilinfocode"/> <result property="sName" column="spilinfoname"/> <result property="sAim" column="spilinfoaim"/> <result property="sProdire" column="spilinfoprodire"/> </resultMap> <select id="queryLikeAndPageAndSort" parameterType="java.util.Map" resultMap="myMap" > SELECT * from specilinfo where spilinfoname like concat('%',#{value},'%') ORDER BY spilinfoid DESC limit #{start},#{pageSize} </select> </mapper>
<select id="queryLikeAndPageAndSort" parameterType="java.util.Map" resultMap="myMap" > SELECT * from specilinfo where spilinfoname like concat('%',#{value},'%') ORDER BY spilinfoid DESC limit #{start},#{pageSize} </select>
繁花不似锦
LEATH
相关分类