|
|
@@ -97,14 +97,21 @@ public class BrandMapController {
|
|
|
return mapService.deleteOneMap(id);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 初始化品牌映射数据
|
|
|
+ */
|
|
|
@RequestMapping(value = "/initMap", method = RequestMethod.POST)
|
|
|
- public void initAllBrandMap(){
|
|
|
+ public void initAllBrandMap() {
|
|
|
logger.log("品牌映射", "品牌映射初始化");
|
|
|
mapService.initBrandMap();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 根据enuu初始化品牌映射数据
|
|
|
+ * @param enuu
|
|
|
+ */
|
|
|
@RequestMapping(value = "/initMap/{enuu}", method = RequestMethod.GET)
|
|
|
- public void initBrandMapByEnUU(@PathVariable Long enuu){
|
|
|
+ public void initBrandMapByEnUU(@PathVariable Long enuu) {
|
|
|
logger.log("品牌映射", "品牌映射初始化");
|
|
|
mapService.initBrandMapByEnUU(enuu);
|
|
|
}
|