Browse Source

feat(all): 配送明细报表

1 整体优化配送明细报表广播消息
fix-sign
zhaoqiaobo 4 months ago
parent
commit
b68aecb9f3
  1. 4
      blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/mapper/ExpenseDispatchTrainDetailMapper.xml

4
blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/mapper/ExpenseDispatchTrainDetailMapper.xml

@ -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 &lt;= #{expenseDispatchTrainDetail.deliveryDateStart}
and delivery_date &lt;= #{expenseDispatchTrainDetail.deliveryDateEnd}
</if>
<if test="expenseDispatchTrainDetail.distributionType != null and expenseDispatchTrainDetail.distributionType != ''">
and distribution_type = #{expenseDispatchTrainDetail.distributionType}

Loading…
Cancel
Save