BUGFIX: library关联分类;
This commit is contained in:
@@ -15,8 +15,12 @@ public enum ResultEnum {
|
||||
|
||||
NO_LOGIN(false, -100, "User not logged in"),
|
||||
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 String msg;
|
||||
private boolean isOK;
|
||||
|
||||
@@ -151,6 +151,7 @@ public class ClassificationServiceImpl implements ClassificationService {
|
||||
classificationRelLibrary.setClassificationId(addId);
|
||||
classificationRelLibrary.setLibraryId(classificationDTO.getLibraryId());
|
||||
classificationRelLibrary.setCreateTime(LocalDateTime.now());
|
||||
classificationRelLibrary.setIsDeleted(0);
|
||||
// classificationRelLibrary.setUserId();
|
||||
classificationRelLibraryMapper.insert(classificationRelLibrary);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user