From b25fc15afed603c0c874e77d37bf93f08d5398c9 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期四, 13 二月 2025 12:18:34 +0800 Subject: [PATCH] 兼容四期 --- src/main/java/com/zy/asrs/mapper/InventoryVarianceMapper.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/InventoryVarianceMapper.java b/src/main/java/com/zy/asrs/mapper/InventoryVarianceMapper.java index 298dd11..e46be39 100644 --- a/src/main/java/com/zy/asrs/mapper/InventoryVarianceMapper.java +++ b/src/main/java/com/zy/asrs/mapper/InventoryVarianceMapper.java @@ -2,10 +2,13 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.InventoryVariance; +import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; @Mapper @Repository public interface InventoryVarianceMapper extends BaseMapper<InventoryVariance> { + @Delete("DELETE FROM inventory_variance") + public void deleteAll(); } -- Gitblit v1.9.1