实体类的构建
落地仔猪批次的表;
母猪的调拨表:'DTM_ADD_TIME': None,
'NVC_SOW_ID': None,
'NVC_OLD_EH': None,
'NVC_OUT_FARM_ID': None,
'NVC_OUT_BUILDING_ID': None,
'NVC_OUT_COLUMN_ID': None,
'NVC_OUT_PROLINE_ID': None,
'NVC_AIM_FARM_ID': None,
'NVC_AIM_BUILDING_ID': None,
'NVC_AIM_COLUMN_ID': None,
# 调拨表
'DTM_END_DATE': None;
母猪的产房分娩表:
'ID': None,
'DTM_ADD_TIME': None,
'DTM_EDIT_TIME': None,
'NVC_DELETE': None,
'NVC_SOW_ID': None,
'DTM_MAT_DATE': None,
'DTM_DELIVER_DATE': None,
'NVC_IN_BATCH': None,
'DBL_HZ_W_WEIGHT': None,
'DBL_HZ_AVG_WEIGHT': None,
'INT_LIVE_NUMBER': None,
'INT_JZ_NUMBER': None,
'INT_RZ_NUMBER': None,
'INT_JX_NUMBER': None,
'INT_HGZ_NUMBER': None,
'INT_HMZ_NUMBER': None,
'INT_ST_NUMBER': None,
'INT_MUMMY_NUMBER': None,
'INT_BLACK_NUMBER': None,
'INT_PARITY': 0,
'NVC_OLD_SOW_PRODUCT_STATE': None,
'NVC_BUS_FARM_ID': '0',
母猪的妊娠检查表:
'ID': None,
'DTM_ADD_TIME': None,
'DTM_EDIT_TIME': None,
'NVC_DELETE': None,
'NVC_SOW_ID': None,
'DTM_MAT_DATE': None,
'DTM_GES_DATE': None,
'NVC_GES_WAY': None,
'NVC_GES_RESULT': None,
'INT_PARITY': 0,
'NVC_OLD_PRO_STATE': None,
'NVC_BUS_FARM_ID': '0',
母猪档案表:
母猪配种表:
母猪入场表:
母猪的查情表:
母猪的销售信息:由销售详情表和销售表左连接得到
母猪的寄入表:
母猪的寄出表:
母猪的死亡表:
母猪的淘汰表:
母猪的断奶表:
母猪转生产;
母猪自宰表