shi'sen'yuan %!s(int64=3) %!d(string=hai) anos
pai
achega
5633ee499c

+ 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