diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/InspectGoodsMapper.xml b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/InspectGoodsMapper.xml index 087e92e..8e36f77 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/InspectGoodsMapper.xml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/mapper/ims/InspectGoodsMapper.xml @@ -187,11 +187,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" JOIN ims_into_inventory b ON b.relate_order_goods_id = a.relate_order_goods_id WHERE a.`status` = #{status} AND a.delivery_supplier_id = #{supplierId} - AND DATE_FORMAT(a.inspect_date, "%Y-%m-%d") = ]]> #{startTime} - AND DATE_FORMAT(a.inspect_date, "%Y-%m-%d") #{endTime} + AND DATE_FORMAT(a.inspect_date, '%Y-%m-%d') = ]]> #{startTime} + AND DATE_FORMAT(a.inspect_date, '%Y-%m-%d') #{endTime} AND a.relate_order_goods_id IS NOT NULL - AND DATE_FORMAT(a.inspect_date, "%Y-%m-%d") a.delivery_date + AND DATE_FORMAT(a.inspect_date, '%Y-%m-%d') a.delivery_date