UPDATE t_cpzs_code
SET production_time = ADDTIME(
date('2018-11-01') + INTERVAL 3 HOUR,
time(production_time)
) WHERE equipment_name='15#'
mysql add hours to the current time
Guess you like
Origin blog.csdn.net/zy1471162851/article/details/102482588
Recommended
Ranking