|
@@ -871,21 +871,22 @@ func GetWarehoureOrderOutByGoodId(good_id []int64, startime int64, endtime int64
|
871
|
871
|
}
|
872
|
872
|
|
873
|
873
|
type VMDrugWarehouse struct {
|
874
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
875
|
|
- WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
|
876
|
|
- OperationTime int64 `gorm:"column:operation_time" json:"operation_time" form:"operation_time"`
|
877
|
|
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
878
|
|
- Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
|
879
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
880
|
|
- Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
881
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
882
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
883
|
|
- WarehousingTime int64 `gorm:"column:warehousing_time" json:"warehousing_time" form:"warehousing_time"`
|
884
|
|
- Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
885
|
|
- Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
886
|
|
- Type int64 `gorm:"column:type" json:"type" form:"type"`
|
887
|
|
- Manufacturers *models.Manufacturer `gorm:"ForeignKey:Manufacturer;AssociationForeignKey:ID" json:"manufacturers"`
|
888
|
|
- Dealers *models.Dealer `gorm:"ForeignKey:Dealer;AssociationForeignKey:ID" json:"dealers"`
|
|
874
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
875
|
+ WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
|
|
876
|
+ OperationTime int64 `gorm:"column:operation_time" json:"operation_time" form:"operation_time"`
|
|
877
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
878
|
+ Creater int64 `gorm:"column:creater" json:"creater" form:"creater"`
|
|
879
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
880
|
+ Modifier int64 `gorm:"column:modifier" json:"modifier" form:"modifier"`
|
|
881
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
882
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
883
|
+ WarehousingTime int64 `gorm:"column:warehousing_time" json:"warehousing_time" form:"warehousing_time"`
|
|
884
|
+ Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
|
885
|
+ Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
|
886
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
887
|
+ Manufacturers *models.Manufacturer `gorm:"ForeignKey:Manufacturer;AssociationForeignKey:ID" json:"manufacturers"`
|
|
888
|
+ Dealers *models.Dealer `gorm:"ForeignKey:Dealer;AssociationForeignKey:ID" json:"dealers"`
|
|
889
|
+ SupplyWarehouseId int64 `gorm:"column:supply_warehouse_id" json:"supply_warehouse_id" form:"supply_warehouse_id"`
|
889
|
890
|
}
|
890
|
891
|
|
891
|
892
|
func (VMDrugWarehouse) TableName() string {
|
|
@@ -893,31 +894,33 @@ func (VMDrugWarehouse) TableName() string {
|
893
|
894
|
}
|
894
|
895
|
|
895
|
896
|
type VMDrugWarehouseInfo struct {
|
896
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
897
|
|
- WarehousingId int64 `gorm:"column:warehousing_id" json:"warehousing_id" form:"warehousing_id"`
|
898
|
|
- DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
899
|
|
- Number string `gorm:"column:number" json:"number" form:"number"`
|
900
|
|
- ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
|
901
|
|
- ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
|
902
|
|
- WarehousingCount int64 `gorm:"column:warehousing_count" json:"warehousing_count" form:"warehousing_count"`
|
903
|
|
- Price float64 `gorm:"column:price" json:"price" form:"price"`
|
904
|
|
- TotalPrice float64 `gorm:"column:total_price" json:"total_price" form:"total_price"`
|
905
|
|
- Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
906
|
|
- Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
907
|
|
- Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
908
|
|
- Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
909
|
|
- Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
910
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
911
|
|
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
912
|
|
- IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
|
913
|
|
- WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
|
914
|
|
- Type int64 `gorm:"column:type" json:"type" form:"type"`
|
915
|
|
- RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
916
|
|
- RetailTotalPrice float64 `gorm:"column:retail_total_price" json:"retail_total_price" form:"retail_total_price"`
|
917
|
|
- BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
918
|
|
- MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
|
919
|
|
- MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
920
|
|
- Drug *Drug `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug"`
|
|
897
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
898
|
+ WarehousingId int64 `gorm:"column:warehousing_id" json:"warehousing_id" form:"warehousing_id"`
|
|
899
|
+ DrugId int64 `gorm:"column:drug_id" json:"drug_id" form:"drug_id"`
|
|
900
|
+ Number string `gorm:"column:number" json:"number" form:"number"`
|
|
901
|
+ ProductDate int64 `gorm:"column:product_date" json:"product_date" form:"product_date"`
|
|
902
|
+ ExpiryDate int64 `gorm:"column:expiry_date" json:"expiry_date" form:"expiry_date"`
|
|
903
|
+ WarehousingCount int64 `gorm:"column:warehousing_count" json:"warehousing_count" form:"warehousing_count"`
|
|
904
|
+ Price float64 `gorm:"column:price" json:"price" form:"price"`
|
|
905
|
+ TotalPrice float64 `gorm:"column:total_price" json:"total_price" form:"total_price"`
|
|
906
|
+ Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
|
907
|
+ Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
|
908
|
+ Remark string `gorm:"column:remark" json:"remark" form:"remark"`
|
|
909
|
+ Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
|
910
|
+ Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
|
911
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
912
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
913
|
+ IsReturn int64 `gorm:"column:is_return" json:"is_return" form:"is_return"`
|
|
914
|
+ WarehousingOrder string `gorm:"column:warehousing_order" json:"warehousing_order" form:"warehousing_order"`
|
|
915
|
+ Type int64 `gorm:"column:type" json:"type" form:"type"`
|
|
916
|
+ RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
|
917
|
+ RetailTotalPrice float64 `gorm:"column:retail_total_price" json:"retail_total_price" form:"retail_total_price"`
|
|
918
|
+ BatchNumber string `gorm:"column:batch_number" json:"batch_number" form:"batch_number"`
|
|
919
|
+ MaxUnit string `gorm:"column:max_unit" json:"max_unit" form:"max_unit"`
|
|
920
|
+ MinUnit string `gorm:"column:min_unit" json:"min_unit" form:"min_unit"`
|
|
921
|
+ Drug *Drug `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug"`
|
|
922
|
+ SupplyWarehouseId int64 `gorm:"column:supply_warehouse_id" json:"supply_warehouse_id" form:"supply_warehouse_id"`
|
|
923
|
+ SupplyWarehouseDetailInfo int64 `gorm:"column:supply_warehouse_detail_info" json:"supply_warehouse_detail_info" form:"supply_warehouse_detail_info"`
|
921
|
924
|
}
|
922
|
925
|
|
923
|
926
|
func (VMDrugWarehouseInfo) TableName() string {
|