@Service public class ColorSchemeServiceImpl extends Object implements ColorSchemeService
| Constructor and Description |
|---|
ColorSchemeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSameName(String name) |
Boolean |
deleteById(String id)
根据id查询
|
void |
exportScheme(String schemeId)
导出颜色方案
|
Boolean |
importScheme(org.springframework.web.multipart.MultipartFile file,
String schemeId)
导入颜色方案
|
List<CmColorScheme> |
queryList()
查询所有方案
|
String |
saveOrUpdateInfo(CmColorScheme colorScheme)
保存或更新
|
public String saveOrUpdateInfo(CmColorScheme colorScheme)
ColorSchemeServicesaveOrUpdateInfo in interface ColorSchemeServicepublic List<CmColorScheme> queryList()
ColorSchemeServicequeryList in interface ColorSchemeServicepublic Boolean deleteById(String id)
ColorSchemeServicedeleteById in interface ColorSchemeServicepublic void exportScheme(String schemeId)
ColorSchemeServiceexportScheme in interface ColorSchemeServiceschemeId - 颜色方案标识@Transactional(rollbackFor=java.lang.Exception.class) public Boolean importScheme(org.springframework.web.multipart.MultipartFile file, String schemeId)
ColorSchemeServiceimportScheme in interface ColorSchemeServicefile - json文件schemeId - 颜色方案标识,参数为空时新增颜色方案public void checkSameName(String name)
Copyright © 2025. All rights reserved.