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
12df845b
Commit
12df845b
authored
Dec 13, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
df54ac65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
28 deletions
+46
-28
RB_EnterpriseServices.cs
Mall.Model/Entity/TradePavilion/RB_EnterpriseServices.cs
+2
-2
RB_EnterpriseServices_Extend.cs
...odel/Extend/TradePavilion/RB_EnterpriseServices_Extend.cs
+2
-2
BuildingCarrierModule_V2.cs
Mall.Module.TradePavilion/BuildingCarrierModule_V2.cs
+42
-24
No files found.
Mall.Model/Entity/TradePavilion/RB_EnterpriseServices.cs
View file @
12df845b
...
...
@@ -52,7 +52,7 @@ namespace Mall.Model.Entity.TradePavilion
public
string
OperationTime
{
get
;
set
;
}
/// <summary>
///
楼宇等级
///
企业分类
/// </summary>
public
int
CategoryId
{
get
;
set
;
}
...
...
@@ -142,7 +142,7 @@ namespace Mall.Model.Entity.TradePavilion
public
DateStateEnum
Status
{
get
;
set
;
}
/// <summary>
///
企业类别
///
楼宇等级
/// </summary>
public
int
EType
{
get
;
set
;
}
}
...
...
Mall.Model/Extend/TradePavilion/RB_EnterpriseServices_Extend.cs
View file @
12df845b
...
...
@@ -9,12 +9,12 @@ namespace Mall.Model.Extend.TradePavilion
public
class
RB_EnterpriseServices_Extend
:
RB_EnterpriseServices
{
/// <summary>
///
分类名称
///
企业分类
/// </summary>
public
string
CategoryName
{
get
;
set
;
}
/// <summary>
///
企业类别名称
///
楼宇等级
/// </summary>
public
string
ETypeName
{
get
;
set
;
}
...
...
Mall.Module.TradePavilion/BuildingCarrierModule_V2.cs
View file @
12df845b
...
...
@@ -14,6 +14,7 @@ using RabbitMQ.Client.Framing.Impl;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Reflection
;
using
VT.FW.DB
;
using
static
ICSharpCode
.
SharpZipLib
.
Zip
.
ExtendedUnixData
;
...
...
@@ -1351,39 +1352,57 @@ namespace Mall.Module.TradePavilion
var
BrandModel
=
brandList
.
FirstOrDefault
();
var
brandEnterpriseModel
=
new
RB_Brand_Enterprise_Extend
()
{
FullBrandName
=
BrandModel
.
FullBrandName
,
BrandName
=
BrandModel
.
BrandName
,
VideoUrl
=
BrandModel
.
VideoUrl
,
Logo
=
BrandModel
.
Logo
,
Banner
=
BrandModel
.
Banner
,
CategoryId
=
BrandModel
.
BrandClassId
,
Introduce
=
BrandModel
.
Introduce
,
ShopNum
=
BrandModel
.
ShopNum
,
AreaRequirement
=
BrandModel
.
ShopNum
,
CustomerType
=
BrandModel
.
CustomerType
,
BrandType
=
BrandModel
.
BrandType
,
Cooperation
=
BrandModel
.
Cooperation
,
PropertyDemand
=
BrandModel
.
PropertyDemand
,
Complementary
=
BrandModel
.
Complementary
,
ContactName
=
BrandModel
.
ContactName
,
ContactPhone
=
BrandModel
.
ContactPhone
,
BrandEnterpriseType
=
BrandModel
.
BrandEnterpriseType
,
TenantId
=
BrandModel
.
TenantId
,
MallBaseId
=
BrandModel
.
MallBaseId
,
};
if
(
BrandModel
.
ExistBrandId
>
0
)
{
Dictionary
<
string
,
object
>
filedsBrand
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Brand_Enterprise_Extend
.
FullBrandName
),
Brand
Model
.
FullBrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandName
),
Brand
Model
.
BrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
VideoUrl
),
Brand
Model
.
VideoUrl
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Logo
),
Brand
Model
.
Logo
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Banner
),
Brand
Model
.
Banner
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CategoryId
),
Brand
Model
.
BrandClassId
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Introduce
),
Brand
Model
.
Introduce
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ShopNum
),
Brand
Model
.
ShopNum
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
AreaRequirement
),
Brand
Model
.
ShopNum
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CustomerType
),
Brand
Model
.
CustomerType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandType
),
Brand
Model
.
BrandType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Cooperation
),
Brand
Model
.
Cooperation
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
PropertyDemand
),
Brand
Model
.
PropertyDemand
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Complementary
),
Brand
Model
.
Complementary
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ContactName
),
Brand
Model
.
ContactName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ContactPhone
),
Brand
Model
.
ContactPhone
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandEnterpriseType
),
Brand
Model
.
BrandEnterpriseType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
FullBrandName
),
brandEnterprise
Model
.
FullBrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandName
),
brandEnterprise
Model
.
BrandName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
VideoUrl
),
brandEnterprise
Model
.
VideoUrl
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Logo
),
brandEnterprise
Model
.
Logo
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Banner
),
brandEnterprise
Model
.
Banner
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CategoryId
),
brandEnterprise
Model
.
BrandClassId
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Introduce
),
brandEnterprise
Model
.
Introduce
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ShopNum
),
brandEnterprise
Model
.
ShopNum
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
AreaRequirement
),
brandEnterprise
Model
.
ShopNum
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
CustomerType
),
brandEnterprise
Model
.
CustomerType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandType
),
brandEnterprise
Model
.
BrandType
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Cooperation
),
brandEnterprise
Model
.
Cooperation
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
PropertyDemand
),
brandEnterprise
Model
.
PropertyDemand
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
Complementary
),
brandEnterprise
Model
.
Complementary
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ContactName
),
brandEnterprise
Model
.
ContactName
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
ContactPhone
),
brandEnterprise
Model
.
ContactPhone
},
{
nameof
(
RB_Brand_Enterprise_Extend
.
BrandEnterpriseType
),
brandEnterprise
Model
.
BrandEnterpriseType
},
};
brand_EnterpriseRepository
.
Update
(
filedsBrand
,
new
WhereHelper
(
nameof
(
RB_Brand_Enterprise_Extend
.
ID
),
BrandModel
.
ExistBrandId
),
trans
);
}
else
{
var
inserBModel
=
BrandModel
.
RefMapperTo
<
RB_Brand_Enterprise_Extend
>()
;
inserBModel
.
ID
=
0
;
inserBModel
.
CategoryId
=
BrandModel
.
BrandClassId
;
inserBModel
.
UserId
=
cmodel
.
CreateBy
;
brand_EnterpriseRepository
.
Insert
(
inserB
Model
,
trans
);
brandEnterpriseModel
.
ID
=
0
;
brandEnterpriseModel
.
CategoryId
=
BrandModel
.
BrandClassId
;
brandEnterpriseModel
.
UserId
=
cmodel
.
CreateBy
;
brandEnterpriseModel
.
CreateDate
=
DateTime
.
Now
;
brand_EnterpriseRepository
.
Insert
(
brandEnterprise
Model
,
trans
);
}
}
}
...
...
@@ -1497,7 +1516,6 @@ namespace Mall.Module.TradePavilion
else
{
#
region
新增载体
buildingCarrierModel
.
ID
=
0
;
buildingCarrierModel
.
UserId
=
cmodel
.
CreateBy
;
if
(!
string
.
IsNullOrWhiteSpace
(
CarrierModel
.
StartingInfo
))
...
...
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