请大家帮忙看看.明天中午前揭贴
water 表
custom_id status user_id f_205 cur_flow
int int int varchar int
note 表
file_id course_name maker status flow_id x y
其中 custom_id对应 file_id user_id对应 maker f_205对应 course_name
cur_flow 对应 flow_id
先判断water表中的记录,在note中有没有相同的记录(根据water表中的custom_id与note表中的file_id俩个字段判断)。如果没有,就将water表中的新记录插入到note表中。
如果有的话就将water表中的该条记录的值更新到note表中去.