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
124d3a02
Commit
124d3a02
authored
Jun 18, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 测试 new
parent
a395444e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+4
-2
No files found.
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
124d3a02
...
...
@@ -1804,6 +1804,8 @@ public class BLessonServiceImpl implements BLessonService {
CurUser
curUser
=
UserUtil
.
getCurUser
();
String
userId
=
curUser
.
getUserId
();
String
corpId
=
curUser
.
getCorpId
();
// String userId = "1042237478105227265";
// String corpId = "6";
log
.
info
(
"-----------addNew---------当前登录人信息curUser----------"
+
curUser
+
"--------------------"
);
BMessage
bMessage
=
new
BMessage
();
bMessage
.
setName
(
MessageEnum
.
NEWNOTICE
.
getName
());
...
...
@@ -1823,7 +1825,7 @@ public class BLessonServiceImpl implements BLessonService {
if
(
flag
<=
0
)
{
//获取课程的 发布时间
Calendar
c1
=
DateUtil
.
calendar
(
b
.
getReleaseDate
());
c1
.
setTime
(
b
.
getCreateDate
()
);
log
.
info
(
"-----------addNew------课程发布时间--"
+
DateUtil
.
date
(
c1
)+
"---------------"
);
switch
(
newNotice
.
getValueType
()){
case
"1"
:
c1
.
add
(
Calendar
.
HOUR
,
time
);
break
;
case
"2"
:
c1
.
add
(
Calendar
.
DAY_OF_MONTH
,
time
);
break
;
...
...
@@ -1851,7 +1853,7 @@ public class BLessonServiceImpl implements BLessonService {
mtUserGetsReqDTO
.
setIds
(
ids
);
log
.
info
(
"------------mtUserGetsReqDTO--------"
+
mtUserGetsReqDTO
);
List
<
MTUserInfoRspDTO
>
mtUserInfoRspDTOList
=
cotactApiRequestClient
.
userGets
(
mtUserGetsReqDTO
);
log
.
info
(
"------------mtUserInfoRspDTOList--------"
+
mtUserInfoRspDTOList
==
null
?
null
:
mtUserInfoRspDTOList
.
toString
(
));
log
.
info
(
"------------mtUserInfoRspDTOList--------"
+
(
mtUserInfoRspDTOList
==
null
?
"null"
:
mtUserInfoRspDTOList
.
toString
()
));
List
<
String
>
departs
=
new
ArrayList
<>();
if
(
mtUserInfoRspDTOList
!=
null
&&
mtUserInfoRspDTOList
.
size
()
>
0
)
{
departs
=
QueryDepart
.
queryDepart
(
mtUserInfoRspDTOList
);
...
...
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