Browse Source

驳回的时候新增取消面谈相关标记

anderx 8 months ago
parent
commit
0d814be8b9

+ 1 - 0
src/main/java/com/goafanti/Interview/service/impl/UserInterviewProjectServiceImpl.java

@@ -57,6 +57,7 @@ public class UserInterviewProjectServiceImpl extends BaseMybatisDao<UserIntervie
     @Override
     public UserInterviewProject insert(UserInterviewProject userInterviewProject) {
         userInterviewProject.setType(0);
+        userInterviewProject.setStatus(0);
         userInterviewProject.setAid(TokenManager.getAdminId());
         this.userInterviewProjectMapper.insert(userInterviewProject);
         return userInterviewProject;

+ 2 - 1
src/main/java/com/goafanti/common/mapper/UserInterviewProjectMapper.xml

@@ -113,6 +113,7 @@
         <result property="aid" column="aid" jdbcType="VARCHAR"/>
         <result property="pid" column="pid" jdbcType="VARCHAR"/>
         <result property="type" column="type" jdbcType="INTEGER"/>
+        <result property="status" column="status" jdbcType="INTEGER"/>
         <result property="examineStatus" column="examine_status" jdbcType="INTEGER"/>
         <result property="examineStatusOther" column="examine_status_other" jdbcType="VARCHAR"/>
         <result property="buyStatus" column="buy_status" jdbcType="INTEGER"/>
@@ -122,7 +123,7 @@
     <!--查询指定行数据-->
     <select id="findUserInterviewProjectList" resultMap="ListMap">
         select
-        a.id, a.uid, a.aid, a.pid, a.examine_status, a.examine_status_other, a.buy_status, a.buy_status_other,a.type,
+        a.id, a.uid, a.aid, a.pid, a.examine_status, a.examine_status_other, a.buy_status, a.buy_status_other,a.type,a.status,
         b.bname name
         from user_interview_project a left join business_project b on a.pid=b.id
         <where>