From b311c61c729f02db40dfa51dbfe81892112535b1 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 23 十月 2024 09:57:04 +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