xiao547607 4 anos atrás
pai
commit
7ce90d3f1d

+ 2 - 2
common/src/main/resources/mapper/job/Recruitment.xml

@@ -161,8 +161,7 @@
 	where id_=#{id}
 	</update>
 	<select id="get" parameterType="string" resultMap="RecruitmentMap">
-		select 
-id_,company_id,title_,area_,address_,position_,position_message,requirements_,wage_,position_number,work_year,education_,position_sex,read_times,wage_type,is_discuss_personally,contact_person,tel_,status_,approve_status,reading_times,collection_times,delivery_times,create_by,create_time,update_by,update_time,del_flag		from job_recruitment where id_=#{0}
+		select * from job_recruitment where id_=#{0}
 	</select>
 	<select id="exist" parameterType="string" resultType="int">
 		select count(*) from job_recruitment where id_=#{0}
@@ -175,6 +174,7 @@ id_,company_id,title_,area_,address_,position_,position_message,requirements_,wa
 			select * from job_recruitment
 		]]>
 		<where>
+			del_flag = 0
 			<if test="searchParams.id != null">
 				and ID_ like #{searchParams.id}
 			</if>

+ 2 - 2
common/src/main/resources/mapper/job/Resume.xml

@@ -111,8 +111,7 @@
 	where id_=#{id}
 	</update>
 	<select id="get" parameterType="string" resultMap="ResumeMap">
-		select 
-id_,create_by,create_time,update_by,update_time,del_flag,job_user_id,sex_,position_category_id,work_exp,education_,dream_money,dream_add,birthday_,introduction_,status_,approve_status		from job_resume where id_=#{0}
+		select * from job_resume where id_=#{0}
 	</select>
 	<select id="exist" parameterType="string" resultType="int">
 		select count(*) from job_resume where id_=#{0}
@@ -125,6 +124,7 @@ id_,create_by,create_time,update_by,update_time,del_flag,job_user_id,sex_,positi
 			select * from job_resume
 		]]>
 		<where>
+			del_flag = 0
 			<if test="searchParams.id != null">
 				and ID_ like #{searchParams.id}
 			</if>