|
@ -49,7 +49,9 @@ import org.springframework.stereotype.Service; |
|
|
import java.io.IOException; |
|
|
import java.io.IOException; |
|
|
import java.io.InputStream; |
|
|
import java.io.InputStream; |
|
|
import java.util.ArrayList; |
|
|
import java.util.ArrayList; |
|
|
|
|
|
import java.util.HashMap; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* Project: supervise-customer(客户中心) <br/> |
|
|
* Project: supervise-customer(客户中心) <br/> |
|
@ -131,7 +133,11 @@ public class RestrictedBrandService extends MybatisBaseService<RestrictedBrandMa |
|
|
qw.eq("id", id); |
|
|
qw.eq("id", id); |
|
|
return baseMapper.selectOne(qw); |
|
|
return baseMapper.selectOne(qw); |
|
|
} |
|
|
} |
|
|
|
|
|
public int deleteById(String id) { |
|
|
|
|
|
Map<String, Object> map = new HashMap<>(); |
|
|
|
|
|
map.put("id", id); |
|
|
|
|
|
return baseMapper.deleteByMap(map); |
|
|
|
|
|
} |
|
|
public void readBrandPeriodSorXls1(InputStream is, String sid) { |
|
|
public void readBrandPeriodSorXls1(InputStream is, String sid) { |
|
|
HSSFWorkbook hssfWorkbook = null; |
|
|
HSSFWorkbook hssfWorkbook = null; |
|
|
try { |
|
|
try { |
|
|