日期:2014-05-16 浏览次数:20767 次
Ext.Msg.confirm('提示','确定修改吗?',function(btn){
if(btn=='yes'){
submitUser(tt);//执行更新
Ext.getCmp("win").show();
Ext.getCmp('win-grid').store.url='json';//执行查询
Ext.getCmp('win-grid').store.load();
Ext.getCmp("userwin").destroy();
}else{
}
},this);
Hibernate:
select
userss0_.USERID as USERID1_,
userss0_.USERNAME as USERNAME1_,
userss0_.USERPWD as USERPWD1_
from
DB_TEST.USERSS userss0_
Hibernate:
update
DB_TEST.USERSS
set
USERNAME=?,
USERPWD=?
where
USERID=4