BUGFIX: library分页;

This commit is contained in:
shahaibo
2023-10-12 14:52:40 +08:00
parent 6f01397d18
commit e3b7304bbf
2 changed files with 4 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ public class QueryLibraryPageDTO extends PageQueryBaseVo {
@ApiModelProperty("二级类型")
private String level2Type;
private String modelSex;
@ApiModelProperty("pictureName")
private String pictureName;
}

View File

@@ -82,6 +82,8 @@ public class WorkspaceServiceImpl extends ServiceImpl<WorkspaceMapper, Workspace
@Override
public boolean saveOrUpdate(Workspace workspace) {
// 防止前端传值修改标识
workspace.setIsLastIndex(null);
AuthPrincipalVo userInfo = UserContext.getUserHolder();
workspace.setUserName(userInfo.getUsername());
if (null == workspace.getId()) {