Pu Zhibing
6 天以前 4c99ee7028c3fe58a2cd4b8273b22c75c45574fc
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/dao/mapping/TDriverMapper.xml
@@ -175,8 +175,11 @@
            <if test="phone != null and phone != ''">
                and o.phone  LIKE CONCAT('%',#{phone},'%')
            </if>
            <if test="name != null and name != ''">
                and o.lastName  LIKE CONCAT('%',#{name},'%') or o.firstName  LIKE CONCAT('%',#{name},'%')
            <if test="lastName != null and lastName != ''">
                and o.lastName  LIKE CONCAT('%',#{lastName},'%')
            </if>
            <if test="firstName != null and firstName != ''">
                and o.firstName  LIKE CONCAT('%',#{firstName},'%')
            </if>
            <if test="addType != null and addType != ''">
                and o.addType = #{addType}