查询忙闲信息

This commit is contained in:
俞扬
2023-06-17 18:15:25 +08:00
parent a5ae55675a
commit dcb3d1097c
12 changed files with 520 additions and 1 deletions

View File

@@ -298,4 +298,42 @@
left join hy_partner_interview hpi on hpip.id = hpi.interview_plan_id
where hpip.id = #{interviewId}
</select>
<select id="selectBySelective" resultType="com.cool.store.entity.HyPartnerInterviewPlanDO">
select
<include refid="Base_Column_List"/>
from hy_partner_interview_plan
<where>
<if test="record.id !=null and record.id!=''">
and id = #{record.id}
</if>
<if test="record.partnerLineId !=null and record.partnerLineId!=''">
and partner_line_id = #{record.partnerLineId}
</if>
<if test="record.partnerId !=null and record.partnerId!=''">
and partner_id = #{record.partnerId}
</if>
<if test="record.startTime !=null and record.startTime!=''">
and start_time = #{record.startTime}
</if>
<if test="record.endTime !=null and record.endTime!=''">
and end_time = #{record.endTime}
</if>
<if test="record.interviewer !=null and record.interviewer!=''">
and interviewer = #{record.interviewer}
</if>
<if test="record.createTime !=null and record.createTime!=''">
and create_time = #{record.createTime}
</if>
<if test="record.roomId !=null and record.roomId!=''">
and room_id = #{record.roomId}
</if>
<if test="record.roomStatus !=null and record.roomStatus!=''">
and room_status = #{record.roomStatus}
</if>
<if test="record.interviewDate !=null and record.interviewDate!=''">
and interview_date = #{record.interviewDate}
</if>
</where>
</select>
</mapper>