Compare commits
No commits in common. "45ed352030c8c4d59b55f0939282127ba65c9dfd" and "7f57dae35c924f042c1c3dbbc8e68c406a3bc94a" have entirely different histories.
45ed352030
...
7f57dae35c
@ -26,5 +26,4 @@ public interface BusiKeywordMapper extends BaseMapper<BusiKeyword>
|
||||
**/
|
||||
Date selectNewDate();
|
||||
|
||||
void deleteByIdAndTenantId(@Param("id") String item, @Param("tenantId") String tenantId);
|
||||
}
|
||||
|
@ -69,8 +69,6 @@ public class BusiKeywordServiceImpl extends ServiceImpl<BusiKeywordMapper,BusiKe
|
||||
keywordItem.setTenantId(prodNew.getTenantId());
|
||||
keywordItem.setCreateTime(nowDate);
|
||||
insertList.add(keywordItem);
|
||||
//根据id和tenantId删除对应的关键词
|
||||
busiKeywordMapper.deleteByIdAndTenantId(item,prodNew.getTenantId());
|
||||
});
|
||||
}
|
||||
if(!insertList.isEmpty()){
|
||||
|
@ -12,9 +12,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<sql id="selectBusiKeywordVo">
|
||||
select id, tenant_id from dl_busi_keyword
|
||||
</sql>
|
||||
<delete id="deleteByIdAndTenantId">
|
||||
DELETE dl_busi_keyword WHERE id =#{id} AND tenant_id=#{tenantId}
|
||||
</delete>
|
||||
|
||||
<select id="queryListPage" parameterType="BusiKeyword" resultMap="BusiKeywordResult">
|
||||
<include refid="selectBusiKeywordVo"/>
|
||||
|
Loading…
Reference in New Issue
Block a user