@Override
 public void updateEntity(EquipmentEntity entity, Object attach) {
   entity.saveBefore();
   IDaoOperate daoOperate =
       daoOperateFactory.createDaoOperate(dao, DaoOperateType.Update, entity, "", null, attach);
   operatePool.execute(daoOperate);
 }
 @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);
 }