zhibing.pu
2024-07-25 01d8de48c76467ff3b99b204e66d3ef86506fa52
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TServerCarmodelMapper.xml
@@ -21,13 +21,13 @@
    <select id="getServerCarModelList" resultType="map" parameterType="com.baomidou.mybatisplus.plugins.Page">
        SELECT * FROM t_server_carmodel as o
        <where>
            o.type = #{type} and not FIND_IN_SET(o.state,'3')
            <if test="name != null and name != ''">
                and o.name LIKE CONCAT('%',#{name},'%')
            </if>
            <if test="state != null and state != ''">
                and o.state = #{state}
            </if>
                 and (o.type =1 or o.type =4)
        </where>
        order by o.id desc
    </select>