From f5a366b2c3b200006983f3a40872bc4976a884d7 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 11 二月 2025 18:38:20 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 business/src/main/resources/mapper/FlowableTypeMapper.xml |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/business/src/main/resources/mapper/FlowableTypeMapper.xml b/business/src/main/resources/mapper/FlowableTypeMapper.xml
index 456f26d..5fc2af2 100644
--- a/business/src/main/resources/mapper/FlowableTypeMapper.xml
+++ b/business/src/main/resources/mapper/FlowableTypeMapper.xml
@@ -53,5 +53,17 @@
         WHERE
             TP.deleted = 0
     </select>
+    <select id="selectTypeList" parameterType="com.ycl.domain.entity.FlowableType" resultType="com.ycl.domain.entity.FlowableType">
+        select * from t_flowable_type
+        <where>
+            <if test="name != null and name != ''">
+                AND name like concat('%', #{name}, '%')
+            </if>
+            <if test="status != null and status != ''">
+                AND status = #{status}
+            </if>
+        </where>
+        order by parent_id, order_num
+    </select>
 
 </mapper>

--
Gitblit v1.8.0