package pig import ( "time" "git.huangwc.com/pig/pig-farm-controller/internal/infra/models" ) // RecordSickPigs 记录新增病猪事件。 func (s *pigBatchService) RecordSickPigs(operatorID uint, batchID uint, penID uint, quantity int, treatmentLocation models.PigBatchSickPigTreatmentLocation, happenedAt time.Time, remarks string) error { // 1. 检查批次是否活跃 // 2. 检查猪栏是否关联 // 3. 检查剩余健康猪不能少于即将转化的病猪数量 // 4. 创建病猪日志 } // RecordSickPigRecovery 记录病猪康复事件。 func (s *pigBatchService) RecordSickPigRecovery(operatorID uint, batchID uint, penID uint, quantity int, treatmentLocation models.PigBatchSickPigTreatmentLocation, happenedAt time.Time, remarks string) error { panic("implement me") } // RecordSickPigDeath 记录病猪死亡事件。 func (s *pigBatchService) RecordSickPigDeath(operatorID uint, batchID uint, penID uint, quantity int, treatmentLocation models.PigBatchSickPigTreatmentLocation, happenedAt time.Time, remarks string) error { panic("implement me") } // RecordSickPigCull 记录病猪淘汰事件。 func (s *pigBatchService) RecordSickPigCull(operatorID uint, batchID uint, penID uint, quantity int, treatmentLocation models.PigBatchSickPigTreatmentLocation, happenedAt time.Time, remarks string) error { panic("implement me") }