コード例 #1
0
 @Override
 public void updateEntity(EquipmentEntity entity, Object attach) {
   entity.saveBefore();
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(dao, DaoOperateType.Update, entity, "", null, attach);
   operatePool.execute(daoOperate);
 }
コード例 #2
0
 @Override
 public void batchRemoveEntity(List<EquipmentEntity> entitys, Object attach) {
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(
           dao, DaoOperateType.BatchRemove, entitys, "", null, attach);
   operatePool.execute(daoOperate);
 }
コード例 #3
0
 @Override
 public void insertEntity(MatchShopEntity entity, Object attach) {
   entity.saveBefore();
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(dao, DaoOperateType.Insert, entity, "", null, attach);
   operatePool.execute(daoOperate);
 }
コード例 #4
0
 @Override
 public void batchInsertEntity(List<EquipmentEntity> entitys, Object attach) {
   for (EquipmentEntity entity : entitys) {
     entity.saveBefore();
   }
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(
           dao, DaoOperateType.BatchInsert, entitys, "", null, attach);
   operatePool.execute(daoOperate);
 }
コード例 #5
0
 @Override
 public void batchUpdateEntity(List<MatchShopEntity> entitys, Object attach) {
   for (MatchShopEntity entity : entitys) {
     entity.saveBefore();
   }
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(
           dao, DaoOperateType.BatchUpdate, entitys, "", null, attach);
   operatePool.execute(daoOperate);
 }
コード例 #6
0
 @Override
 public void removeEntity(EquipmentEntity entity, Object attach) {
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(dao, DaoOperateType.Remove, entity, "", null, attach);
   operatePool.execute(daoOperate);
 }