yanite пре 3 година
родитељ
комит
9b747a3b92
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentGoodsSellMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentGoodsSellMapper.xml

@@ -119,7 +119,7 @@
 		<where>
 			sgs.tenant_id_ = #{tenantId}
 			<if test="teacherId != null">
-				sgs.teacher_id_ = #{teacherId}
+				AND sgs.teacher_id_ = #{teacherId}
 			</if>
 			<if test="studentId != null">
 				AND sgs.user_id_ = #{studentId}