fix(自定义对比): 78408

This commit is contained in:
yjz
2023-12-04 15:22:48 +08:00
parent 792f9d12d2
commit bfb39ee2fc
3 changed files with 5 additions and 1 deletions
@@ -31,6 +31,7 @@
hidden_table,
u.username username,
u.realname realname,
u.id authorId,
concat(u.realname, '(', u.username, ')') author,
i.create_by,
i.create_time,
@@ -125,7 +125,7 @@ public class LawsCustomCompareInfoServiceImpl extends ServiceImpl<LawsCustomComp
.or().eq(IS_SHOW, LawsCustomCompareCommon.IS_SHOW_1));
}
queryWrapper.eq("del_flag", 0);
queryWrapper.orderByDesc("create_time");
queryWrapper.orderByDesc("id");
return lawsCustomCompareInfoMapper.queryByPage(new Page<>(pageNo, pageSize), queryWrapper);
}
@@ -40,6 +40,9 @@ public class LawsCustomCompareInfoVO {
/**操作人*/
@ApiModelProperty(value = "操作人")
private String createBy;
/**操作人id*/
@ApiModelProperty(value = "操作人id")
private String authorId;
/**操作人翻译*/
@ApiModelProperty(value = "操作人翻译")
private String author;