Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
2686ee7a
Commit
2686ee7a
authored
Dec 11, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e00e687f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
94 additions
and
66 deletions
+94
-66
RB_BrandEnterpriseApplyFor.cs
....Model/Entity/TradePavilion/RB_BrandEnterpriseApplyFor.cs
+9
-1
RB_CarrierEnterpriseApplyFor.cs
...odel/Entity/TradePavilion/RB_CarrierEnterpriseApplyFor.cs
+9
-1
BuildingCarrierModule.cs
Mall.Module.TradePavilion/BuildingCarrierModule.cs
+4
-0
BuildingCarrierModule_V2.cs
Mall.Module.TradePavilion/BuildingCarrierModule_V2.cs
+69
-61
AppletTradeController.cs
...WebApi/Controllers/TradePavilion/AppletTradeController.cs
+3
-3
No files found.
Mall.Model/Entity/TradePavilion/RB_BrandEnterpriseApplyFor.cs
View file @
2686ee7a
...
...
@@ -260,6 +260,14 @@ namespace Mall.Model.Entity.TradePavilion
/// </summary>
public
string
Complementary
{
get
;
set
;
}
/// <summary>
/// 联系人
/// </summary>
public
string
ContactName
{
get
;
set
;
}
/// <summary>
/// 联系电话
/// </summary>
public
string
ContactPhone
{
get
;
set
;
}
}
}
Mall.Model/Entity/TradePavilion/RB_CarrierEnterpriseApplyFor.cs
View file @
2686ee7a
...
...
@@ -268,7 +268,15 @@ namespace Mall.Model.Entity.TradePavilion
public
int
CategoryId
{
get
;
set
;
}
/// <summary>
/// 联系人
/// </summary>
public
string
ContactName
{
get
;
set
;
}
/// <summary>
/// 联系电话
/// </summary>
public
string
ContactPhone
{
get
;
set
;
}
}
...
...
Mall.Module.TradePavilion/BuildingCarrierModule.cs
View file @
2686ee7a
...
...
@@ -233,6 +233,10 @@ namespace Mall.Module.TradePavilion
public
RB_Building_Carrier_Extend
GetBuildingCarrierModule
(
int
ID
,
bool
isVisit
=
false
)
{
var
extModel
=
building_CarrierRepository
.
GetEntity
<
RB_Building_Carrier_Extend
>(
ID
);
if
(
extModel
!=
null
&&
extModel
.
CategoryId
>
0
)
{
extModel
.
CategoryName
=
brandClassRepository
.
GetEntity
(
extModel
.
CategoryId
)?.
ClassName
??
""
;
}
if
(
extModel
!=
null
&&
extModel
.
ID
>
0
)
{
var
bcMetroList
=
building_CarriermetroRepository
.
GetBuildingCarrierMetroListRepository
(
new
RB_Building_Carriermetro_Extend
()
{
CarrierId
=
extModel
.
ID
});
...
...
Mall.Module.TradePavilion/BuildingCarrierModule_V2.cs
View file @
2686ee7a
...
...
@@ -184,6 +184,8 @@ namespace Mall.Module.TradePavilion
{
nameof
(
RB_BrandEnterpriseApplyFor_Extend
.
PropertyDemand
),
model
.
PropertyDemand
},
{
nameof
(
RB_BrandEnterpriseApplyFor_Extend
.
Cooperation
),
model
.
Cooperation
},
{
nameof
(
RB_BrandEnterpriseApplyFor_Extend
.
Complementary
),
model
.
Complementary
},
{
nameof
(
RB_BrandEnterpriseApplyFor_Extend
.
ContactName
),
model
.
ContactName
},
{
nameof
(
RB_BrandEnterpriseApplyFor_Extend
.
ContactPhone
),
model
.
ContactPhone
},
};
flag
=
brandEnterpriseApplyForRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_BrandEnterpriseApplyFor_Extend
.
ID
),
model
.
ID
));
}
...
...
@@ -209,25 +211,27 @@ namespace Mall.Module.TradePavilion
{
Dictionary
<
string
,
object
>
filedsBrand
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandName
),
model
.
BrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
FullBrandName
),
model
.
FullBrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
VideoUrl
),
model
.
VideoUrl
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Logo
),
model
.
Logo
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Banner
),
model
.
Banner
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ShopNum
),
model
.
ShopNum
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BuiltUpArea
),
model
.
BuiltUpArea
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
EndBuiltUpArea
),
model
.
EndBuiltUpArea
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandType
),
model
.
BrandType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CustomerType
),
model
.
CustomerType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
AreaRequirement
),
model
.
AreaRequirement
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
EndAreaRequirement
),
model
.
EndAreaRequirement
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CategoryId
),
model
.
BrandClassId
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandEnterpriseType
),
model
.
BrandEnterpriseType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Introduce
),
model
.
Introduce
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
DevIntention
),
model
.
DevIntention
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
PropertyDemand
),
model
.
PropertyDemand
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Cooperation
),
model
.
Cooperation
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Complementary
),
model
.
Complementary
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandName
),
BrandModel
.
BrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
FullBrandName
),
BrandModel
.
FullBrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
VideoUrl
),
BrandModel
.
VideoUrl
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Logo
),
BrandModel
.
Logo
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Banner
),
BrandModel
.
Banner
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ShopNum
),
BrandModel
.
ShopNum
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BuiltUpArea
),
BrandModel
.
BuiltUpArea
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
EndBuiltUpArea
),
BrandModel
.
EndBuiltUpArea
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandType
),
BrandModel
.
BrandType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CustomerType
),
BrandModel
.
CustomerType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
AreaRequirement
),
BrandModel
.
AreaRequirement
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
EndAreaRequirement
),
BrandModel
.
EndAreaRequirement
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CategoryId
),
BrandModel
.
BrandClassId
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandEnterpriseType
),
BrandModel
.
BrandEnterpriseType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Introduce
),
BrandModel
.
Introduce
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
DevIntention
),
BrandModel
.
DevIntention
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
PropertyDemand
),
BrandModel
.
PropertyDemand
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Cooperation
),
BrandModel
.
Cooperation
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Complementary
),
BrandModel
.
Complementary
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ContactName
),
BrandModel
.
ContactName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ContactPhone
),
BrandModel
.
ContactPhone
},
};
brand_EnterpriseRepository
.
Update
(
filedsBrand
,
new
WhereHelper
(
nameof
(
RB_Brand_Enterprise_Extend
.
ID
),
BrandModel
.
ExistBrandId
));
}
...
...
@@ -326,25 +330,25 @@ namespace Mall.Module.TradePavilion
{
Dictionary
<
string
,
object
>
filedsBrand
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_EnterpriseServices
.
Name
),
m
odel
.
Name
},
{
nameof
(
RB_EnterpriseServices
.
Banner
),
m
odel
.
Banner
},
{
nameof
(
RB_EnterpriseServices
.
Introduction
),
m
odel
.
Introduction
},
{
nameof
(
RB_EnterpriseServices
.
DevIntention
),
m
odel
.
DevIntention
},
{
nameof
(
RB_EnterpriseServices
.
Address
),
m
odel
.
Address
},
{
nameof
(
RB_EnterpriseServices
.
LatAndLon
),
m
odel
.
LatAndLon
},
{
nameof
(
RB_EnterpriseServices
.
OperationTime
),
m
odel
.
OperationTime
},
{
nameof
(
RB_EnterpriseServices
.
CategoryId
),
m
odel
.
CategoryId
},
{
nameof
(
RB_EnterpriseServices
.
Renovation
),
m
odel
.
Renovation
},
{
nameof
(
RB_EnterpriseServices
.
Payment
),
m
odel
.
Payment
},
{
nameof
(
RB_EnterpriseServices
.
HandoverDate
),
m
odel
.
HandoverDate
},
{
nameof
(
RB_EnterpriseServices
.
IntentionalFloor
),
m
odel
.
IntentionalFloor
},
{
nameof
(
RB_EnterpriseServices
.
ElevatorNum
),
m
odel
.
ElevatorNum
},
{
nameof
(
RB_EnterpriseServices
.
PropertyFee
),
m
odel
.
PropertyFee
},
{
nameof
(
RB_EnterpriseServices
.
RentFee
),
m
odel
.
RentFee
},
{
nameof
(
RB_EnterpriseServices
.
ContactName
),
m
odel
.
ContactName
},
{
nameof
(
RB_EnterpriseServices
.
ContactPhone
),
m
odel
.
ContactPhone
},
{
nameof
(
RB_EnterpriseServices
.
UpdateBy
),
m
odel
.
UpdateBy
},
{
nameof
(
RB_EnterpriseServices
.
UpdateDate
),
m
odel
.
UpdateDate
},
{
nameof
(
RB_EnterpriseServices
.
Name
),
BrandM
odel
.
Name
},
{
nameof
(
RB_EnterpriseServices
.
Banner
),
BrandM
odel
.
Banner
},
{
nameof
(
RB_EnterpriseServices
.
Introduction
),
BrandM
odel
.
Introduction
},
{
nameof
(
RB_EnterpriseServices
.
DevIntention
),
BrandM
odel
.
DevIntention
},
{
nameof
(
RB_EnterpriseServices
.
Address
),
BrandM
odel
.
Address
},
{
nameof
(
RB_EnterpriseServices
.
LatAndLon
),
BrandM
odel
.
LatAndLon
},
{
nameof
(
RB_EnterpriseServices
.
OperationTime
),
BrandM
odel
.
OperationTime
},
{
nameof
(
RB_EnterpriseServices
.
CategoryId
),
BrandM
odel
.
CategoryId
},
{
nameof
(
RB_EnterpriseServices
.
Renovation
),
BrandM
odel
.
Renovation
},
{
nameof
(
RB_EnterpriseServices
.
Payment
),
BrandM
odel
.
Payment
},
{
nameof
(
RB_EnterpriseServices
.
HandoverDate
),
BrandM
odel
.
HandoverDate
},
{
nameof
(
RB_EnterpriseServices
.
IntentionalFloor
),
BrandM
odel
.
IntentionalFloor
},
{
nameof
(
RB_EnterpriseServices
.
ElevatorNum
),
BrandM
odel
.
ElevatorNum
},
{
nameof
(
RB_EnterpriseServices
.
PropertyFee
),
BrandM
odel
.
PropertyFee
},
{
nameof
(
RB_EnterpriseServices
.
RentFee
),
BrandM
odel
.
RentFee
},
{
nameof
(
RB_EnterpriseServices
.
ContactName
),
BrandM
odel
.
ContactName
},
{
nameof
(
RB_EnterpriseServices
.
ContactPhone
),
BrandM
odel
.
ContactPhone
},
{
nameof
(
RB_EnterpriseServices
.
UpdateBy
),
BrandM
odel
.
UpdateBy
},
{
nameof
(
RB_EnterpriseServices
.
UpdateDate
),
BrandM
odel
.
UpdateDate
},
};
enterpriseServicesRepository
.
Update
(
filedsBrand
,
new
WhereHelper
(
nameof
(
RB_EnterpriseServices
.
ServiceId
),
BrandModel
.
ExistServiceId
));
}
...
...
@@ -557,6 +561,8 @@ namespace Mall.Module.TradePavilion
{
nameof
(
RB_CarrierEnterpriseApplyFor_Extend
.
ManagementCompany
),
model
.
ManagementCompany
},
{
nameof
(
RB_CarrierEnterpriseApplyFor_Extend
.
BrandDemand
),
model
.
BrandDemand
},
{
nameof
(
RB_CarrierEnterpriseApplyFor_Extend
.
CategoryId
),
model
.
CategoryId
},
{
nameof
(
RB_CarrierEnterpriseApplyFor_Extend
.
ContactName
),
model
.
ContactName
},
{
nameof
(
RB_CarrierEnterpriseApplyFor_Extend
.
ContactPhone
),
model
.
ContactPhone
},
};
flag
=
carrierEnterpriseApplyForRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_CarrierEnterpriseApplyFor_Extend
.
ID
),
model
.
ID
));
if
(
flag
)
...
...
@@ -622,30 +628,32 @@ namespace Mall.Module.TradePavilion
}
Dictionary
<
string
,
object
>
filedsCarrier
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Building_Carrier_Extend
.
CarrierName
),
m
odel
.
CarrierName
},
{
nameof
(
RB_Building_Carrier_Extend
.
Logo
),
m
odel
.
Logo
},
{
nameof
(
RB_Building_Carrier_Extend
.
Banner
),
m
odel
.
Banner
},
{
nameof
(
RB_Building_Carrier_Extend
.
Honor
),
m
odel
.
Honor
},
{
nameof
(
RB_Building_Carrier_Extend
.
Developers
),
m
odel
.
Developers
},
{
nameof
(
RB_Building_Carrier_Extend
.
CarrierName
),
CarrierM
odel
.
CarrierName
},
{
nameof
(
RB_Building_Carrier_Extend
.
Logo
),
CarrierM
odel
.
Logo
},
{
nameof
(
RB_Building_Carrier_Extend
.
Banner
),
CarrierM
odel
.
Banner
},
{
nameof
(
RB_Building_Carrier_Extend
.
Honor
),
CarrierM
odel
.
Honor
},
{
nameof
(
RB_Building_Carrier_Extend
.
Developers
),
CarrierM
odel
.
Developers
},
{
nameof
(
RB_Building_Carrier_Extend
.
OpeningStatus
),
OpeningStatus
},
{
nameof
(
RB_Building_Carrier_Extend
.
VideoUrl
),
model
.
VideoUrl
},
{
nameof
(
RB_Building_Carrier_Extend
.
Address
),
model
.
Address
},
{
nameof
(
RB_Building_Carrier_Extend
.
LatAndLon
),
model
.
LatAndLon
},
{
nameof
(
RB_Building_Carrier_Extend
.
OpenTime
),
model
.
OpenTime
},
{
nameof
(
RB_Building_Carrier_Extend
.
BuildingCarrierType
),
model
.
BuildingCarrierType
},
{
nameof
(
RB_Building_Carrier_Extend
.
CategoryId
),
model
.
CategoryId
},
{
nameof
(
RB_Building_Carrier_Extend
.
Ascription
),
model
.
Ascription
},
{
nameof
(
RB_Building_Carrier_Extend
.
CarrierSize
),
model
.
CarrierSize
},
{
nameof
(
RB_Building_Carrier_Extend
.
PropertyComposition
),
model
.
PropertyComposition
},
{
nameof
(
RB_Building_Carrier_Extend
.
Location
),
model
.
Location
},
{
nameof
(
RB_Building_Carrier_Extend
.
Crowd
),
model
.
Crowd
},
{
nameof
(
RB_Building_Carrier_Extend
.
VisitorsFlowrate
),
model
.
VisitorsFlowrate
},
{
nameof
(
RB_Building_Carrier_Extend
.
LayersNum
),
model
.
LayersNum
},
{
nameof
(
RB_Building_Carrier_Extend
.
SupportingFacilities
),
model
.
SupportingFacilities
},
{
nameof
(
RB_Building_Carrier_Extend
.
ManagementCompany
),
model
.
ManagementCompany
},
{
nameof
(
RB_Building_Carrier_Extend
.
BrandDemand
),
model
.
BrandDemand
},
{
nameof
(
RB_Building_Carrier_Extend
.
UpdateBy
),
model
.
UpdateBy
},
{
nameof
(
RB_Building_Carrier_Extend
.
UpdateDate
),
model
.
UpdateDate
},
{
nameof
(
RB_Building_Carrier_Extend
.
VideoUrl
),
CarrierModel
.
VideoUrl
},
{
nameof
(
RB_Building_Carrier_Extend
.
Address
),
CarrierModel
.
Address
},
{
nameof
(
RB_Building_Carrier_Extend
.
LatAndLon
),
CarrierModel
.
LatAndLon
},
{
nameof
(
RB_Building_Carrier_Extend
.
OpenTime
),
CarrierModel
.
OpenTime
},
{
nameof
(
RB_Building_Carrier_Extend
.
BuildingCarrierType
),
CarrierModel
.
BuildingCarrierType
},
{
nameof
(
RB_Building_Carrier_Extend
.
CategoryId
),
CarrierModel
.
CategoryId
},
{
nameof
(
RB_Building_Carrier_Extend
.
Ascription
),
CarrierModel
.
Ascription
},
{
nameof
(
RB_Building_Carrier_Extend
.
CarrierSize
),
CarrierModel
.
CarrierSize
},
{
nameof
(
RB_Building_Carrier_Extend
.
PropertyComposition
),
CarrierModel
.
PropertyComposition
},
{
nameof
(
RB_Building_Carrier_Extend
.
Location
),
CarrierModel
.
Location
},
{
nameof
(
RB_Building_Carrier_Extend
.
Crowd
),
CarrierModel
.
Crowd
},
{
nameof
(
RB_Building_Carrier_Extend
.
VisitorsFlowrate
),
CarrierModel
.
VisitorsFlowrate
},
{
nameof
(
RB_Building_Carrier_Extend
.
LayersNum
),
CarrierModel
.
LayersNum
},
{
nameof
(
RB_Building_Carrier_Extend
.
SupportingFacilities
),
CarrierModel
.
SupportingFacilities
},
{
nameof
(
RB_Building_Carrier_Extend
.
ManagementCompany
),
CarrierModel
.
ManagementCompany
},
{
nameof
(
RB_Building_Carrier_Extend
.
BrandDemand
),
CarrierModel
.
BrandDemand
},
{
nameof
(
RB_Building_Carrier_Extend
.
UpdateBy
),
CarrierModel
.
UpdateBy
},
{
nameof
(
RB_Building_Carrier_Extend
.
UpdateDate
),
CarrierModel
.
UpdateDate
},
{
nameof
(
RB_Building_Carrier_Extend
.
ContactName
),
CarrierModel
.
ContactName
},
{
nameof
(
RB_Building_Carrier_Extend
.
ContactPhone
),
CarrierModel
.
ContactPhone
},
};
flag
=
building_CarrierRepository
.
Update
(
filedsCarrier
,
new
WhereHelper
(
nameof
(
RB_Building_Carrier_Extend
.
ID
),
carrmodel
.
ID
));
if
(
flag
)
...
...
Mall.WebApi/Controllers/TradePavilion/AppletTradeController.cs
View file @
2686ee7a
...
...
@@ -2931,8 +2931,8 @@ namespace Mall.WebApi.Controllers.TradePavilion
extModel
.
Address
,
extModel
.
LatAndLon
,
extModel
.
Developers
,
extModel
.
ProjectType
,
ProjectTypeName
=
extModel
.
ProjectType
.
GetEnumName
()
,
extModel
.
CategoryId
,
extModel
.
CategoryName
,
extModel
.
CarrierSize
,
extModel
.
LayersNum
,
extModel
.
CarNum
,
...
...
@@ -3225,7 +3225,7 @@ namespace Mall.WebApi.Controllers.TradePavilion
}
var
result
=
new
{
CollectId
,
CollectId
,
ServiceId
=
extModel
?.
ServiceId
??
0
,
Name
=
extModel
?.
Name
??
""
,
Introduction
=
extModel
?.
Introduction
??
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment