Commit 124d3a02 authored by luzhuang's avatar luzhuang

feat: 测试 new

parent a395444e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment