UPDATE bfp_t_supervision_trial_evidence e1
SET inspection_time = (
SELECT
to_char(
to_timestamp(
illegal_time,
'yyyy-MM-dd hh24:mi:ss'
) + INTERVAL '5 day',
'yyyy-MM-dd hh24:mi:ss'
)
FROM
bfp_t_supervision_trial_evidence e2
WHERE e2.id=e1.id
)
使用sql对时间进行加减
最新推荐文章于 2024-10-04 07:24:30 发布