shi'sen'yuan 3 年之前
父節點
當前提交
5633ee499c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      master/src/main/resources/mybatis/training/TTrainingNonMapper.xml

+ 1 - 0
master/src/main/resources/mybatis/training/TTrainingNonMapper.xml

@@ -30,6 +30,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     <select id="selectTTrainingNonList" parameterType="TTrainingNon" resultMap="TTrainingNonResult">
         <include refid="selectTTrainingNonVo"/>
         <where>
+            <if test="staffId != null  and staffId != ''"> and staff_id = #{staffId}</if>
             <if test="trainingId != null "> and training_id = #{trainingId}</if>
             <if test="isNew != null  and isNew != ''"> and is_new = #{isNew}</if>
             and d.del_flag = 0