From 040c4ccacba24de47b320f6dc39a39ef88673128 Mon Sep 17 00:00:00 2001
From: guanqp <2634859599@qq.com>
Date: Tue, 19 Jul 2022 18:21:12 +0800
Subject: [PATCH] Merge branch 'master' of http://s16s652780.51mypc.cn:49896/r/zhny-dsjdp
---
src/api/farm/farmingrecord.js | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/src/api/farm/farmingrecord.js b/src/api/farm/farmingrecord.js
index d4d9aba..8c7d355 100644
--- a/src/api/farm/farmingrecord.js
+++ b/src/api/farm/farmingrecord.js
@@ -89,22 +89,22 @@
})
}
-export const getFarmingCount = (deptId) => {
+export const getFarmingCount = (farmId) => {
return request({
url: '/farmingRecord/getFarmingCount',
method: 'get',
params: {
- deptId
+ farmId
}
})
}
-export const getFarmingStatis = (deptId) => {
+export const getFarmingStatis = (farmId) => {
return request({
url: '/farmingRecord/getFarmingStatis',
method: 'get',
params: {
- deptId
+ farmId
}
})
}
@@ -119,10 +119,13 @@
}
})
}
-export const SelectCount = () => {
+export const SelectCount = (farmId) => {
return request({
url: '/farm/SelectCount',
- method: 'get'
+ method: 'get',
+ params: {
+ farmId
+ }
})
}
--
Gitblit v1.9.3