parent
ef4373f88e
commit
da2367f660
|
|
@ -12,7 +12,7 @@ public class TestDBFormPlugin extends AbstractFormPlugin {
|
||||||
super.afterDoOperation(e);
|
super.afterDoOperation(e);
|
||||||
if("shjh_btnok".equals(e.getOperateKey())){
|
if("shjh_btnok".equals(e.getOperateKey())){
|
||||||
String dbnum = (String) this.getModel().getValue("shjh_dbnum");//标识
|
String dbnum = (String) this.getModel().getValue("shjh_dbnum");//标识
|
||||||
String sql = (String) this.getModel().getValue("shjh_sql");//sql语句
|
String sql = (String) this.getModel().getValue("shjh_sqls");//sql语句
|
||||||
try{
|
try{
|
||||||
DB.update(DBRoute.of(dbnum), sql,null);
|
DB.update(DBRoute.of(dbnum), sql,null);
|
||||||
}catch(Exception ex){
|
}catch(Exception ex){
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue