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
fb746447
Commit
fb746447
authored
Dec 16, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
603a3995
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
11 deletions
+22
-11
RB_Customer_Extend.cs
Edu.Model/ViewModel/Customer/RB_Customer_Extend.cs
+0
-5
RB_Student_ViewModel.cs
Edu.Model/ViewModel/User/RB_Student_ViewModel.cs
+5
-0
OrderModule.cs
Edu.Module.Course/OrderModule.cs
+11
-0
RB_CustomerRepository.cs
Edu.Repository/Customer/RB_CustomerRepository.cs
+0
-4
RB_StudentRepository.cs
Edu.Repository/User/RB_StudentRepository.cs
+4
-0
B2BCustomerController.cs
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
+1
-2
UserController.cs
Edu.WebApi/Controllers/User/UserController.cs
+1
-0
No files found.
Edu.Model/ViewModel/Customer/RB_Customer_Extend.cs
View file @
fb746447
...
@@ -74,11 +74,6 @@ namespace Edu.Model.ViewModel.Customer
...
@@ -74,11 +74,6 @@ namespace Edu.Model.ViewModel.Customer
/// </summary>
/// </summary>
public
int
QCustomerState
{
get
;
set
;
}
public
int
QCustomerState
{
get
;
set
;
}
/// <summary>
/// 查询同业类型 1非关联同业客人
/// </summary>
public
int
QCustomerType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 同业Ids
/// 同业Ids
/// </summary>
/// </summary>
...
...
Edu.Model/ViewModel/User/RB_Student_ViewModel.cs
View file @
fb746447
...
@@ -159,6 +159,11 @@ namespace Edu.Model.ViewModel.User
...
@@ -159,6 +159,11 @@ namespace Edu.Model.ViewModel.User
/// </summary>
/// </summary>
public
int
IsQueryMyStu
{
get
;
set
;
}
public
int
IsQueryMyStu
{
get
;
set
;
}
/// <summary>
/// 学生类型 1非关联同行的
/// </summary>
public
int
QStudentType
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 开始时间
/// 开始时间
/// </summary>
/// </summary>
...
...
Edu.Module.Course/OrderModule.cs
View file @
fb746447
...
@@ -785,6 +785,8 @@ namespace Edu.Module.Course
...
@@ -785,6 +785,8 @@ namespace Edu.Module.Course
{
nameof
(
RB_Order_ViewModel
.
EffectStatus
),
demodel
.
EffectStatus
},
{
nameof
(
RB_Order_ViewModel
.
EffectStatus
),
demodel
.
EffectStatus
},
{
nameof
(
RB_Order_ViewModel
.
EffectTime
),
demodel
.
EffectTime
},
{
nameof
(
RB_Order_ViewModel
.
EffectTime
),
demodel
.
EffectTime
},
{
nameof
(
RB_Order_ViewModel
.
UpOrderId
),
demodel
.
UpOrderId
},
{
nameof
(
RB_Order_ViewModel
.
UpOrderId
),
demodel
.
UpOrderId
},
{
nameof
(
RB_Order_ViewModel
.
CustomerId
),
demodel
.
CustomerId
},
{
nameof
(
RB_Order_ViewModel
.
CourseConsultantId
),
demodel
.
CourseConsultantId
},
};
};
flag
=
orderRepository
.
Update
(
keyValues
,
new
WhereHelper
(
nameof
(
RB_Order_ViewModel
.
OrderId
),
demodel
.
OrderId
));
flag
=
orderRepository
.
Update
(
keyValues
,
new
WhereHelper
(
nameof
(
RB_Order_ViewModel
.
OrderId
),
demodel
.
OrderId
));
//记录日志信息
//记录日志信息
...
@@ -818,6 +820,15 @@ namespace Edu.Module.Course
...
@@ -818,6 +820,15 @@ namespace Edu.Module.Course
var
empList
=
accountRepository
.
GetAccountListRepository
(
new
RB_Account_ViewModel
()
{
QIds
=
orderModel
.
HelpEnterId
+
","
+
demodel
.
HelpEnterId
});
var
empList
=
accountRepository
.
GetAccountListRepository
(
new
RB_Account_ViewModel
()
{
QIds
=
orderModel
.
HelpEnterId
+
","
+
demodel
.
HelpEnterId
});
LogContent
+=
$",协助人员由【
{
empList
?.
Where
(
qitem
=>
qitem
.
Id
==
orderModel
.
HelpEnterId
)?.
FirstOrDefault
()?.
AccountName
}
】修改为【
{
empList
?.
Where
(
qitem
=>
qitem
.
Id
==
demodel
.
HelpEnterId
)?.
FirstOrDefault
()?.
AccountName
}
】"
;
LogContent
+=
$",协助人员由【
{
empList
?.
Where
(
qitem
=>
qitem
.
Id
==
orderModel
.
HelpEnterId
)?.
FirstOrDefault
()?.
AccountName
}
】修改为【
{
empList
?.
Where
(
qitem
=>
qitem
.
Id
==
demodel
.
HelpEnterId
)?.
FirstOrDefault
()?.
AccountName
}
】"
;
}
}
if
(
orderModel
.
CourseConsultantId
!=
demodel
.
CourseConsultantId
)
{
var
empList
=
accountRepository
.
GetAccountListRepository
(
new
RB_Account_ViewModel
()
{
QIds
=
orderModel
.
CourseConsultantId
+
","
+
demodel
.
CourseConsultantId
});
LogContent
+=
$",课程顾问由【
{
empList
?.
Where
(
qitem
=>
qitem
.
Id
==
orderModel
.
CourseConsultantId
)?.
FirstOrDefault
()?.
AccountName
}
】修改为【
{
empList
?.
Where
(
qitem
=>
qitem
.
Id
==
demodel
.
CourseConsultantId
)?.
FirstOrDefault
()?.
AccountName
}
】"
;
}
if
(
orderModel
.
CustomerId
!=
demodel
.
CustomerId
)
{
LogContent
+=
$",关联同行由【
{
customerRepository
.
GetEntity
(
orderModel
.
CustomerId
)?.
CustomerName
??
""
}
】修改为【
{
customerRepository
.
GetEntity
(
demodel
.
CustomerId
)?.
CustomerName
??
""
}
】"
;
}
if
(
orderModel
.
GeneralOccupation
!=
demodel
.
GeneralOccupation
)
if
(
orderModel
.
GeneralOccupation
!=
demodel
.
GeneralOccupation
)
{
{
LogContent
+=
$",一般同行由【
{
orderModel
.
GeneralOccupation
}
】修改为【
{
demodel
.
GeneralOccupation
}
】"
;
LogContent
+=
$",一般同行由【
{
orderModel
.
GeneralOccupation
}
】修改为【
{
demodel
.
GeneralOccupation
}
】"
;
...
...
Edu.Repository/Customer/RB_CustomerRepository.cs
View file @
fb746447
...
@@ -43,10 +43,6 @@ WHERE 1=1
...
@@ -43,10 +43,6 @@ WHERE 1=1
{
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Extend
.
CustomerId
),
query
.
CustomerId
);
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Extend
.
CustomerId
),
query
.
CustomerId
);
}
}
if
(
query
.
QCustomerType
==
1
)
{
builder
.
AppendFormat
(
" AND A.{0}=0 "
,
nameof
(
RB_Customer_Extend
.
CustomerId
));
}
if
(
query
.
CreateBy
>
0
)
if
(
query
.
CreateBy
>
0
)
{
{
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Extend
.
CreateBy
),
query
.
CreateBy
);
builder
.
AppendFormat
(
" AND A.{0}={1} "
,
nameof
(
RB_Customer_Extend
.
CreateBy
),
query
.
CreateBy
);
...
...
Edu.Repository/User/RB_StudentRepository.cs
View file @
fb746447
...
@@ -140,6 +140,10 @@ WHERE 1=1
...
@@ -140,6 +140,10 @@ WHERE 1=1
{
{
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
CustomerId
),
query
.
CustomerId
);
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
CustomerId
),
query
.
CustomerId
);
}
}
if
(
query
.
QStudentType
==
1
)
{
builder
.
AppendFormat
(
" AND t.{0}=0 "
,
nameof
(
RB_Student_ViewModel
.
CustomerId
));
}
if
(
query
.
StuId
>
0
)
if
(
query
.
StuId
>
0
)
{
{
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
StuId
),
query
.
StuId
);
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
StuId
),
query
.
StuId
);
...
...
Edu.WebApi/Controllers/Customer/B2BCustomerController.cs
View file @
fb746447
...
@@ -458,8 +458,7 @@ namespace Edu.WebApi.Controllers.Customer
...
@@ -458,8 +458,7 @@ namespace Edu.WebApi.Controllers.Customer
CustomerName
=
base
.
ParmJObj
.
GetStringValue
(
"CustomerName"
),
CustomerName
=
base
.
ParmJObj
.
GetStringValue
(
"CustomerName"
),
ContactNumber
=
base
.
ParmJObj
.
GetStringValue
(
"ContactNumber"
),
ContactNumber
=
base
.
ParmJObj
.
GetStringValue
(
"ContactNumber"
),
ApproveState
=
base
.
ParmJObj
.
GetInt
(
"ApproveState"
),
ApproveState
=
base
.
ParmJObj
.
GetInt
(
"ApproveState"
),
QCustomerState
=
base
.
ParmJObj
.
GetInt
(
"QCustomerState"
),
QCustomerState
=
base
.
ParmJObj
.
GetInt
(
"QCustomerState"
)
QCustomerType
=
base
.
ParmJObj
.
GetInt
(
"QCustomerType"
,
-
1
)
};
};
query
.
CreateBy
=
userInfo
.
Id
;
query
.
CreateBy
=
userInfo
.
Id
;
var
list
=
customerModule
.
GetCustomerPageModule_V2
(
pageModel
.
PageIndex
,
pageModel
.
PageSize
,
out
long
rowsCount
,
query
);
var
list
=
customerModule
.
GetCustomerPageModule_V2
(
pageModel
.
PageIndex
,
pageModel
.
PageSize
,
out
long
rowsCount
,
query
);
...
...
Edu.WebApi/Controllers/User/UserController.cs
View file @
fb746447
...
@@ -670,6 +670,7 @@ namespace Edu.WebApi.Controllers.User
...
@@ -670,6 +670,7 @@ namespace Edu.WebApi.Controllers.User
StartTime
=
base
.
ParmJObj
.
GetStringValue
(
"StartTime"
),
StartTime
=
base
.
ParmJObj
.
GetStringValue
(
"StartTime"
),
EndTime
=
base
.
ParmJObj
.
GetStringValue
(
"EndTime"
),
EndTime
=
base
.
ParmJObj
.
GetStringValue
(
"EndTime"
),
BelongType
=
base
.
ParmJObj
.
GetInt
(
"BelongType"
),
BelongType
=
base
.
ParmJObj
.
GetInt
(
"BelongType"
),
QStudentType
=
base
.
ParmJObj
.
GetInt
(
"QStudentType"
,
-
1
)
};
};
if
(
query
.
IsQueryMyStu
==
1
)
if
(
query
.
IsQueryMyStu
==
1
)
{
{
...
...
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