Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
9749668e
Commit
9749668e
authored
Aug 05, 2021
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交代码
parent
94eb1ea2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
OrderModule.cs
Edu.Module.Course/OrderModule.cs
+5
-3
No files found.
Edu.Module.Course/OrderModule.cs
View file @
9749668e
...
@@ -1265,7 +1265,9 @@ namespace Edu.Module.Course
...
@@ -1265,7 +1265,9 @@ namespace Edu.Module.Course
#
region
更新甲鹤小程序规格对应的库存
#
region
更新甲鹤小程序规格对应的库存
if
(
flag
&&
orderModel
.
JoinType
!=
OrderJoinTypeEnum
.
RenewOrder
)
//续费订单不去更新规格库存
if
(
flag
&&
orderModel
.
JoinType
!=
OrderJoinTypeEnum
.
RenewOrder
)
//续费订单不去更新规格库存
{
{
System
.
Threading
.
Tasks
.
Task
.
Run
(()
=>
UpdateCancelClassOrder
(
orderModel
));
List
<
int
>
classId
=
new
List
<
int
>();
classId
.
Add
(
orderModel
.
ClassId
);
System
.
Threading
.
Tasks
.
Task
.
Run
(()
=>
UpdateGoodsSpecification
(
classId
));
}
}
#
endregion
#
endregion
}
}
...
@@ -3188,7 +3190,7 @@ namespace Edu.Module.Course
...
@@ -3188,7 +3190,7 @@ namespace Edu.Module.Course
IsPublic
=
1
,
IsPublic
=
1
,
BType
=
1
,
//item.AccountType,
BType
=
1
,
//item.AccountType,
AccountId
=
financeConfig
?.
ClientID
??
54
,
AccountId
=
financeConfig
?.
ClientID
??
54
,
WBMoney
=
Convert
.
ToDecimal
(
demodel
.
PreferPrice
)
,
WBMoney
=
Convert
.
ToDecimal
(
demodel
.
PreferPrice
),
TradeDate
=
System
.
DateTime
.
Now
.
AddDays
(-
1
).
ToString
(
"yyyy-MM-dd"
),
TradeDate
=
System
.
DateTime
.
Now
.
AddDays
(-
1
).
ToString
(
"yyyy-MM-dd"
),
AccountNumber
=
System
.
DateTime
.
Now
.
AddDays
(-
1
).
ToString
(
"yyyyMMdd"
),
AccountNumber
=
System
.
DateTime
.
Now
.
AddDays
(-
1
).
ToString
(
"yyyyMMdd"
),
TemplateId
=
financeConfig
?.
TempleteId
??
139
,
TemplateId
=
financeConfig
?.
TempleteId
??
139
,
...
@@ -3292,7 +3294,7 @@ namespace Edu.Module.Course
...
@@ -3292,7 +3294,7 @@ namespace Edu.Module.Course
{
{
{
nameof
(
RB_Goods_SpecificationPrice_Extend
.
InventoryNum
),
item
.
ClassPersion
-
item
.
OrderStudentCount
},
{
nameof
(
RB_Goods_SpecificationPrice_Extend
.
InventoryNum
),
item
.
ClassPersion
-
item
.
OrderStudentCount
},
};
};
flag
=
class
Repository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Goods_SpecificationPrice_Extend
.
Id
),
priceModel
.
Id
));
flag
=
goods_SpecificationPrice
Repository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Goods_SpecificationPrice_Extend
.
Id
),
priceModel
.
Id
));
}
}
}
}
}
}
...
...
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