|
@@ -101,7 +101,7 @@ func QueryBusinessInfo(c *gin.Context) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 转换格式.
|
|
// 转换格式.
|
|
|
- id2enum := make(map[uint64]models.Enumdicitem)
|
|
|
|
|
|
|
+ id2enum := make(map[int64]models.Enumdicitem)
|
|
|
for i := range enuminfo {
|
|
for i := range enuminfo {
|
|
|
id2enum[enuminfo[i].Enumitemname] = enuminfo[i]
|
|
id2enum[enuminfo[i].Enumitemname] = enuminfo[i]
|
|
|
}
|
|
}
|
|
@@ -149,7 +149,7 @@ func QueryBusinessInfo(c *gin.Context) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
goodsinfo := id2goods[int32(asainfo[i].Deliverygoodsid)]
|
|
goodsinfo := id2goods[int32(asainfo[i].Deliverygoodsid)]
|
|
|
- goodsunit := id2enum[uint64(goodsinfo.Goodsunitid)]
|
|
|
|
|
|
|
+ goodsunit := id2enum[int64(goodsinfo.Goodsunitid)]
|
|
|
detail := tradeinfo[asainfo[i].Asapplyid]
|
|
detail := tradeinfo[asainfo[i].Asapplyid]
|
|
|
business := QueryBusinessInfoRsp{
|
|
business := QueryBusinessInfoRsp{
|
|
|
BusinessID: asainfo[i].Asapplyid,
|
|
BusinessID: asainfo[i].Asapplyid,
|
|
@@ -198,7 +198,7 @@ func QueryBusinessInfo(c *gin.Context) {
|
|
|
|
|
|
|
|
for i := range wrrcontracts {
|
|
for i := range wrrcontracts {
|
|
|
goodsinfo := id2goods[int32(wrrcontracts[i].Deliverygoodsid)]
|
|
goodsinfo := id2goods[int32(wrrcontracts[i].Deliverygoodsid)]
|
|
|
- goodsunit := id2enum[uint64(goodsinfo.Goodsunitid)]
|
|
|
|
|
|
|
+ goodsunit := id2enum[int64(goodsinfo.Goodsunitid)]
|
|
|
detail := wrtradeinfo[wrrcontracts[i].Wrrcontractid]
|
|
detail := wrtradeinfo[wrrcontracts[i].Wrrcontractid]
|
|
|
business := QueryBusinessInfoRsp{
|
|
business := QueryBusinessInfoRsp{
|
|
|
BusinessID: wrrcontracts[i].Wrrcontractid,
|
|
BusinessID: wrrcontracts[i].Wrrcontractid,
|
|
@@ -247,7 +247,7 @@ func QueryBusinessInfo(c *gin.Context) {
|
|
|
|
|
|
|
|
for i := range spotTradeBiz {
|
|
for i := range spotTradeBiz {
|
|
|
goodsinfo := id2goods[int32(spotTradeBiz[i].Deliverygoodsid)]
|
|
goodsinfo := id2goods[int32(spotTradeBiz[i].Deliverygoodsid)]
|
|
|
- goodsunit := id2enum[uint64(goodsinfo.Goodsunitid)]
|
|
|
|
|
|
|
+ goodsunit := id2enum[int64(goodsinfo.Goodsunitid)]
|
|
|
detail := spottradeinfo[spotTradeBiz[i].Spottradeid]
|
|
detail := spottradeinfo[spotTradeBiz[i].Spottradeid]
|
|
|
business := QueryBusinessInfoRsp{
|
|
business := QueryBusinessInfoRsp{
|
|
|
BusinessID: spotTradeBiz[i].Spottradeid,
|
|
BusinessID: spotTradeBiz[i].Spottradeid,
|