src/main/java/org/springblade/modules/stock/mapper/StockMapper.xml
@@ -220,7 +220,7 @@ <if test="startTime!=null and startTime!=''"> and time1 >= #{stock.startTime} </if> <if test="stock.endTime!=null and stock.endTime!=''"> <if test="endTime!=null and endTime!=''"> and time1 <= #{stock.endTime} </if> GROUP BY stock_id1) lyc ON lyc.stock_id1 = a.id