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