完善保险端前后端和养殖端小程序
This commit is contained in:
@@ -190,8 +190,8 @@ class IotCattleController {
|
||||
attributes: [
|
||||
'id', 'earNumber', 'sex', 'strain', 'varieties', 'cate',
|
||||
'birthWeight', 'birthday', 'penId', 'batchId', 'orgId',
|
||||
'weight', 'level', 'weightCalculateTime', 'dayOfBirthday',
|
||||
'intoTime', 'parity', 'source', 'sourceDay', 'sourceWeight',
|
||||
'weight', 'parity', 'weightCalculateTime', 'dayOfBirthday',
|
||||
'intoTime', 'source', 'sourceDay', 'sourceWeight',
|
||||
'event', 'eventTime', 'lactationDay', 'semenNum', 'isWear',
|
||||
'imgs', 'isEleAuth', 'isQuaAuth', 'isDelete', 'isOut',
|
||||
'createUid', 'createTime', 'algebra', 'colour', 'infoWeight',
|
||||
@@ -235,7 +235,7 @@ class IotCattleController {
|
||||
sourceDay: cattle.sourceDay,
|
||||
sourceWeight: cattle.sourceWeight,
|
||||
ageInMonths: calculateAgeInMonths(cattle.birthday), // 从iot_cattle.birthday计算月龄
|
||||
physiologicalStage: cattle.level || 0, // 使用level作为生理阶段
|
||||
physiologicalStage: cattle.parity || 0, // 使用parity作为生理阶段
|
||||
currentWeight: cattle.weight || 0, // 使用weight作为当前体重
|
||||
weightCalculateTime: cattle.weightCalculateTime,
|
||||
dayOfBirthday: cattle.dayOfBirthday,
|
||||
@@ -331,7 +331,7 @@ class IotCattleController {
|
||||
sourceDay: cattle.sourceDay,
|
||||
sourceWeight: cattle.sourceWeight,
|
||||
ageInMonths: calculateAgeInMonths(cattle.birthday), // 从iot_cattle.birthday计算月龄
|
||||
physiologicalStage: cattle.level || 0, // 使用level作为生理阶段
|
||||
physiologicalStage: cattle.parity || 0, // 使用parity作为生理阶段
|
||||
currentWeight: cattle.weight || 0, // 使用weight作为当前体重
|
||||
weightCalculateTime: cattle.weightCalculateTime,
|
||||
dayOfBirthday: cattle.dayOfBirthday,
|
||||
|
||||
Reference in New Issue
Block a user