From 4f986140a10e71c07c7001ccbcda6e93e17736b1 Mon Sep 17 00:00:00 2001
From: Crunchy <3114200645@qq.com>
Date: 星期二, 23 四月 2024 15:59:44 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
cnas-server/src/main/resources/mapper/SealMapper.xml | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/cnas-server/src/main/resources/mapper/SealMapper.xml b/cnas-server/src/main/resources/mapper/SealMapper.xml
new file mode 100644
index 0000000..c1e4380
--- /dev/null
+++ b/cnas-server/src/main/resources/mapper/SealMapper.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper
+ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+ "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.yuanchu.mom.mapper.SealMapper">
+ <select id="selectSeal" resultType="com.yuanchu.mom.pojo.Seal">
+ select * from seal
+ <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
+ ${ew.customSqlSegment}
+ </if>
+ </select>
+ <select id="selectLaboratory" resultType="com.yuanchu.mom.pojo.Laboratory">
+ SELECT *
+ from laboratory
+ WHERE id =#{labId}
+ </select>
+</mapper>
\ No newline at end of file
--
Gitblit v1.9.3