liusheng
2 天以前 da026a34bcc97b2eb49607a3b02d94d8f683f997
smartor/src/main/resources/mapper/smartor/BaseTagMapper.xml
@@ -41,7 +41,7 @@
    <select id="selectBaseTagList" parameterType="com.smartor.domain.BaseTag" resultMap="BaseTagResult">
        <include refid="selectBaseTagVo"/>
        <where>
        where 1=1
            <if test="tagcategoryid != null ">and tagcategoryid = #{tagcategoryid}</if>
            <if test="tagname != null  and tagname != ''">and tagname like concat('%', #{tagname}, '%')</if>
            <if test="tagdescription != null  and tagdescription != ''">and tagdescription = #{tagdescription}</if>
@@ -49,11 +49,10 @@
            <if test="isupload != null ">and isupload = #{isupload}</if>
            <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
            <if test="isenable != null ">and isenable = #{isenable}</if>
        </where>
    </select>
    <select id="selectBaseTagListByTagname" parameterType="com.smartor.domain.BaseTag" resultMap="BaseTagResult">
        <include refid="selectBaseTagVo"/>
        <where>
        where 1=1
            <if test="tagcategoryid != null ">and tagcategoryid = #{tagcategoryid}</if>
            <if test="tagname != null  and tagname != ''">and tagname =#{tagname}</if>
            <if test="tagdescription != null  and tagdescription != ''">and tagdescription = #{tagdescription}</if>
@@ -61,7 +60,6 @@
            <if test="isupload != null ">and isupload = #{isupload}</if>
            <if test="uploadTime != null ">and upload_time = #{uploadTime}</if>
            <if test="isenable != null ">and isenable = #{isenable}</if>
        </where>
    </select>
    <select id="selectBaseTagByTagid" parameterType="Long" resultMap="BaseTagResult">