update student ,tb_student set code =tb_student.v_student_code where student.id = tb_student.ui_user_id
查询tb_student表根据ui_user_id字段进行关联更新表studentrecord 字段code字段值
update student ,tb_student set code =tb_student.v_student_code where student.id = tb_student.ui_user_id
查询tb_student表根据ui_user_id字段进行关联更新表studentrecord 字段code字段值
转载于:https://my.oschina.net/u/615101/blog/874365