|
@@ -4,11 +4,7 @@ package com.yh.saas.plugin.yiliangyiyun.controller;
|
|
import com.yh.saas.plugin.yiliangyiyun.entity.PriceConfirmationSheet;
|
|
import com.yh.saas.plugin.yiliangyiyun.entity.PriceConfirmationSheet;
|
|
import com.yh.saas.plugin.yiliangyiyun.service.IPriceConfirmationSheetService;
|
|
import com.yh.saas.plugin.yiliangyiyun.service.IPriceConfirmationSheetService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
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.RequestBody;
|
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
@@ -64,5 +60,12 @@ public class PriceConfirmationSheetController {
|
|
public void deletePriceConfirmationSheet(@RequestBody PriceConfirmationSheet priceConfirmationSheet){
|
|
public void deletePriceConfirmationSheet(@RequestBody PriceConfirmationSheet priceConfirmationSheet){
|
|
priceConfirmationSheetService.deletePriceConfirmationSheet(priceConfirmationSheet.getId());
|
|
priceConfirmationSheetService.deletePriceConfirmationSheet(priceConfirmationSheet.getId());
|
|
}
|
|
}
|
|
|
|
+ /**
|
|
|
|
+ * 查看确认单信息
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/getInfo")
|
|
|
|
+ public PriceConfirmationSheet getInfo(@RequestParam String id) {
|
|
|
|
+ return priceConfirmationSheetService.getInfo(id);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|