|
@@ -13,10 +13,7 @@ import com.migao.service.SupplierService;
|
|
|
import com.migao.util.EntityUtils;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestPart;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
@@ -67,4 +64,59 @@ public class SupplierController {
|
|
|
|
|
|
return ResponseBuilder.ok(200,"导入成功");
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation("导出供应商信息")
|
|
|
+ @PostMapping(value = "/exportSupplier")
|
|
|
+ public ResponseBean<?> exportSupplier() {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("新增供应商信息")
|
|
|
+ @PostMapping(value = "/insert")
|
|
|
+ public ResponseBean<?> insert() {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("删除供应商信息")
|
|
|
+ @PostMapping(value = "/deleteById")
|
|
|
+ public ResponseBean<?> deleteById(@RequestParam String id){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("查看单条供应商信息")
|
|
|
+ @PostMapping(value = "/findById")
|
|
|
+ public ResponseBean<?> findById(@RequestParam String id){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("分页查看所有供应商信息")
|
|
|
+ @PostMapping(value = "/pageQuery")
|
|
|
+ public ResponseBean<?> pageQuery(){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("分页查看当前用户供应商信息")
|
|
|
+ @PostMapping(value = "/pageQuery")
|
|
|
+ public ResponseBean<?> pageQueryById(@RequestParam String id){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("分页模糊查看所有供应商信息")
|
|
|
+ @PostMapping(value = "/pageQueryOne")
|
|
|
+ public ResponseBean<?> pageQueryOne(){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("分页模糊查看当前用户供应商信息")
|
|
|
+ @PostMapping(value = "/pageQueryOneById")
|
|
|
+ public ResponseBean<?> pageQueryOneById(){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation("更新")
|
|
|
+ @PostMapping(value = "/update")
|
|
|
+ public ResponseBean<?> update(){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
}
|