@Override public void delete(int engineid) throws Exception { // 删除销售记录 ISellDao sdo = DaoFactory.getSellDao(); SellValue sv = sdo.get(engineid); if (sv != null) { sdo.delete(sv); } }
@Override public SellValue get(int engineid) throws Exception { // 返回单一销售信息 ISellDao sdo = DaoFactory.getSellDao(); return sdo.get(engineid); }