Bläddra i källkod

王子文 培训模块 - bug fixed: 培训成绩搜索查询失效

wangggziwen 3 år sedan
förälder
incheckning
98f96b729d

+ 4 - 0
master/src/main/resources/mybatis/training/TTrainingrecordsMapper.xml

@@ -54,6 +54,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="tds != null  and tds != ''"> and tds = #{tds}</if>
             <if test="postCard  != null  and postCard != ''"> and post_card  = #{postCard}</if>
             <if test="craft != null  and craft != ''"> and craft = #{craft}</if>
+            <!-- 王子文 2022年8月15日 -->
+            <!-- 新增检索条件:公司级培训、装置级培训 -->
+            <if test="company != null  and company != ''"> and company = #{company}</if>
+            <if test="device != null and device != ''"> and device = #{device}</if>
             and d.del_flag = 0
         </where>
         <!-- 数据范围过滤 -->