Class AppBizImpl

java.lang.Object
com.baomidou.mybatisplus.extension.repository.AbstractRepository<M,T>
com.baomidou.mybatisplus.extension.repository.CrudRepository<M,T>
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl<M,T>
net.mingsoft.base.biz.impl.BaseBizImpl<IAppDao,AppEntity>
net.mingsoft.basic.biz.impl.AppBizImpl
All Implemented Interfaces:
com.baomidou.mybatisplus.extension.repository.IRepository<AppEntity>, com.baomidou.mybatisplus.extension.service.IService<AppEntity>, net.mingsoft.base.biz.IBaseBiz<AppEntity>, IAppBiz

@Service("appBiz") @Transactional public class AppBizImpl extends net.mingsoft.base.biz.impl.BaseBizImpl<IAppDao,AppEntity> implements IAppBiz
网站基本信息业务层实现类
Version:
版本号:100-000-000
创建日期:2012-03-15
历史修订:
Author:
史爱华
  • Field Summary

    Fields inherited from class net.mingsoft.base.biz.impl.BaseBizImpl

    LOG

    Fields inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository

    baseMapper

    Fields inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository

    log

    Fields inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository

    DEFAULT_BATCH_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByUrl(String websiteUrl)
    查找域名相同站点的个数
    protected net.mingsoft.base.dao.IBaseDao
    获取应用持久化层
    返回app表中的第一条数据,根据id排序 可能存在的情况: 返回null,说明数据库没有站点

    Methods inherited from class net.mingsoft.base.biz.impl.BaseBizImpl

    alterTable, createTable, delete, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, execute, getEntity, getEntity, getEntity, getOne, insert, insertBySQL, query, queryAll, queryCount, queryForList, queryForList, queryForListPage, saveBatch, saveEntity, update, update, updateBySQL, updateCache, updateEntity

    Methods inherited from class com.baomidou.mybatisplus.extension.repository.CrudRepository

    getBaseMapper, getSqlStatement, saveBatch, saveOrUpdateBatch, updateBatchById

    Methods inherited from class com.baomidou.mybatisplus.extension.repository.AbstractRepository

    executeBatch, executeBatch, getEntityClass, getMap, getMapperClass, getObj, getOneOpt, getSqlSessionFactory, removeById, saveOrUpdate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.mingsoft.base.biz.IBaseBiz

    alterTable, createTable, delete, delete, delete, deleteBySQL, deleteEntity, deleteEntity, dropTable, excuteSql, execute, getEntity, getEntity, getEntity, insert, insertBySQL, query, queryAll, queryCount, queryForList, queryForList, queryForListPage, saveBatch, saveEntity, update, update, updateBySQL, updateCache, updateEntity

    Methods inherited from interface com.baomidou.mybatisplus.extension.repository.IRepository

    count, count, exists, getBaseMapper, getById, getEntityClass, getMap, getObj, getOne, getOne, getOneOpt, getOneOpt, getOptById, ktQuery, ktUpdate, lambdaQuery, lambdaQuery, lambdaUpdate, list, list, list, list, listByIds, listByMap, listMaps, listMaps, listMaps, listMaps, listObjs, listObjs, listObjs, listObjs, page, page, pageMaps, pageMaps, query, remove, removeById, removeById, removeById, removeByIds, removeByIds, removeByMap, save, saveBatch, saveOrUpdate, saveOrUpdateBatch, update, update, update, updateBatchById, updateById

    Methods inherited from interface com.baomidou.mybatisplus.extension.service.IService

    removeBatchByIds, saveBatch, saveOrUpdateBatch, updateBatchById
  • Constructor Details

    • AppBizImpl

      public AppBizImpl()
  • Method Details

    • getDao

      protected net.mingsoft.base.dao.IBaseDao getDao()
      获取应用持久化层
      Specified by:
      getDao in class net.mingsoft.base.biz.impl.BaseBizImpl<IAppDao,AppEntity>
      Returns:
      appDao 返回应用持久化层
    • countByUrl

      public int countByUrl(String websiteUrl)
      Description copied from interface: IAppBiz
      查找域名相同站点的个数
      Specified by:
      countByUrl in interface IAppBiz
      Parameters:
      websiteUrl - 域名
      Returns:
      返回站点个数
    • getFirstApp

      public AppEntity getFirstApp()
      Description copied from interface: IAppBiz
      返回app表中的第一条数据,根据id排序 可能存在的情况: 返回null,说明数据库没有站点
      Specified by:
      getFirstApp in interface IAppBiz
      Returns:
      返回站点实体