07 2013 档案

摘要:项目用到类型于淘宝的用户确认功能,在超过两天未确认的情况下,默认用户确认行为,在tbl_apply申请中增加一个confirm_sign作为确认字段,updateConfirm存储过程为设置处理完成后超过两天未确认的申请的确认字段为1(已确认),下面创建job(定时任务)1.create or replace procedure updateConfirm as begin update tbl_apply t set t.confirm_sign=1 where ROUND(TO_NUMBER(sysdate - (select to_date(max(operate_date),' 阅读全文
posted @ 2013-07-15 17:52 next_door_boy 阅读(168) 评论(0) 推荐(0)