|
@@ -56,7 +56,7 @@ public class XiaoyuanNoticeServiceImpl implements IXiaoyuanNoticeService {
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public List<XiaoyuanNotice> selectXiaoyuanNoticeList(XiaoyuanNotice xiaoyuanNotice) {
|
|
public List<XiaoyuanNotice> selectXiaoyuanNoticeList(XiaoyuanNotice xiaoyuanNotice) {
|
|
- SysUser user = SecurityUtils.getLoginUser().getUser().;
|
|
|
|
|
|
+ SysUser user = SecurityUtils.getLoginUser().getUser();
|
|
xiaoyuanNotice.setSenderId(user.getUserId().toString());
|
|
xiaoyuanNotice.setSenderId(user.getUserId().toString());
|
|
List<SysRole> roles = user.getRoles();
|
|
List<SysRole> roles = user.getRoles();
|
|
String classId = "";
|
|
String classId = "";
|
|
@@ -104,7 +104,7 @@ public class XiaoyuanNoticeServiceImpl implements IXiaoyuanNoticeService {
|
|
String[] split = senderDept.split(",");
|
|
String[] split = senderDept.split(",");
|
|
for (String deptId : split) {
|
|
for (String deptId : split) {
|
|
xiaoyuanNotice.setSenderDept(deptId);
|
|
xiaoyuanNotice.setSenderDept(deptId);
|
|
- result = result + xiaoyuanNoticeMapper.insertXiaoyuanNotice(xiaoyuanNotice)
|
|
|
|
|
|
+ result = result + xiaoyuanNoticeMapper.insertXiaoyuanNotice(xiaoyuanNotice);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return result;
|
|
return result;
|