Commit bdc9f912 by yubin

修bug

parent 379826e3
......@@ -99,16 +99,15 @@
<if test="sortNo != null "> and sl.sort_no = #{sortNo}</if>
<if test="createUserCode != null and createUserCode != ''"> and sl.create_user_code = #{createUserCode}</if>
<if test="updateUserCode != null and updateUserCode != ''"> and sl.update_user_code = #{updateUserCode}</if>
<!-- 新增字段查询条件 -->
<if test="putawayOrder != null "> and sl.putaway_order = #{putawayOrder}</if>
<if test="pickingOrder != null "> and sl.picking_order = #{pickingOrder}</if>
<if test="LocationUsage != null and LocationUsage != ''"> and sl.location_usage = #{LocationUsage}</if>
<if test="locationHandling != null and locationHandling != ''"> and sl.location_handling = #{locationHandling}</if>
<if test="turnoverDemand != null and turnoverDemand != ''"> and sl.turnover_demand = #{turnoverDemand}</if>
<if test="pickingArea != null and pickingArea != ''"> and sl.picking_area = #{pickingArea}</if>
<if test="warehousesId != null and warehousesId != ''"> and sl.warehouses_id = #{warehousesId}</if>
<if test="allowMixedProducts != null "> and sl.allow_mixed_products = #{allowMixedProducts}</if>
<if test="allowMixedBatches != null "> and sl.allow_mixed_batches = #{allowMixedBatches}</if>
<!-- 按sort_no降序排序 -->
order by sl.sort_no desc
</select>
......@@ -122,7 +121,8 @@
<if test="zoneCode != null and zoneCode != ''"> and sl.zone_code = #{zoneCode}</if>
<if test="warehousesName != null and warehousesName != ''"> and w.warehouses_name like concat('%', #{warehousesName}, '%')</if>
<if test="warehousesManager != null and warehousesManager != ''"> and w.warehouses_manager = #{warehousesManager}</if>
<!-- 新增字段查询条件 -->
<if test="warehousesId != null and warehousesId != ''"> and sl.warehouses_id = #{warehousesId}</if>
<if test="putawayOrder != null "> and sl.putaway_order = #{putawayOrder}</if>
<if test="pickingOrder != null "> and sl.picking_order = #{pickingOrder}</if>
<if test="LocationUsage != null and LocationUsage != ''"> and sl.location_usage = #{LocationUsage}</if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论