From 72eaa4ad5daf6184a5fa989df09caeb607eac80e Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期六, 02 十一月 2024 12:47:29 +0800
Subject: [PATCH] 禁止一键排版
---
modules/mainPart/src/main/resources/mapper/TestScheme/TestSchemeDao.xml | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/modules/mainPart/src/main/resources/mapper/TestScheme/TestSchemeDao.xml b/modules/mainPart/src/main/resources/mapper/TestScheme/TestSchemeDao.xml
index cdf4c6e..f9df11e 100644
--- a/modules/mainPart/src/main/resources/mapper/TestScheme/TestSchemeDao.xml
+++ b/modules/mainPart/src/main/resources/mapper/TestScheme/TestSchemeDao.xml
@@ -2,6 +2,12 @@
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.zt.life.modules.mainPart.TestScheme.dao.TestSchemeDao">
+ <update id="insertNum">
+ update test_scheme
+ set num = num + 1
+ where is_delete = 0
+ and id = 10000
+ </update>
<select id="getList" resultType="com.zt.life.modules.mainPart.TestScheme.model.TestScheme">
select a.*
--
Gitblit v1.9.1