结束跟进时删除稽核信息(如果有)
This commit is contained in:
@@ -22,6 +22,8 @@ public interface HyInspectionMapper {
|
||||
|
||||
HyInspectionDO selectByPrimaryKey(Long id);
|
||||
|
||||
HyInspectionDO selectByInterviewPlanId(Long interviewPlanId);
|
||||
|
||||
int updateByPrimaryKeySelective(HyInspectionDO record);
|
||||
|
||||
int updateByPrimaryKey(HyInspectionDO record);
|
||||
|
||||
@@ -28,7 +28,18 @@
|
||||
<include refid="Base_Column_List" />
|
||||
from hy_inspection
|
||||
where id = #{id}
|
||||
and deleted = 0
|
||||
</select>
|
||||
|
||||
<!-- 使用 interviewPlanId 查询面试稽核信息 -->
|
||||
<select id="selectByInterviewPlanId" resultType="com.cool.store.entity.HyInspectionDO">
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from hy_inspection
|
||||
where interview_plan_id = #{interviewPlanId}
|
||||
and deleted = 0
|
||||
</select>
|
||||
|
||||
<select id="interviewInspectionGetList" resultType="com.cool.store.vo.interview.InterviewInspectionVO">
|
||||
SELECT
|
||||
eu.`name` AS interviewerName,
|
||||
|
||||
Reference in New Issue
Block a user