ke
2024-08-08 daf4ede1b07dd92aa3e5cbc80c401a56cb74d7ec
skjcmanager/skjcmanager-service/skjcmanager-sm/src/main/java/cn/gistack/sm/sg/controller/SgProjectInfoController.java
@@ -17,10 +17,7 @@
import org.springblade.core.mp.support.Query;
import org.springblade.core.tool.api.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
@@ -42,8 +39,11 @@
   /**
    * 分页列表查询
    */
   @GetMapping(value = "/list")
   public R queryPageList(ProjectSearchDTO searchDTO, Query query) {
   @PostMapping(value = "/list")
   public R queryPageListPage(@RequestBody ProjectSearchDTO searchDTO) {
      Query query = new Query();
      query.setCurrent(searchDTO.getCurrent());
      query.setSize(searchDTO.getSize());
      IPage<SgProjectInfoDO> page = sgProjectInfoService.queryPageList(Condition.getPage(query), searchDTO);
      return R.data(page);
   }