/* 根据主键批量删除 */
public void deleteBatch(Class clazz, Object[] primaryKeys)
throws easyJ.common.EasyJException {
UpdateCommand ucmd = DAOFactory.getUpdateCommand(clazz);
UpdateItem ui = new UpdateItem("useState", "N");
ucmd.addUpdateItem(ui);
Long[] primaryKeysLong = new Long[primaryKeys.length];
for (int i = 0; i < primaryKeys.length; i++)
primaryKeysLong[i] = new Long(primaryKeys[i].toString());
String primaryKey = (String) BeanUtil.getPubStaticFieldValue(clazz,
easyJ.common.Const.PRIMARY_KEY);