From 22a51a35a7367bc5569ea075afe0b7f1c438b529 Mon Sep 17 00:00:00 2001 From: tzsk <Administrator@qq.com> Date: 星期二, 20 二月 2024 11:10:23 +0800 Subject: [PATCH] Merge branch 'tzskasrs-2' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-2 --- 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