From 51a4ff5d777028d52a19c314a99f796334cb7b51 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 23 十一月 2019 18:30:01 +0800 Subject: [PATCH] 配置文件修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java index 069d925..6810c7d 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/brand/BrandInfoService.java @@ -1,6 +1,9 @@ package com.yeshi.fanli.service.inter.brand; +import java.util.Date; import java.util.List; + +import org.springframework.web.multipart.MultipartFile; import com.yeshi.fanli.entity.brand.BrandInfo; import com.yeshi.fanli.exception.brand.BrandClassException; @@ -22,7 +25,7 @@ * @throws BrandClassException * @throws Exception */ - public void saveObject(BrandInfo record) throws BrandInfoException; + public void saveObject(MultipartFile file, BrandInfo record) throws BrandInfoException; /** @@ -102,4 +105,11 @@ public long countValidByCid(Long cid); + + /** + * 鍒犻櫎涔嬪墠鐨� + * @param date + */ + public void removeAgoByDate(Date date); + } -- Gitblit v1.8.0