}
/* 在这里删除只是改变状态,并不是真正的删除,所以调用的是update */
public void delete(Object o) throws easyJ.common.EasyJException {
UpdateCommand ucmd = DAOFactory.getUpdateCommand(o.getClass());
UpdateItem ui = new UpdateItem("useState", "N");
ucmd.addUpdateItem(ui);
String primaryKey = (String) BeanUtil.getPubFieldValue(o,
easyJ.common.Const.PRIMARY_KEY);
Filter filter = DAOFactory.getFilter(primaryKey, SQLOperator.EQUAL,
BeanUtil.getFieldValue(o, primaryKey));