guanxf

我的博客:http://blog.sina.com.cn/17learning

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  71 随笔 :: 1 文章 :: 41 评论 :: 0 Trackbacks
1、修改内联表
update a_locationservice al,t_kxt_executor_info t 
set al.objid= t.id
where al.location_id=t.end_location_id
and  al.objtype='8' and al.objid is null
2、修改级联表:
update t_kxt_executor_info_detail tid
LEFT JOIN 
   t_kxt_common_reports crep  
on 
 crep.id=tid.obj_id
set tid.flag='2'
where  (tid.obj_type='terminalPhotograph' or tid.obj_type='requestInfo' or tid.obj_type='terminalInfo')  and  crep.id is null
posted on 2014-02-26 11:09 管先飞 阅读(233) 评论(0)  编辑  收藏

只有注册用户登录后才能发表评论。


网站导航: