提交 5e6cb158 编写于 作者: ibizdev's avatar ibizdev

hebao1234 发布系统代码 [ibz-dst,应用]

上级 b2fa82f8
......@@ -21,19 +21,14 @@ public interface DABuildMapper extends BaseMapper<DABuild> {
Page<DABuild> searchDefault(IPage page, @Param("srf") DABuildSearchContext context, @Param("ew") Wrapper<DABuild> wrapper);
@Override
@Cacheable(value ="dabuild", key = "'row:'+#p0")
DABuild selectById(Serializable id);
@Override
@CacheEvict(value ="dabuild", key = "'row:'+#p0.buildId")
int insert(DABuild entity);
@Override
@CacheEvict(value ="dabuild", key = "'row:'+#p0.buildId")
int updateById(@Param(Constants.ENTITY) DABuild entity);
@Override
@CacheEvict(value ="dabuild", key = "'row:'+#p0.buildId")
int update(@Param(Constants.ENTITY) DABuild entity, @Param("ew") Wrapper<DABuild> updateWrapper);
@Override
@CacheEvict(value ="dabuild", key = "'row:'+#p0")
int deleteById(Serializable id);
/**
* 自定义查询SQL
......
......@@ -26,13 +26,10 @@ import com.baomidou.mybatisplus.extension.service.IService;
public interface IDABuildService extends IService<DABuild> {
boolean create(DABuild et);
@CacheEvict(value = "dabuild", allEntries = true)
void createBatch(List<DABuild> list);
boolean update(DABuild et);
@CacheEvict(value = "dabuild", allEntries = true)
void updateBatch(List<DABuild> list);
boolean remove(String key);
@CacheEvict(value = "dabuild", allEntries = true)
void removeBatch(Collection<String> idList);
DABuild get(String key);
DABuild getDraft(DABuild et);
......@@ -44,13 +41,10 @@ public interface IDABuildService extends IService<DABuild> {
DABuild run(DABuild et);
boolean runBatch(List<DABuild> etList);
boolean save(DABuild et);
@CacheEvict(value = "dabuild",allEntries = true)
void saveBatch(List<DABuild> list);
Page<DABuild> searchDefault(DABuildSearchContext context);
List<DABuild> selectByModelId(String id);
@CacheEvict(value = "dabuild", allEntries = true)
void removeByModelId(String id);
@CacheEvict(value = "dabuild", allEntries = true)
void saveByModelId(String id, List<DABuild> list) ;
/**
*自定义查询SQL
......
......@@ -4,7 +4,7 @@
<!--输出实体[DA_BUILD]数据结构 -->
<changeSet author="root" id="tab-da_build-78-1">
<changeSet author="root" id="tab-da_build-80-1">
<createTable tableName="IBZDABUILD">
<column name="BUILDID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DA_BUILD_BUILDID"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册