|
|
@@ -1,10 +1,19 @@
|
|
|
package com.zd.bottle.controller;
|
|
|
|
|
|
import com.zd.bottle.domain.BottleStorage;
|
|
|
+import com.zd.bottle.domain.BottleStorageOut;
|
|
|
+import com.zd.bottle.service.BottleStorageOutService;
|
|
|
+import com.zd.bottle.service.BottleStorageService;
|
|
|
+import com.zd.common.core.web.page.TableDataInfo;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
import com.zd.common.core.web.controller.BaseController;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* 气瓶入库表 前端控制器
|
|
|
@@ -16,5 +25,14 @@ import com.zd.common.core.web.controller.BaseController;
|
|
|
@RestController
|
|
|
@RequestMapping("/bottleStorage")
|
|
|
public class BottleStorageController extends BaseController<BottleStorage> {
|
|
|
+ @Autowired
|
|
|
+ private BottleStorageService bottleStorageService;
|
|
|
|
|
|
+ @ApiModelProperty(value = "领用气瓶列表")
|
|
|
+ @GetMapping("/receivingGasList")
|
|
|
+ public TableDataInfo <BottleStorage> receivingGasList(BottleStorage bottleStorage){
|
|
|
+ startPage();
|
|
|
+ List <BottleStorage> list = bottleStorageService.receivingGasList(bottleStorage);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
}
|