BUGFIX: library关联分类;
This commit is contained in:
@@ -15,8 +15,12 @@ public enum ResultEnum {
|
|||||||
|
|
||||||
NO_LOGIN(false, -100, "User not logged in"),
|
NO_LOGIN(false, -100, "User not logged in"),
|
||||||
NO_PERMISSION(false, -200, "No access"),
|
NO_PERMISSION(false, -200, "No access"),
|
||||||
ACCOUNT_LOCK(false, -300, "Account frozen");
|
ACCOUNT_LOCK(false, -300, "Account frozen"),
|
||||||
|
|
||||||
|
PROMPT(false, 1, "Prompt"),
|
||||||
|
WARNING(false, 2, "Warning"),
|
||||||
|
|
||||||
|
;
|
||||||
private int code;
|
private int code;
|
||||||
private String msg;
|
private String msg;
|
||||||
private boolean isOK;
|
private boolean isOK;
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ public class ClassificationServiceImpl implements ClassificationService {
|
|||||||
classificationRelLibrary.setClassificationId(addId);
|
classificationRelLibrary.setClassificationId(addId);
|
||||||
classificationRelLibrary.setLibraryId(classificationDTO.getLibraryId());
|
classificationRelLibrary.setLibraryId(classificationDTO.getLibraryId());
|
||||||
classificationRelLibrary.setCreateTime(LocalDateTime.now());
|
classificationRelLibrary.setCreateTime(LocalDateTime.now());
|
||||||
|
classificationRelLibrary.setIsDeleted(0);
|
||||||
// classificationRelLibrary.setUserId();
|
// classificationRelLibrary.setUserId();
|
||||||
classificationRelLibraryMapper.insert(classificationRelLibrary);
|
classificationRelLibraryMapper.insert(classificationRelLibrary);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user