|
@ -63,6 +63,7 @@ class ChickenService { |
|
|
} |
|
|
} |
|
|
// 生成real_life_init_time
|
|
|
// 生成real_life_init_time
|
|
|
const real_life_init_time = getTimeLastDate(put_time, chicken_day_life); |
|
|
const real_life_init_time = getTimeLastDate(put_time, chicken_day_life); |
|
|
|
|
|
// 进鸡数量不能超过 鸡笼最大量
|
|
|
const res = await Chicken.create({ |
|
|
const res = await Chicken.create({ |
|
|
house_id, |
|
|
house_id, |
|
|
coop_id: coop_id.join(","), |
|
|
coop_id: coop_id.join(","), |
|
|