|
@@ -302,7 +302,7 @@
|
|
|
and t4.id = #{dto.classId}
|
|
and t4.id = #{dto.classId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="dto.gender != null and dto.gender != ''">
|
|
<if test="dto.gender != null and dto.gender != ''">
|
|
|
- and REPLACE(REPLACE(t2.gender,1,'SB10001'),2,'SB10002') = #{dto.gender}
|
|
|
|
|
|
|
+ and t2.gender = #{dto.gender}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="dto.isDistribute != null">
|
|
<if test="dto.isDistribute != null">
|
|
|
<if test="dto.isDistribute == 1">
|
|
<if test="dto.isDistribute == 1">
|