提交 24220dc5 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码

上级 fadece10
...@@ -21,14 +21,19 @@ public interface SysOpenAccessMapper extends BaseMapper<SysOpenAccess>{ ...@@ -21,14 +21,19 @@ public interface SysOpenAccessMapper extends BaseMapper<SysOpenAccess>{
Page<SysOpenAccess> searchDefault(IPage page, @Param("srf") SysOpenAccessSearchContext context, @Param("ew") Wrapper<SysOpenAccess> wrapper) ; Page<SysOpenAccess> searchDefault(IPage page, @Param("srf") SysOpenAccessSearchContext context, @Param("ew") Wrapper<SysOpenAccess> wrapper) ;
@Override @Override
@Cacheable( value="sysopenaccess",key = "'row:'+#p0")
SysOpenAccess selectById(Serializable id); SysOpenAccess selectById(Serializable id);
@Override @Override
@CacheEvict( value="sysopenaccess",key = "'row:'+#p0.id")
int insert(SysOpenAccess entity); int insert(SysOpenAccess entity);
@Override @Override
@CacheEvict( value="sysopenaccess",key = "'row:'+#p0.id")
int updateById(@Param(Constants.ENTITY) SysOpenAccess entity); int updateById(@Param(Constants.ENTITY) SysOpenAccess entity);
@Override @Override
@CacheEvict(value="sysopenaccess",key = "'row:'+#p0.id")
int update(@Param(Constants.ENTITY) SysOpenAccess entity, @Param("ew") Wrapper<SysOpenAccess> updateWrapper); int update(@Param(Constants.ENTITY) SysOpenAccess entity, @Param("ew") Wrapper<SysOpenAccess> updateWrapper);
@Override @Override
@CacheEvict( value="sysopenaccess",key = "'row:'+#p0")
int deleteById(Serializable id); int deleteById(Serializable id);
/** /**
* 自定义查询SQL * 自定义查询SQL
......
...@@ -26,15 +26,19 @@ import com.baomidou.mybatisplus.extension.service.IService; ...@@ -26,15 +26,19 @@ import com.baomidou.mybatisplus.extension.service.IService;
public interface ISysOpenAccessService extends IService<SysOpenAccess>{ public interface ISysOpenAccessService extends IService<SysOpenAccess>{
boolean create(SysOpenAccess et) ; boolean create(SysOpenAccess et) ;
@CacheEvict(value="sysopenaccess",allEntries=true)
void createBatch(List<SysOpenAccess> list) ; void createBatch(List<SysOpenAccess> list) ;
boolean update(SysOpenAccess et) ; boolean update(SysOpenAccess et) ;
@CacheEvict(value="sysopenaccess",allEntries=true)
void updateBatch(List<SysOpenAccess> list) ; void updateBatch(List<SysOpenAccess> list) ;
boolean remove(String key) ; boolean remove(String key) ;
@CacheEvict(value="sysopenaccess",allEntries=true)
void removeBatch(Collection<String> idList) ; void removeBatch(Collection<String> idList) ;
SysOpenAccess get(String key) ; SysOpenAccess get(String key) ;
SysOpenAccess getDraft(SysOpenAccess et) ; SysOpenAccess getDraft(SysOpenAccess et) ;
boolean checkKey(SysOpenAccess et) ; boolean checkKey(SysOpenAccess et) ;
boolean save(SysOpenAccess et) ; boolean save(SysOpenAccess et) ;
@CacheEvict(value="sysopenaccess",allEntries=true)
void saveBatch(List<SysOpenAccess> list) ; void saveBatch(List<SysOpenAccess> list) ;
Page<SysOpenAccess> searchDefault(SysOpenAccessSearchContext context) ; Page<SysOpenAccess> searchDefault(SysOpenAccessSearchContext context) ;
/** /**
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
<!--输出实体[SYS_OPEN_ACCESS]数据结构 --> <!--输出实体[SYS_OPEN_ACCESS]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-sys_open_access-15-2"> <changeSet author="a_A_5d9d78509" id="tab-sys_open_access-17-2">
<createTable tableName="IBZOPENACCESS"> <createTable tableName="IBZOPENACCESS">
<column name="ACCESSID" remarks="" type="VARCHAR(100)"> <column name="ACCESSID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_SYS_OPEN_ACCESS_ACCESSID"/> <constraints primaryKey="true" primaryKeyName="PK_SYS_OPEN_ACCESS_ACCESSID"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册