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
451a1b12
Commit
451a1b12
authored
Jul 22, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
27ca9f6e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
OrderModule.cs
Mall.Module.Product/OrderModule.cs
+1
-0
ProductModule.cs
Mall.Module.Product/ProductModule.cs
+3
-1
UserModule.cs
Mall.Module.User/UserModule.cs
+1
-1
RB_Vip_BuyRepository.cs
Mall.Repository/User/RB_Vip_BuyRepository.cs
+1
-1
No files found.
Mall.Module.Product/OrderModule.cs
View file @
451a1b12
...
@@ -5089,6 +5089,7 @@ namespace Mall.Module.Product
...
@@ -5089,6 +5089,7 @@ namespace Mall.Module.Product
{
{
var
fxGModel
=
FXGradeList
.
Where
(
x
=>
x
.
Id
==
item
.
Grade
).
FirstOrDefault
();
var
fxGModel
=
FXGradeList
.
Where
(
x
=>
x
.
Id
==
item
.
Grade
).
FirstOrDefault
();
item
.
GradeDescription
=
fxGModel
?.
GradeName
??
"暂无等级"
;
item
.
GradeDescription
=
fxGModel
?.
GradeName
??
"暂无等级"
;
item
.
GradeDescription
+=
"佣金"
;
}
}
}
}
}
}
...
...
Mall.Module.Product/ProductModule.cs
View file @
451a1b12
...
@@ -1641,7 +1641,7 @@ namespace Mall.Module.Product
...
@@ -1641,7 +1641,7 @@ namespace Mall.Module.Product
if
(
model
.
PresentFXGrade
>
0
)
{
if
(
model
.
PresentFXGrade
>
0
)
{
var
fxmodel
=
distributor_FXGradeRepository
.
GetEntity
(
model
.
PresentFXGrade
);
var
fxmodel
=
distributor_FXGradeRepository
.
GetEntity
(
model
.
PresentFXGrade
);
if
(
fxmodel
!=
null
)
{
if
(
fxmodel
!=
null
)
{
PresentFXGradeMsg
=
"购买收货后赠送"
+
fxmodel
+
"会员"
;
PresentFXGradeMsg
=
"购买收货后赠送"
+
fxmodel
.
GradeName
+
"会员"
;
if
(
model
.
PresentFXMonth
>
0
)
{
if
(
model
.
PresentFXMonth
>
0
)
{
PresentFXGradeMsg
+=
(
model
.
PresentFXMonth
??
0
)
+
"个月"
;
PresentFXGradeMsg
+=
(
model
.
PresentFXMonth
??
0
)
+
"个月"
;
}
}
...
@@ -3594,6 +3594,8 @@ namespace Mall.Module.Product
...
@@ -3594,6 +3594,8 @@ namespace Mall.Module.Product
{
nameof
(
RB_Goods
.
ProxyRises
),
demodel
.
ProxyRises
},
{
nameof
(
RB_Goods
.
ProxyRises
),
demodel
.
ProxyRises
},
{
nameof
(
RB_Goods
.
ProxyMoney
),
demodel
.
ProxyMoney
},
{
nameof
(
RB_Goods
.
ProxyMoney
),
demodel
.
ProxyMoney
},
{
nameof
(
RB_Goods
.
Commission
),
demodel
.
Commission
},
{
nameof
(
RB_Goods
.
Commission
),
demodel
.
Commission
},
{
nameof
(
RB_Goods
.
PresentFXGrade
),
demodel
.
PresentFXGrade
},
{
nameof
(
RB_Goods
.
PresentFXMonth
),
demodel
.
PresentFXMonth
},
};
};
if
(
goodsModel
.
IsProcurement
==
1
)
if
(
goodsModel
.
IsProcurement
==
1
)
{
{
...
...
Mall.Module.User/UserModule.cs
View file @
451a1b12
...
@@ -3795,7 +3795,7 @@ namespace Mall.Module.User
...
@@ -3795,7 +3795,7 @@ namespace Mall.Module.User
var
fxlist
=
distributor_FXGradeRepository
.
GetList
(
new
RB_Distributor_FXGrade_Extend
()
{
GradeIds
=
fxgradeids
,
TenantId
=
demodel
.
TenantId
,
MallBaseId
=
demodel
.
MallBaseId
});
var
fxlist
=
distributor_FXGradeRepository
.
GetList
(
new
RB_Distributor_FXGrade_Extend
()
{
GradeIds
=
fxgradeids
,
TenantId
=
demodel
.
TenantId
,
MallBaseId
=
demodel
.
MallBaseId
});
foreach
(
var
item
in
List
)
{
foreach
(
var
item
in
List
)
{
var
fxmodel
=
fxlist
.
Where
(
x
=>
x
.
Id
==
item
.
Grade
).
FirstOrDefault
();
var
fxmodel
=
fxlist
.
Where
(
x
=>
x
.
Id
==
item
.
Grade
).
FirstOrDefault
();
item
.
GradeDescription
=
fxmodel
.
GradeName
+
"
分销
"
;
item
.
GradeDescription
=
fxmodel
.
GradeName
+
"
佣金
"
;
}
}
}
}
return
List
;
return
List
;
...
...
Mall.Repository/User/RB_Vip_BuyRepository.cs
View file @
451a1b12
...
@@ -128,7 +128,7 @@ WHERE a.{nameof(RB_Vip_Buy_Extend.Status)}=0 ");
...
@@ -128,7 +128,7 @@ WHERE a.{nameof(RB_Vip_Buy_Extend.Status)}=0 ");
builder
.
Append
(
$" AND a.
{
nameof
(
RB_Vip_Buy_Extend
.
OrderNo
)}
like '%
{
query
.
OrderNo
}
%'"
);
builder
.
Append
(
$" AND a.
{
nameof
(
RB_Vip_Buy_Extend
.
OrderNo
)}
like '%
{
query
.
OrderNo
}
%'"
);
}
}
}
}
builder
.
Append
(
$@" group by a.Id"
);
builder
.
Append
(
$@" group by a.Id
order by a.Id desc
"
);
return
GetPage
<
RB_Vip_Buy_Extend
>(
pageIndex
,
pageSize
,
out
rowCount
,
builder
.
ToString
()).
ToList
();
return
GetPage
<
RB_Vip_Buy_Extend
>(
pageIndex
,
pageSize
,
out
rowCount
,
builder
.
ToString
()).
ToList
();
}
}
}
}
...
...
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