|
|
@@ -58,6 +58,27 @@
|
|
|
<if test="dto.enrollmentPlanId != null">
|
|
|
AND t1.enrollment_plan_id = #{dto.enrollmentPlanId}
|
|
|
</if>
|
|
|
+
|
|
|
+ <if test="dto.isCanBanding != null">
|
|
|
+ and t1.is_can_banding = #{dto.isCanBanding}
|
|
|
+ </if>
|
|
|
+ <if test="dto.operateMode != null">
|
|
|
+ and t1.operate_mode = #{dto.operateMode}
|
|
|
+ </if>
|
|
|
+ <if test="dto.paymnystate != null and dto.paymnystate != ''">
|
|
|
+ AND t1.paymnystate = #{dto.paymnystate}
|
|
|
+ </if>
|
|
|
+ <if test="dto.previous != null and dto.previous != ''">
|
|
|
+ AND t1.previous = #{dto.previous}
|
|
|
+ </if>
|
|
|
+ <if test="dto.city != null and dto.city != ''">
|
|
|
+ AND (
|
|
|
+ t1.province like concat('%', #{dto.paymnystate}, '%')
|
|
|
+ or t1.city like concat('%', #{dto.paymnystate}, '%')
|
|
|
+ or t1.myarea like concat('%', #{dto.paymnystate}, '%')
|
|
|
+ )
|
|
|
+ </if>
|
|
|
+
|
|
|
<if test="dto.treeId != null and dto.treeType != null">
|
|
|
<if test="dto.treeType == 1">
|
|
|
AND t4.grade_id = #{dto.treeId}
|