优化

pull/48/head
smallbun 2023-09-13 22:03:11 +08:00
parent 5845e254f4
commit 6ab9891d28
2 changed files with 5 additions and 5 deletions

View File

@ -119,7 +119,7 @@ public class AppRepositoryCustomizedImpl implements AppRepositoryCustomized {
*/ */
public Page<AppEntity> getAppList(AppQuery appQuery, Pageable pageable) { public Page<AppEntity> getAppList(AppQuery appQuery, Pageable pageable) {
//@formatter:off //@formatter:off
StringBuilder builder = new StringBuilder("SELECT * FROM( SELECT app.* FROM app LEFT JOIN app_group_association `group` ON app.id_ = `group`.app_id) app WHERE app.is_deleted = 0"); StringBuilder builder = new StringBuilder("SELECT app.* FROM app LEFT JOIN app_group_association `group` ON app.id_ = `group`.app_id WHERE app.is_deleted=0");
//应用名称 //应用名称
if (StringUtils.isNoneBlank(appQuery.getName())) { if (StringUtils.isNoneBlank(appQuery.getName())) {

View File

@ -40,25 +40,25 @@ public class AppUpdateParam implements Serializable {
*/ */
@Schema(description = "应用id") @Schema(description = "应用id")
@NotNull(message = "ID不能为空") @NotNull(message = "ID不能为空")
private Long id; private Long id;
/** /**
* *
*/ */
@Schema(description = "应用名称") @Schema(description = "应用名称")
private String name; private String name;
/** /**
* *
*/ */
@Schema(description = "应用图标") @Schema(description = "应用图标")
private String icon; private String icon;
/** /**
* *
*/ */
@Schema(description = "备注") @Schema(description = "备注")
private String remark; private String remark;
/** /**
* id * id