From f6b61a485501f326debe52d77ea65d87fb34b37f Mon Sep 17 00:00:00 2001
From: 田源 <tianyuan@vci-tech.com>
Date: 星期三, 05 三月 2025 17:57:09 +0800
Subject: [PATCH] 完善集成日志查询

---
 Source/BladeX-Tool/blade-starter-mybatis/src/main/java/org/springblade/core/mp/mapper/BladeMapper.java |   53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 53 insertions(+), 0 deletions(-)

diff --git a/Source/BladeX-Tool/blade-starter-mybatis/src/main/java/org/springblade/core/mp/mapper/BladeMapper.java b/Source/BladeX-Tool/blade-starter-mybatis/src/main/java/org/springblade/core/mp/mapper/BladeMapper.java
new file mode 100644
index 0000000..580042b
--- /dev/null
+++ b/Source/BladeX-Tool/blade-starter-mybatis/src/main/java/org/springblade/core/mp/mapper/BladeMapper.java
@@ -0,0 +1,53 @@
+/*
+ *      Copyright (c) 2018-2028, DreamLu All rights reserved.
+ *
+ *  Redistribution and use in source and binary forms, with or without
+ *  modification, are permitted provided that the following conditions are met:
+ *
+ *  Redistributions of source code must retain the above copyright notice,
+ *  this list of conditions and the following disclaimer.
+ *  Redistributions in binary form must reproduce the above copyright
+ *  notice, this list of conditions and the following disclaimer in the
+ *  documentation and/or other materials provided with the distribution.
+ *  Neither the name of the dreamlu.net developer nor the names of its
+ *  contributors may be used to endorse or promote products derived from
+ *  this software without specific prior written permission.
+ *  Author: DreamLu 鍗㈡槬姊� (596392912@qq.com)
+ */
+package org.springblade.core.mp.mapper;
+
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+
+import java.util.List;
+
+/**
+ * 鑷畾涔夌殑 Mapper
+ *
+ * @author L.cm
+ */
+public interface BladeMapper<T> extends BaseMapper<T> {
+
+	/**
+	 * 鎻掑叆濡傛灉涓凡缁忓瓨鍦ㄧ浉鍚岀殑璁板綍锛屽垯蹇界暐褰撳墠鏂版暟鎹�
+	 *
+	 * @param entity 瀹炰綋瀵硅薄
+	 * @return 鏇存敼鐨勬潯鏁�
+	 */
+	int insertIgnore(T entity);
+
+	/**
+	 * 琛ㄧず鎻掑叆鏇挎崲鏁版嵁锛岄渶姹傝〃涓湁PrimaryKey锛屾垨鑰卽nique绱㈠紩锛屽鏋滄暟鎹簱宸茬粡瀛樺湪鏁版嵁锛屽垯鐢ㄦ柊鏁版嵁鏇挎崲锛屽鏋滄病鏈夋暟鎹晥鏋滃垯鍜宨nsert into涓�鏍凤紱
+	 *
+	 * @param entity 瀹炰綋瀵硅薄
+	 * @return 鏇存敼鐨勬潯鏁�
+	 */
+	int replace(T entity);
+
+	/**
+	 * 鎻掑叆锛堟壒閲忥級
+	 *
+	 * @param entityList 瀹炰綋瀵硅薄闆嗗悎
+	 * @return 鎴愬姛琛屾暟
+	 */
+	int insertBatchSomeColumn(List<T> entityList);
+}

--
Gitblit v1.9.3