3 changed files with 17 additions and 0 deletions
@ -1 +1,10 @@ |
|||||
ALTER TABLE ic_notice ADD COLUMN SEND_RES VARCHAR ( 1 ) NOT NULL DEFAULT '1' COMMENT '发送结果:1成功,0失败' after ORG_NAME; |
ALTER TABLE ic_notice ADD COLUMN SEND_RES VARCHAR ( 1 ) NOT NULL DEFAULT '1' COMMENT '发送结果:1成功,0失败' after ORG_NAME; |
||||
|
update ic_notice n |
||||
|
set n.SEND_RES='1' |
||||
|
where n.USER_ID is not null |
||||
|
and n.USER_ID !=''; |
||||
|
|
||||
|
update ic_notice n |
||||
|
set n.SEND_RES='0' |
||||
|
where (n.USER_ID is null |
||||
|
or n.USER_ID =''); |
||||
|
Loading…
Reference in new issue