2025-07-16 18:24:18 +08:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
// 查询羊只分组关联列表
|
|
|
|
export function listSheep_grouping(query) {
|
|
|
|
return request({
|
|
|
|
url: '/sheep_grouping/sheep_grouping/list',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2025-07-18 13:01:25 +08:00
|
|
|
|
|
|
|
// 查询羊只分组关联列表(联表)
|
|
|
|
export function listSheep_grouping_join(query) {
|
|
|
|
return request({
|
|
|
|
url: '/sheep_grouping/sheep_grouping/listJoin',
|
|
|
|
method: 'get',
|
|
|
|
params: query
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
2025-07-16 18:24:18 +08:00
|
|
|
// 查询羊只分组关联详细
|
|
|
|
export function getSheep_grouping(id) {
|
|
|
|
return request({
|
|
|
|
url: '/sheep_grouping/sheep_grouping/' + id,
|
|
|
|
method: 'get'
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 新增羊只分组关联
|
|
|
|
export function addSheep_grouping(data) {
|
|
|
|
return request({
|
|
|
|
url: '/sheep_grouping/sheep_grouping',
|
|
|
|
method: 'post',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 修改羊只分组关联
|
|
|
|
export function updateSheep_grouping(data) {
|
|
|
|
return request({
|
|
|
|
url: '/sheep_grouping/sheep_grouping',
|
|
|
|
method: 'put',
|
|
|
|
data: data
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
// 删除羊只分组关联
|
|
|
|
export function delSheep_grouping(id) {
|
|
|
|
return request({
|
|
|
|
url: '/sheep_grouping/sheep_grouping/' + id,
|
|
|
|
method: 'delete'
|
|
|
|
})
|
|
|
|
}
|