@ -29,12 +40,21 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
<iftest="utbId != null and utbId != ''"> and utbId = #{utbId}</if>
<iftest="utbName != null and utbName != ''"> and utbName like concat('%', #{utbName}, '%')</if>
<iftest="salesman1 != null and salesman1 != ''"> and salesman1 like concat('%', #{salesman1}, '%') </if>
<iftest="salesman2 != null and salesman2 != ''"> and salesman2 like concat('%', #{salesman2}, '%') </if>
<iftest="salesman3 != null and salesman3 != ''"> and salesman3 like concat('%',#{salesman3}, '%') </if>
<iftest="manage != null and manage != ''"> and manage like concat('%', #{manage}, '%') </if>
<iftest="manager != null and manager != ''"> and manager like concat('%', #{manager}, '%') </if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
<iftest="salesman != null and salesman != ''"> or salesman1 like concat('%', #{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman2 like concat('%', #{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman3 like concat('%',#{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman4 like concat('%', #{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman5 like concat('%', #{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman6 like concat('%', #{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman7 like concat('%', #{salesman}, '%') </if>
<iftest="salesman != null and salesman != ''"> or salesman8 like concat('%', #{salesman}, '%') </if>
<iftest="serverPeople != null and serverPeople != ''"> and server_people1 like concat('%', #{serverPeople}, '%') </if>
<iftest="serverPeople != null and serverPeople != ''"> or server_people2 like concat('%', #{serverPeople}, '%') </if>
<iftest="serverPeople != null and serverPeople != ''"> or server_people3 like concat('%', #{serverPeople}, '%') </if>
<iftest="serverPeople != null and serverPeople != ''"> or server_people4 like concat('%', #{serverPeople}, '%') </if>
<iftest="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''">
and create_time between #{params.beginCreateTime} and #{params.endCreateTime}
</if>
</where>
</select>
@ -52,6 +72,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"