薪酬系统-pg数据库适配,薪资档案待定薪导入问题修复
This commit is contained in:
parent
1e78c40e9a
commit
1bb9b939f0
|
|
@ -449,6 +449,26 @@
|
|||
</foreach>
|
||||
</update>
|
||||
|
||||
<update id="batchUpdate" parameterType="java.util.List" databaseId="postgresql">
|
||||
<foreach collection="collection" item="item" separator=";">
|
||||
UPDATE hrsa_salary_archive
|
||||
<set>
|
||||
<if test="item.runStatus != null">
|
||||
run_status=#{item.runStatus},
|
||||
</if>
|
||||
<if test="item.payStartDate != null">
|
||||
pay_start_date=#{item.payStartDate},
|
||||
</if>
|
||||
<if test="item.payEndDate != null">
|
||||
pay_end_date=#{item.payEndDate},
|
||||
</if>
|
||||
</set>
|
||||
WHERE id = #{item.id} AND delete_type = 0
|
||||
|
||||
</foreach>
|
||||
|
||||
</update>
|
||||
|
||||
<select id="getHistoryData" resultMap="BaseResultMap">
|
||||
SELECT
|
||||
<include refid="baseColumns"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue