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("二级类型") @ApiModelProperty("二级类型")
private String level2Type; private String level2Type;
private String modelSex;
@ApiModelProperty("pictureName") @ApiModelProperty("pictureName")
private String pictureName; private String pictureName;
} }

View File

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