|
|
|
@ -318,7 +318,6 @@
|
|
|
|
|
|
|
|
|
|
<select id="exportDistributionDeliveryList" resultType="com.logpm.distribution.excel.DistributionDeliveryListExcel"> |
|
|
|
|
SELECT |
|
|
|
|
lddl.id id, |
|
|
|
|
lww.NAME AS warehouseName, |
|
|
|
|
lddl.train_number trainNumber, |
|
|
|
|
lddl.warehouse_name warehouseName, |
|
|
|
@ -578,7 +577,7 @@
|
|
|
|
|
and date_format(lddl.task_time,'%y%m%d%') = date_format(#{param.taskTime},'%y%m%d%') |
|
|
|
|
</if> |
|
|
|
|
<if test="param.taskTimeStart!=null and param.taskTimeStart!=''"> |
|
|
|
|
and date_format(lddl.task_time,'%y%m%d%') BETWEEN #{param.taskTimeStart} AND #{param.taskTimeEnd} |
|
|
|
|
and date_format(lddl.task_time,'%y%m%d%') BETWEEN date_format(#{param.taskTimeStart},'%y%m%d%') AND date_format(#{param.taskTimeEnd},'%y%m%d%') |
|
|
|
|
</if> |
|
|
|
|
</where> |
|
|
|
|
GROUP BY lddl.id , |
|
|
|
|