@ -29,11 +29,11 @@ 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 = #{salesman1}</if>
<iftest="salesman2 != null and salesman2 != ''"> and salesman2 = #{salesman2}</if>
<iftest="salesman3 != null and salesman3 != ''"> and salesman3 = #{salesman3}</if>
<iftest="manage != null and manage != ''"> and manage = #{manage}</if>
<iftest="manager != null and manager != ''"> and manager = #{manager}</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>
@ -40,6 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<iftest="finishProductCode != null and finishProductCode != ''"> and finish_product_code like concat('%', #{finishProductCode}, '%')</if>
<iftest="finishProductName != null and finishProductName != ''"> and finish_product_name like concat('%', #{finishProductName}, '%')</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>
@ -71,6 +77,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
@ -38,6 +42,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<iftest="exportSales != null and exportSales != ''"> and export_sales = #{exportSales}</if>
<iftest="deliveryGoodsFlag != null and deliveryGoodsFlag != ''"> and delivery_goods_flag = #{deliveryGoodsFlag}</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>
@ -64,7 +69,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="types != null and types != ''"> and types = #{types}</if>
<iftest="productItem != null and productItem != ''"> and productItem = #{productItem}</if>
<iftest="updateTime != null "> and updateTime = #{updateTime}</if>
<iftest="functions != null and functions != ''"> and functions = #{functions}</if>
<iftest="dianqi != null and dianqi != ''"> and dianqi = #{dianqi}</if>
<iftest="struct != null and struct != ''"> and struct = #{struct}</if>
<iftest="soft != null and soft != ''"> and soft = #{soft}</if>
<iftest="test != null and test != ''"> and test = #{test}</if>
<iftest="zhuguan1 != null and zhuguan1 != ''"> and zhuguan1 = #{zhuguan1}</if>
<iftest="zhuguan2 != null and zhuguan2 != ''"> and zhuguan2 = #{zhuguan2}</if>
<iftest="manger != null and manger != ''"> and manger = #{manger}</if>
<iftest="director != null and director != ''"> and director = #{director}</if>
<iftest="productItemId != null and productItemId != ''"> and product_item_id concat('%',#{productItemId}, '%') </if>
<iftest="productItem != null and productItem != ''"> and productItem like concat('%',#{productItem}, '%') </if>
<iftest="dianqi != null and dianqi != ''"> and dianqi concat('%',#{dianqi}, '%') </if>
<iftest="struct != null and struct != ''"> and struct concat('%',#{struct}, '%')}</if>
<iftest="soft != null and soft != ''"> and soft like concat('%', #{soft}, '%') </if>
<iftest="test != null and test != ''"> and testlike concat('%', #{test}, '%')</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>