|
|
@@ -193,6 +193,52 @@
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
+ <update id="update" parameterType="org.jeecg.modules.hpposition.entity.Position">
|
|
|
+ UPDATE dp_position SET
|
|
|
+ user_id = #{Position.userId},
|
|
|
+ position_name = #{Position.positionName},
|
|
|
+ enterprise_name = #{Position.enterpriseName},
|
|
|
+ position_detail = #{Position.positionDetail},
|
|
|
+ position_category = #{Position.positionCategory},
|
|
|
+ fulltime_position_type = #{Position.fulltimePositionType},
|
|
|
+ parttime_position_type = #{Position.parttimePositionType},
|
|
|
+ recruit_number = #{Position.recruitNumber},
|
|
|
+ basic_salary = #{Position.basicSalary},
|
|
|
+ salary_period = #{Position.salaryPeriod},
|
|
|
+ salary = #{Position.salary},
|
|
|
+ other_salary = #{Position.otherSalary},
|
|
|
+ salary_structure = #{Position.salaryStructure},
|
|
|
+ welfare = #{Position.welfare},
|
|
|
+ has_regular_bus = #{Position.hasRegularBus},
|
|
|
+ qualification = #{Position.qualification},
|
|
|
+ age_range = #{Position.ageRange},
|
|
|
+ gender = #{Position.gender},
|
|
|
+ work_experience = #{Position.workExperience},
|
|
|
+ is_health_certification = #{Position.isHealthCertification},
|
|
|
+ work_date = #{Position.workDate},
|
|
|
+ start_work_time = #{Position.startWorkTime},
|
|
|
+ end_word_time = #{Position.endWordTime},
|
|
|
+ is_publish_nationwide = #{Position.isPublishNationwide},
|
|
|
+ contact_person = #{Position.contactPerson},
|
|
|
+ contact_phone = #{Position.contactPhone},
|
|
|
+ create_time = #{Position.createTime},
|
|
|
+ end_date = #{Position.endDate},
|
|
|
+ is_pause = #{Position.isPause},
|
|
|
+ update_time = #{Position.updateTime},
|
|
|
+ is_on = #{Position.isOn},
|
|
|
+ authentication_status = #{Position.authenticationStatus},
|
|
|
+ require_group=#{Position.requireGroup},
|
|
|
+ settlement_method=#{Position.settlementMethod}
|
|
|
+ WHERE id = #{Position.id}
|
|
|
+ </update>
|
|
|
+
|
|
|
+
|
|
|
+ <update id="changePositionName" parameterType="org.jeecg.modules.hpposition.entity.Position">
|
|
|
+ UPDATE dp_position SET
|
|
|
+ position_name = #{Position.positionName}
|
|
|
+ WHERE id = #{Position.id}
|
|
|
+ </update>
|
|
|
+
|
|
|
|
|
|
<select id="getPosition" resultType="org.jeecg.modules.api.dpposition.entity.PositionAPI" >
|
|
|
SELECT
|
|
|
@@ -213,4 +259,14 @@
|
|
|
a.user_id = #{userId}
|
|
|
</where>
|
|
|
</select>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="findPosition" resultType="org.jeecg.modules.hpposition.entity.Position">
|
|
|
+ SELECT
|
|
|
+ <include refid="positionColumns"/>
|
|
|
+ FROM dp_position a
|
|
|
+ <where>
|
|
|
+ a.user_id = #{userId}
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
</mapper>
|