4 changed files with 74 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||
|
package com.kms.bind.controller; |
||||
|
|
||||
|
|
||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||
|
import com.jianwei.common.core.domain.SearchParam; |
||||
|
import com.kms.earlyStage.domain.SpecialProjectPreDesign; |
||||
|
import com.kms.earlyStage.service.SpecialProjectPreDesignService; |
||||
|
import org.springframework.beans.factory.annotation.Autowired; |
||||
|
import org.springframework.web.bind.annotation.PostMapping; |
||||
|
import org.springframework.web.bind.annotation.RequestMapping; |
||||
|
import org.springframework.web.bind.annotation.RestController; |
||||
|
|
||||
|
@RestController |
||||
|
@RequestMapping("/bind") |
||||
|
public class BindingController { |
||||
|
|
||||
|
@Autowired |
||||
|
private SpecialProjectPreDesignService specialProjectPreDesignService; |
||||
|
|
||||
|
|
||||
|
@PostMapping("/listProject") |
||||
|
public IPage listProject(SearchParam<SpecialProjectPreDesign> sp) { |
||||
|
|
||||
|
IPage<SpecialProjectPreDesign> page=specialProjectPreDesignService.listProject(sp); |
||||
|
|
||||
|
return page; |
||||
|
|
||||
|
} |
||||
|
|
||||
|
|
||||
|
} |
Loading…
Reference in new issue