Printboard level2Type 语言适配
This commit is contained in:
@@ -16,7 +16,10 @@ public enum Position implements IEnumDisplay {
|
||||
BLOUSE("Blouse"),
|
||||
DRESS("Dress"),
|
||||
TROUSERS("Trousers"),
|
||||
SKIRT("Skirt");
|
||||
SKIRT("Skirt"),
|
||||
SLOGAN("Slogan"),
|
||||
LOGO("Logo"),
|
||||
PATTERN("Pattern");
|
||||
|
||||
private String value;
|
||||
|
||||
|
||||
@@ -209,7 +209,8 @@ public class LibraryServiceImpl extends ServiceImpl<LibraryMapper, Library> impl
|
||||
if (finalMap != null && finalMap.containsKey(library.getId())) {
|
||||
libraryPageVO.setLibraryModelPoint(finalMap.get(library.getId()));
|
||||
}
|
||||
if (libraryPageVO.getLevel1Type().equals(LibraryLevel1TypeEnum.SKETCH_BOARD.getRealName())) {
|
||||
if (libraryPageVO.getLevel1Type().equals(LibraryLevel1TypeEnum.SKETCH_BOARD.getRealName())
|
||||
|| libraryPageVO.getLevel1Type().equals(LibraryLevel1TypeEnum.PRINT_BOARD.getRealName())) {
|
||||
if (!StringUtils.isEmpty(libraryPageVO.getLevel2Type())) {
|
||||
Position position = Position.getPosition(libraryPageVO.getLevel2Type());
|
||||
libraryPageVO.setLevel2TypeEnum(new BizJson(position.getValue(), position.name(), BusinessException.getMessageFromResource(position.name())));
|
||||
|
||||
Reference in New Issue
Block a user