|
@@ -265,28 +265,28 @@ func (VmNewStockFlowTwenty) TableName() string {
|
265
|
265
|
}
|
266
|
266
|
|
267
|
267
|
type GoodInfoTwenty struct {
|
268
|
|
- ID int64 `gorm:"column:id" json:"id" form:"id"`
|
269
|
|
- SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
|
270
|
|
- GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id" form:"good_type_id"`
|
271
|
|
- BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
|
272
|
|
- Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
273
|
|
- Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
274
|
|
- Status int64 `gorm:"column:status" json:"status" form:"status"`
|
275
|
|
- OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
276
|
|
- GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
|
277
|
|
- RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
278
|
|
- PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
|
279
|
|
- PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
|
280
|
|
- GoodNumber string `gorm:"column:good_number" json:"good_number" form:"good_number"`
|
281
|
|
- StWarehousingInfo []*StWarehousingInfo `gorm:"ForeignKey:GoodId;AssociationForeignKey:ID" json:"xt_warehouse_info"`
|
282
|
|
-
|
283
|
|
- WarehousingInfoOne []*StartWarehousingInfo `gorm:"json:"warehouse_info"` //期间增加
|
284
|
|
- WarehousingInfoStart []*StartWarehousingInfo `gorm:"json:"warehouse_info_start"`
|
285
|
|
- WarehousingInfoEnd []*StartWarehousingInfo `gorm:"json:"warehouse_info_end"`
|
286
|
|
- WarehouseOutInfoEnd []*VmStockFlowTwenty
|
287
|
|
- WarehouseOutInfoStart []*VmStockFlowTwenty
|
288
|
|
- WarehouseInfoEnd []*VmStockFlowTwenty //期末入库量
|
289
|
|
- StartFlowWarehouseInfo []*VmStockFlowTwenty //本期增加
|
|
268
|
+ ID int64 `gorm:"column:id" json:"id" form:"id"`
|
|
269
|
+ SpecificationName string `gorm:"column:specification_name" json:"specification_name" form:"specification_name"`
|
|
270
|
+ GoodTypeId int64 `gorm:"column:good_type_id" json:"good_type_id" form:"good_type_id"`
|
|
271
|
+ BuyPrice float64 `gorm:"column:buy_price" json:"buy_price" form:"buy_price"`
|
|
272
|
+ Manufacturer int64 `gorm:"column:manufacturer" json:"manufacturer" form:"manufacturer"`
|
|
273
|
+ Dealer int64 `gorm:"column:dealer" json:"dealer" form:"dealer"`
|
|
274
|
+ Status int64 `gorm:"column:status" json:"status" form:"status"`
|
|
275
|
+ OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
276
|
+ GoodName string `gorm:"column:good_name" json:"good_name" form:"good_name"`
|
|
277
|
+ RetailPrice float64 `gorm:"column:retail_price" json:"retail_price" form:"retail_price"`
|
|
278
|
+ PackingUnit string `gorm:"column:packing_unit" json:"packing_unit" form:"packing_unit"`
|
|
279
|
+ PackingPrice float64 `gorm:"column:packing_price" json:"packing_price" form:"packing_price"`
|
|
280
|
+ GoodNumber string `gorm:"column:good_number" json:"good_number" form:"good_number"`
|
|
281
|
+ SocialSecurityDirectoryCode string `gorm:"column:social_security_directory_code" json:"social_security_directory_code" form:"social_security_directory_code"`
|
|
282
|
+ StWarehousingInfo []*StWarehousingInfo `gorm:"ForeignKey:GoodId;AssociationForeignKey:ID" json:"xt_warehouse_info"`
|
|
283
|
+ WarehousingInfoOne []*StartWarehousingInfo `gorm:"json:"warehouse_info"` //期间增加
|
|
284
|
+ WarehousingInfoStart []*StartWarehousingInfo `gorm:"json:"warehouse_info_start"`
|
|
285
|
+ WarehousingInfoEnd []*StartWarehousingInfo `gorm:"json:"warehouse_info_end"`
|
|
286
|
+ WarehouseOutInfoEnd []*VmStockFlowTwenty
|
|
287
|
+ WarehouseOutInfoStart []*VmStockFlowTwenty
|
|
288
|
+ WarehouseInfoEnd []*VmStockFlowTwenty //期末入库量
|
|
289
|
+ StartFlowWarehouseInfo []*VmStockFlowTwenty //本期增加
|
290
|
290
|
|
291
|
291
|
StWarehousingInfoTwo []*StWarehousingInfoOne `gorm:"json:"new_warehouse_info_start"` //期间增加
|
292
|
292
|
WarehouseOutInfoTenty []*WarehouseOutInfoTenty `gorm:"json:"new_warehouse_out_info"` //减少
|
|
@@ -416,6 +416,7 @@ type VmBaseDrugTwenty struct {
|
416
|
416
|
Ctime int64 `gorm:"column:ctime" json:"ctime" form:"ctime"`
|
417
|
417
|
Mtime int64 `gorm:"column:mtime" json:"mtime" form:"mtime"`
|
418
|
418
|
OrgId int64 `gorm:"column:org_id" json:"org_id" form:"org_id"`
|
|
419
|
+ MedicalInsuranceNumber string `gorm:"column:medical_insurance_number" json:"medical_insurance_number" form:"medical_insurance_number"`
|
419
|
420
|
DrugFlowWarehouseInfo []*DrugFlowTwenty `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_flow_info"`
|
420
|
421
|
DrugActFlowWarehouseInfo []*DrugFlowTwenty `gorm:"ForeignKey:DrugId;AssociationForeignKey:ID" json:"drug_act_flow_info"`
|
421
|
422
|
DrugWarehouseInfoStart []*DrugFlowTwenty //期初入库结余
|