templatedb.java~7~
来自「云网论坛CWBBS 源码,内容丰富,学习,参考,教学的好资料,具体见内说明,」· JAVA~7~ 代码 · 共 32 行
JAVA~7~
32 行
package cn.js.fan.module.cms;
import com.cloudwebsoft.framework.base.*;
import com.cloudwebsoft.framework.db.JdbcTemplate;
import cn.js.fan.db.ResultIterator;
/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2005</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class TemplateDb extends QObjectDb {
public TemplateDb() {
}
public Vector getTemplatesOfLeaf(String dirCode) {
String sql = "select id from " + table.getName() + " where type_code=?";
JdbcTemplate jt = new JdbcTemplate();
ResultIterator ir = jt.executeUpdate(sql, new Object[] {dirCode});
if (ir.hasNext()) {
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?