zhangyuewww 3 years ago
parent
commit
41ddd02685

+ 7 - 1
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/controller/StockPurchaseReceiptReportController.java

@@ -72,6 +72,12 @@ public class StockPurchaseReceiptReportController {
     public List<ContractManagementInfo> selectContractNoList(String compId) {
         return stockPurchaseReceiptReportService.selectContractNoList(compId);
     }
-
+    /**
+     * 查看
+     */
+    @GetMapping("/getInfo")
+    public StockPurchaseReceiptReport getInfo(@RequestParam String id) {
+        return stockPurchaseReceiptReportService.getInfo(id);
+    }
 }
 

+ 6 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/IStockPurchaseReceiptReportService.java

@@ -50,5 +50,11 @@ public interface IStockPurchaseReceiptReportService extends IService<StockPurcha
      * @param compId
      */
     List<ContractManagementInfo> selectContractNoList(String compId);
+    /**
+     * 查看
+     *
+     * @param id
+     */
+    StockPurchaseReceiptReport getInfo(String id);
 
 }

+ 11 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/StockPurchaseReceiptReportServiceImpl.java

@@ -237,6 +237,17 @@ public class StockPurchaseReceiptReportServiceImpl extends ServiceImpl<StockPurc
         return contractManagementInfoList;
     }
 
+    /**
+     * 查看
+     * @param id
+     * @return
+     */
+    @Override
+    public StockPurchaseReceiptReport getInfo(String id) {
+        StockPurchaseReceiptReport stockPurchaseReceiptReport=this.selectById(id);
+        return stockPurchaseReceiptReport;
+    }
+
 
     private List<String> getResourceIdList() {
         User currentUser = AuthSecurityUtils.getCurrentUserInfo();