Browse Source

接口修改

wkyy 4 năm trước cách đây
mục cha
commit
9071fe5d35
1 tập tin đã thay đổi với 8 bổ sung1 xóa
  1. 8 1
      common/src/main/resources/mapper/job/Resume.xml

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

@@ -184,7 +184,7 @@
 	<select id="foundJobManagement" parameterType="hashmap" resultType="map">
 		<![CDATA[
 			SELECT DISTINCT
-			  jwc.name_ workName,
+			  jr.title_ title,
 			  sdda.name_ dreamMoney,
 			  sddb.name_ jobStatus,
 			  year(now())-year(jre.birthday_)  age,
@@ -192,6 +192,7 @@
 			  sdde.name_ education,
 			  jj.head_image_url headImage,
 			  jj.real_name name,
+			  jre.id_ resumeId,
 			  jre.dream_add dreamAdd,
 			  jre.approve_status approveStatus,
               su.id_ sysUserId
@@ -214,6 +215,12 @@
 			<if test="searchParams.type != null">
 				and jre.approve_status = #{searchParams.type}
 			</if>
+			<if test="searchParams.sex != null">
+				and jre.sex_ = #{searchParams.sex}
+			</if>
+			<if test="searchParams.resumeId != null">
+				and jre.id_ = #{searchParams.resumeId}
+			</if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">
 			${sort.name} ${sort.order}