LEFT JOIN logpm_basicdata_shop lbs on lbs.id = lbss.shop_id
LEFT JOIN logpm_basicdata_store_contact lbsc on lbsc.id = lbss.forwarding_unit
@ -19,6 +19,7 @@
lbss.is_deleted = 0
<iftest="param.shopId != null and param.shopId != null"> and lbs.store_name like concat('%',#{param.shopId},'%') </if>
<iftest="param.shopIds != null and param.shopIds != null"> and lbss.shop_id = #{param.shopIds} </if>
<iftest="param.distinguish != null and param.distinguish != null"> and lbss.distinguish = #{param.distinguish} </if>
<iftest="param.forwardingUnit != null and param.forwardingUnit != null"> and lbsc.linkman like concat('%',#{param.forwardingUnit} ,'%') </if>
<iftest="param.warehouseService != null and param.warehouseService != null"> and lbss.warehouse_service like concat('%',#{param.warehouseService},'%') </if>