diff --git a/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/mapper/ExpenseDispatchTrainDetailMapper.xml b/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/mapper/ExpenseDispatchTrainDetailMapper.xml index f1a55124a..ead0723a1 100644 --- a/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/mapper/ExpenseDispatchTrainDetailMapper.xml +++ b/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/mapper/ExpenseDispatchTrainDetailMapper.xml @@ -23,13 +23,13 @@ and settlement_month = #{expenseDispatchTrainDetail.settlementMonth} - and train_number like concat('%',#{expenseDispatchTrainDetail.settlementMonth},'%') + and train_number like concat('%',#{expenseDispatchTrainDetail.trainNumber},'%') and delivery_date >= #{expenseDispatchTrainDetail.deliveryDateStart} - and delivery_date <= #{expenseDispatchTrainDetail.deliveryDateStart} + and delivery_date <= #{expenseDispatchTrainDetail.deliveryDateEnd} and distribution_type = #{expenseDispatchTrainDetail.distributionType}