From de1a78dd2f4cfdb6663a1134083dd74f750faae5 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期一, 27 五月 2024 14:59:20 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/phyzasrs' into phyzasrs --- 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