This commit is contained in:
2025-10-23 16:07:21 +08:00
parent 03eed8202b
commit e341e53fe2

View File

@@ -244,11 +244,11 @@ export const assignPensToBatch = (id, pensData) => {
/**
* 从猪批次移除空栏
* @param {number} batchID - 猪批次ID
* @param {number} penID - 待移除的猪栏ID
* @param {number} batchID - 猪批次ID
* @returns {Promise<*>}
*/
export const removePenFromBatch = (batchID, penID) => {
export const removePenFromBatch = (penID, batchID) => {
return http.delete(`/api/v1/pig-batches/remove-pen/${penID}/${batchID}`);
};