|
|
|
@ -25,11 +25,11 @@
|
|
|
|
|
<result column="serve_type" property="serveType"/> |
|
|
|
|
<result column="order_id" property="orderId"/> |
|
|
|
|
<result column="mall_name" property="mallName"/> |
|
|
|
|
<result column="goods_name" property="goodsName"/> |
|
|
|
|
<result column="description_goods" property="descriptionGoods"/> |
|
|
|
|
<result column="warehouse" property="warehouseName"/> |
|
|
|
|
<result column="warehousing_time" property="warehousingTime"/> |
|
|
|
|
<result column="warehouse_entry_time" property="warehouseEntryTime"/> |
|
|
|
|
<result column="lead_time" property="leadTime"/> |
|
|
|
|
<result column="duration_in_stock" property="durationInStock"/> |
|
|
|
|
<result column="store_time" property="storeTime"/> |
|
|
|
|
<result column="signed_number" property="signedNumber"/> |
|
|
|
|
<result column="is_kitting" property="isKitting"/> |
|
|
|
|
<result column="brand" property="brand"/> |
|
|
|
@ -44,14 +44,14 @@
|
|
|
|
|
ldsd.train_number trainNumber, |
|
|
|
|
ldsd.serve_type serveType, |
|
|
|
|
ldsd.order_id orderId, |
|
|
|
|
ldsd.order_self_numbering orderSelfNumbering, |
|
|
|
|
ldsd.mall_name mallName, |
|
|
|
|
ldsd.goods_name goodsName, |
|
|
|
|
ldsd.description_goods descriptionGoods, |
|
|
|
|
ldsd.warehouse warehouse, |
|
|
|
|
ldsd.warehousing_time warehousingTime, |
|
|
|
|
ldsd.warehouse_entry_time warehouseEntryTime, |
|
|
|
|
ldsd.lead_time leadTime, |
|
|
|
|
ldsd.duration_in_stock durationInStock, |
|
|
|
|
ldsd.orders_number ordersNumber, |
|
|
|
|
ldsd.is_kitting isKitting, |
|
|
|
|
ldsd.store_time storeTime, |
|
|
|
|
ldsd.complete_set completeSet, |
|
|
|
|
ldsd.brand brand, |
|
|
|
|
ldsd.signed_number signedNumber, |
|
|
|
|
ldsf.consignee_name consigneeName, |
|
|
|
@ -59,6 +59,7 @@
|
|
|
|
|
ldsf.signing_time signingTime, |
|
|
|
|
ldsf.sjsigning_time sjsigningTime, |
|
|
|
|
ldsf.delivery_phone deliveryPhone, |
|
|
|
|
ldsf.order_self_numbering orderSelfNumbering, |
|
|
|
|
ldsf.delivery_address deliveryAddress |
|
|
|
|
FROM |
|
|
|
|
logpm_distribution_signdetail ldsd |
|
|
|
@ -83,15 +84,12 @@
|
|
|
|
|
<if test="param.mallName!=null and param.mallName!=''"> |
|
|
|
|
and ldsd.mall_name like concat('%',#{param.mallName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.goodsName!=null and param.goodsName!=''"> |
|
|
|
|
and ldsd.goods_name like concat('%',#{param.goodsName},'%') |
|
|
|
|
<if test="param.descriptionGoods!=null and param.descriptionGoods!=''"> |
|
|
|
|
and ldsd.description_goods like concat('%',#{param.descriptionGoods},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehouseName!=null and param.warehouseName!=''"> |
|
|
|
|
and ldsf.warehouse_name like concat('%',#{param.warehouseName},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.durationInStock!=null and param.durationInStock!=''"> |
|
|
|
|
and ldsd.duration_in_stock like concat('%',#{param.durationInStock},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.deliveryAddress!=null and param.deliveryAddress!=''"> |
|
|
|
|
and ldsf.deliveryAddress like concat('%',#{param.deliveryAddress},'%') |
|
|
|
|
</if> |
|
|
|
@ -101,8 +99,8 @@
|
|
|
|
|
<if test="param.consigneePhone!=null and param.consigneePhone!=''"> |
|
|
|
|
and ldsd.consignee_phone like concat('%',#{param.consigneePhone},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.warehousingTime!=null and param.warehousingTime!=''"> |
|
|
|
|
and date_format(ldsd.warehousing_time,'%y%m%d%') = date_format(#{param.warehousingTime},'%y%m%d%') |
|
|
|
|
<if test="param.warehouseEntryTime!=null and param.warehouseEntryTime!=''"> |
|
|
|
|
and date_format(ldsd.warehouse_entry_time,'%y%m%d%') = date_format(#{param.warehouseEntryTime},'%y%m%d%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.signingTime!=null and param.signingTime!=''"> |
|
|
|
|
and date_format(ldsf.signing_time,'%y%m%d%') = date_format(#{param.signingTime},'%y%m%d%') |
|
|
|
@ -113,12 +111,6 @@
|
|
|
|
|
<if test="param.leadTime!=null and param.leadTime!=''"> |
|
|
|
|
and date_format(ldsd.lead_time,'%y%m%d%') = date_format(#{param.leadTime},'%y%m%d%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.sjsigningTime!=null and param.sjsigningTime!=''"> |
|
|
|
|
and date_format(ldsd.sjsigning_time,'%y%m%d%') = date_format(#{param.sjsigningTime},'%y%m%d%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.createTime_query!=null and param.createTime_query!=''"> |
|
|
|
|
and date_format(ldsd.create_time,'%y%m%d%') = date_format(#{param.createTime_query},'%y%m%d%') |
|
|
|
|
</if> |
|
|
|
|
</where> |
|
|
|
|
order by ldsd.create_time desc |
|
|
|
|
</select> |
|
|
|
|