|
|
@@ -10,19 +10,19 @@ import com.fs.store.service.IFsCityService;
|
|
|
|
|
|
/**
|
|
|
* 城市Service业务层处理
|
|
|
- *
|
|
|
+ *
|
|
|
* @author fs
|
|
|
* @date 2022-03-15
|
|
|
*/
|
|
|
@Service
|
|
|
-public class FsCityServiceImpl implements IFsCityService
|
|
|
+public class FsCityServiceImpl implements IFsCityService
|
|
|
{
|
|
|
@Autowired
|
|
|
private FsCityMapper fsCityMapper;
|
|
|
|
|
|
/**
|
|
|
* 查询城市
|
|
|
- *
|
|
|
+ *
|
|
|
* @param id 城市ID
|
|
|
* @return 城市
|
|
|
*/
|
|
|
@@ -34,7 +34,7 @@ public class FsCityServiceImpl implements IFsCityService
|
|
|
|
|
|
/**
|
|
|
* 查询城市列表
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsCity 城市
|
|
|
* @return 城市
|
|
|
*/
|
|
|
@@ -46,7 +46,7 @@ public class FsCityServiceImpl implements IFsCityService
|
|
|
|
|
|
/**
|
|
|
* 新增城市
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsCity 城市
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -58,7 +58,7 @@ public class FsCityServiceImpl implements IFsCityService
|
|
|
|
|
|
/**
|
|
|
* 修改城市
|
|
|
- *
|
|
|
+ *
|
|
|
* @param fsCity 城市
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -70,7 +70,7 @@ public class FsCityServiceImpl implements IFsCityService
|
|
|
|
|
|
/**
|
|
|
* 批量删除城市
|
|
|
- *
|
|
|
+ *
|
|
|
* @param ids 需要删除的城市ID
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -82,7 +82,7 @@ public class FsCityServiceImpl implements IFsCityService
|
|
|
|
|
|
/**
|
|
|
* 删除城市信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @param id 城市ID
|
|
|
* @return 结果
|
|
|
*/
|
|
|
@@ -93,7 +93,6 @@ public class FsCityServiceImpl implements IFsCityService
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- @Cacheable(cacheNames = "citys")
|
|
|
public List<FsCity> selectFsCitys() {
|
|
|
return fsCityMapper.selectFsCitys();
|
|
|
}
|