<?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.zfire.mall.manager.commonmapper.manage.material.MachineRecordMapper">

    <select id="v2ListPage"
            resultType="com.zfire.mall.manager.bean.manage.v2.material.MachineConfigureRecordVO">
        SELECT
            *
        FROM
            machine_configure_record a
        ${ex.query}
        AND a.del = 0
        <if test="ex.orderBy == null or ex.orderBy ==''">
            ORDER BY create_time DESC
        </if>
        ${ex.orderBy}
    </select>
</mapper>