|
|
|
@ -23,13 +23,13 @@
|
|
|
|
|
and settlement_month = #{expenseDispatchTrainDetail.settlementMonth} |
|
|
|
|
</if> |
|
|
|
|
<if test="expenseDispatchTrainDetail.trainNumber != null and expenseDispatchTrainDetail.trainNumber != ''"> |
|
|
|
|
and train_number like concat('%',#{expenseDispatchTrainDetail.settlementMonth},'%') |
|
|
|
|
and train_number like concat('%',#{expenseDispatchTrainDetail.trainNumber},'%') |
|
|
|
|
</if> |
|
|
|
|
<if test="expenseDispatchTrainDetail.deliveryDateStart != null and expenseDispatchTrainDetail.deliveryDateStart != ''"> |
|
|
|
|
and delivery_date >= #{expenseDispatchTrainDetail.deliveryDateStart} |
|
|
|
|
</if> |
|
|
|
|
<if test="expenseDispatchTrainDetail.deliveryDateEnd != null and expenseDispatchTrainDetail.deliveryDateEnd != ''"> |
|
|
|
|
and delivery_date <= #{expenseDispatchTrainDetail.deliveryDateStart} |
|
|
|
|
and delivery_date <= #{expenseDispatchTrainDetail.deliveryDateEnd} |
|
|
|
|
</if> |
|
|
|
|
<if test="expenseDispatchTrainDetail.distributionType != null and expenseDispatchTrainDetail.distributionType != ''"> |
|
|
|
|
and distribution_type = #{expenseDispatchTrainDetail.distributionType} |
|
|
|
|