Selaa lähdekoodia

字段重命名

tags/24080901
WendyYang 1 vuosi sitten
vanhempi
commit
4a3e081b69
1 muutettua tiedostoa jossa 8 lisäystä ja 2 poistoa
  1. +8
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/AnnualPlanLibManage.java

+ 8
- 2
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/AnnualPlanLibManage.java Näytä tiedosto

@@ -1,5 +1,10 @@
package com.ningdatech.pmapi.projectlib.manage;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ningdatech.pmapi.projectlib.helper.ProjectHelper;
import com.ningdatech.pmapi.projectlib.model.entity.Project;
import com.ningdatech.pmapi.projectlib.model.req.ProjectListReq;
import com.ningdatech.pmapi.projectlib.service.IProjectService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Component;
@@ -18,8 +23,9 @@ public class AnnualPlanLibManage {

private final IProjectService projectService;

public void annulPlanLibList() {

public void annulPlanLibList(ProjectListReq req) {
LambdaQueryWrapper<Project> query = ProjectHelper.projectQuery(req);
Page<Project> page = projectService.page(req.page(), query);
}

}

Loading…
Peruuta
Tallenna