|
@@ -106,15 +106,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="businessId != null and businessId != ''">
|
|
|
AND uc.business_id = #{businessId}
|
|
|
</if>
|
|
|
+ <if test="educationTypeId != null and educationTypeId != ''">
|
|
|
+ AND uc.education_type_id = #{educationTypeId}
|
|
|
+ </if>
|
|
|
<if test="schoolId != null and schoolId != ''">
|
|
|
AND uc.school_id = #{schoolId}
|
|
|
</if>
|
|
|
<if test="majorId != null and majorId != ''">
|
|
|
AND uc.major_id = #{majorId}
|
|
|
</if>
|
|
|
- <if test="userId != null and majorId != ''">
|
|
|
+ <if test="userId != null and userId != ''">
|
|
|
AND uc.user_id = #{userId}
|
|
|
</if>
|
|
|
+ <if test="goodsName != null and goodsName != ''">
|
|
|
+ AND (select count(*) from goods g where g.goods_id = uc.goods_id and g.goods_name like concat('%', #{goodsName}, '%'))>0
|
|
|
+ </if>
|
|
|
+ <if test="certificateCode != null and certificateCode != ''">
|
|
|
+ AND uc.certificate_code = #{certificateCode}
|
|
|
+ </if>
|
|
|
<if test="searchStartTime != null and searchStartTime != ''">
|
|
|
AND uc.create_time > #{searchStartTime}
|
|
|
</if>
|