From bf2b671b3f8eeb422c0b2b3cc81899fcdf270206 Mon Sep 17 00:00:00 2001
From: bingbo <bingbo1993@126.com>
Date: 星期日, 26 十一月 2023 14:14:32 +0800
Subject: [PATCH] 加减钢筋笼库存 带记录
---
hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml b/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml
index a874634..2aa8cb2 100644
--- a/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml
+++ b/hd/pipe/screen/src/main/resources/mapping/BigScreenMapper.xml
@@ -207,5 +207,35 @@
) x on x.`month` = DATE_FORMAT(m.`month`,'%Y-%m')
</select>
+ <insert id="insertAudioGroup">
+ INSERT INTO t_audio_group
+ <trim suffix=")" prefix="(" suffixOverrides=",">
+ <if test="id != null and id !=null">
+ id,
+ </if>
+ <if test="groupId != null">
+ group_id,
+ </if>
+ <if test="groupName != null and groupName !=null">
+ group_name,
+ </if>
+ </trim>
+ <trim suffix=")" prefix=" values(" suffixOverrides=",">
+ <if test="id != null and id !=null">
+ #{id},
+ </if>
+ <if test="groupId != null">
+ #{groupId},
+ </if>
+ <if test="groupName != null and groupName !=null">
+ #{groupName},
+ </if>
+ </trim>
+ </insert>
+
+ <select id="queryGroups" resultType="com.thhy.screen.modules.biz.audio.entity.AudioGroup">
+ select id,group_id as groupId,group_name as groupName from t_audio_groups
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3