|
@@ -137,8 +137,8 @@
|
|
|
<if test="cardNo!=null">
|
|
|
AND ere.card_no_=#{cardNo}
|
|
|
</if>
|
|
|
- <if test="organId!=null">
|
|
|
- AND ere.organ_id_=#{organId}
|
|
|
+ <if test="organId != null and organId != 0">
|
|
|
+ AND ere.organ_id_ = #{organId}
|
|
|
</if>
|
|
|
<if test="subjectId!=null">
|
|
|
AND ere.subject_id_=#{subjectId}
|