فهرست منبع

[update] 查询上次盘点时间逻辑修改

miajio 5 روز پیش
والد
کامیت
60ac648053
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      warehouse-admin-data/src/main/resources/mapper/driver/DriverGoodsLossIntervalMainMapper.xml

+ 1 - 1
warehouse-admin-data/src/main/resources/mapper/driver/DriverGoodsLossIntervalMainMapper.xml

@@ -90,7 +90,7 @@
                                                         operatorId = #{operatorId}
                                                       and warehouseId = #{warehouseId}
                                                       and stockTakingType = 'REGULAR'
-                                                    and #{intervalStartDate} >= intervalEndTime
+                                                    and concat(#{intervalStartDate}, ' 03:59:59') = intervalEndTime
         order by id desc limit 1
     </select>