bug--修复砍价海报价格不变问题
This commit is contained in:
@ -116,4 +116,10 @@ public interface YxStoreBargainService extends BaseService<YxStoreBargain>{
|
||||
* @throws IOException /
|
||||
*/
|
||||
void download(List<YxStoreBargainDto> all, HttpServletResponse response) throws IOException;
|
||||
|
||||
/**
|
||||
* 删除砍价海报
|
||||
* @param id
|
||||
*/
|
||||
void deleteBargainImg(String id);
|
||||
}
|
||||
|
@ -418,4 +418,14 @@ public class YxStoreBargainServiceImpl extends BaseServiceImpl<YxStoreBargainMap
|
||||
}
|
||||
FileUtil.downloadExcel(list, response);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除砍价海报
|
||||
*
|
||||
* @param name
|
||||
*/
|
||||
@Override
|
||||
public void deleteBargainImg(String name) {
|
||||
baseMapper.deleteBargainImg(name);
|
||||
}
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ package co.yixiang.modules.activity.service.mapper;
|
||||
import co.yixiang.common.mapper.CoreMapper;
|
||||
import co.yixiang.modules.activity.domain.YxStoreBargain;
|
||||
import co.yixiang.modules.product.vo.YxStoreProductQueryVo;
|
||||
import org.apache.ibatis.annotations.Delete;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Select;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
@ -53,4 +54,6 @@ public interface YxStoreBargainMapper extends CoreMapper<YxStoreBargain> {
|
||||
" where id=#{id}")
|
||||
void addBargainLook(@Param("id") Long id);
|
||||
|
||||
@Delete("delete from yx_system_attachment where name = #{name}")
|
||||
void deleteBargainImg(@Param("name") String name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user