id, company_user_id, sop_id, this_date, qw_user_id, period_id, start_time, create_time
DELETE FROM fs_statis_temp_param
WHERE id = #{id,jdbcType=INTEGER}
INSERT INTO fs_statis_temp_param (company_user_id, sop_id, this_date,
qw_user_id, period_id, start_time, create_time)
VALUES (#{companyUserId,jdbcType=BIGINT}, #{sopId,jdbcType=BIGINT}, #{thisDate,jdbcType=VARCHAR},
#{qwUserId,jdbcType=BIGINT}, #{periodId,jdbcType=VARCHAR}, #{startTime,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP})
INSERT INTO fs_statis_temp_param
company_user_id,
sop_id,
this_date,
qw_user_id,
period_id,
start_time,
create_time,
#{companyUserId,jdbcType=BIGINT},
#{sopId,jdbcType=BIGINT},
#{thisDate,jdbcType=VARCHAR},
#{qwUserId,jdbcType=BIGINT},
#{periodId,jdbcType=VARCHAR},
#{startTime,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
REPLACE INTO fs_statis_temp_param (
company_user_id, sop_id, this_date, qw_user_id,
period_id, start_time, create_time,dept_id
)
VALUES
(
#{item.companyUserId}, #{item.sopId}, #{item.thisDate}, #{item.qwUserId},
#{item.periodId}, #{item.startTime}, #{item.createTime},#{item.deptId}
)
REPLACE INTO fs_statis_temp_param (
company_user_id, sop_id, this_date, qw_user_id,
period_id, start_time, create_time,dept_id
)
VALUES
(
#{item.companyUserId}, #{item.sopId}, #{item.thisDate}, #{item.qwUserId},
#{item.periodId}, #{item.startTime}, #{item.createTime},#{item.deptId}
)
UPDATE fs_statis_temp_param
SET
company_user_id = #{companyUserId,jdbcType=BIGINT},
sop_id = #{sopId,jdbcType=BIGINT},
this_date = #{thisDate,jdbcType=VARCHAR},
qw_user_id = #{qwUserId,jdbcType=BIGINT},
period_id = #{periodId,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}
WHERE id = #{id,jdbcType=INTEGER}
UPDATE fs_statis_temp_param
company_user_id = #{companyUserId,jdbcType=BIGINT},
sop_id = #{sopId,jdbcType=BIGINT},
this_date = #{thisDate,jdbcType=VARCHAR},
qw_user_id = #{qwUserId,jdbcType=BIGINT},
period_id = #{periodId,jdbcType=VARCHAR},
start_time = #{startTime,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
WHERE id = #{id,jdbcType=INTEGER}