From 3d400cfcc41df9bc35678751f6f5afb5cf6c1ae5 Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: 星期三, 03 十二月 2025 14:52:54 +0800
Subject: [PATCH] 产品服务实现过程

---
 multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml b/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml
index 9526d63..2d7f146 100644
--- a/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/TrainPlanMapper.xml
@@ -32,4 +32,31 @@
           </if>
         ORDER BY tp.create_time ASC
     </select>
+    <select id="selectByCompanyId" resultType="com.gkhy.exam.system.domain.TrainPlan">
+        SELECT
+        `id`,
+        `company_id`,
+        `train_name`,
+        `train_time`,
+        `dept_id`,
+        `train_object`,
+        `num`,
+        `hour`,
+        `money`,
+        `modality`,
+        `status`,
+        `del_flag`,
+        `create_by`,
+        `create_time`,
+        `update_by`,
+        `update_time`
+        FROM
+        `train_plan`
+        WHERE
+        del_flag = 1
+        AND `status` = 0
+        <if test="companyId!=null">
+            and company_id = #{companyId}
+        </if>
+    </select>
 </mapper>

--
Gitblit v1.9.2