|
|
@@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="educationTypeId" column="education_type_id"/>
|
|
|
<result property="businessId" column="business_id"/>
|
|
|
<result property="projectId" column="project_id"/>
|
|
|
+ <result property="schoolId" column="school_id"/>
|
|
|
+ <result property="majorId" column="major_id"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap type="com.zhongzheng.modules.user.vo.UserCertificateVo" id="UserCertificateVoResult">
|
|
|
@@ -81,5 +83,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="trainEndTime != null and trainEndTime != ''">
|
|
|
AND #{trainEndTime} > uc.train_end_time
|
|
|
</if>
|
|
|
+ <if test="businessId != null and businessId != ''">
|
|
|
+ AND uc.business_id = #{businessId}
|
|
|
+ </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>
|
|
|
</select>
|
|
|
</mapper>
|