Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
O
OZT-Integration
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
许俊
OZT-Integration
Commits
dbe4a432
提交
dbe4a432
authored
4月 29, 2022
作者:
inroi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
微调
上级
3f737ede
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
14 行增加
和
26 行删除
+14
-26
BsBomKingdeeApi.java
...rg/jeecg/modules/iost/ims/kingdeeapi/BsBomKingdeeApi.java
+1
-1
SysAnnouncementController.java
.../modules/system/controller/SysAnnouncementController.java
+13
-25
没有找到文件。
jeecg-boot-module-system/src/main/java/org/jeecg/modules/iost/ims/kingdeeapi/BsBomKingdeeApi.java
浏览文件 @
dbe4a432
...
...
@@ -113,7 +113,7 @@ public class BsBomKingdeeApi implements web_api {
double
v
=
a
/
b
;
salesordermap
.
put
(
"dosage"
,
Double
.
toString
(
v
));
salesordermap
.
put
(
"pointStr"
,
list1
.
get
(
8
).
toString
(
));
salesordermap
.
put
(
"pointStr"
,
String
.
valueOf
(
list1
.
get
(
8
)
));
salesordermap
.
put
(
"FParentRowId"
,
list1
.
get
(
10
).
toString
());
salesordermap
.
put
(
"FTreeEntity_FENTRYID"
,
list1
.
get
(
11
).
toString
());
// salesordermap.put("remark", list1.get(9).toString());
...
...
jeecg-boot-module-system/src/main/java/org/jeecg/modules/system/controller/SysAnnouncementController.java
浏览文件 @
dbe4a432
package
org
.
jeecg
.
modules
.
system
.
controller
;
import
java.io.IOException
;
import
java.util.Collection
;
import
java.util.Date
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.shiro.SecurityUtils
;
import
org.jeecg.common.api.vo.Result
;
...
...
@@ -26,29 +21,22 @@ import org.jeecg.modules.system.entity.SysAnnouncement;
import
org.jeecg.modules.system.entity.SysAnnouncementSend
;
import
org.jeecg.modules.system.service.ISysAnnouncementSendService
;
import
org.jeecg.modules.system.service.ISysAnnouncementService
;
import
org.jeecgframework.poi.excel.ExcelImportUtil
;
import
org.jeecgframework.poi.excel.def.NormalExcelConstants
;
import
org.jeecgframework.poi.excel.entity.ExportParams
;
import
org.jeecgframework.poi.excel.entity.ImportParams
;
import
org.jeecgframework.poi.excel.view.JeecgEntityExcelView
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartHttpServletRequest
;
import
org.springframework.web.servlet.ModelAndView
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
lombok.extern.slf4j.Slf4j
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.util.*
;
/**
* @Title: Controller
...
...
@@ -283,7 +271,7 @@ public class SysAnnouncementController {
public
Result
<
Map
<
String
,
Object
>>
listByUser
()
{
Result
<
Map
<
String
,
Object
>>
result
=
new
Result
<
Map
<
String
,
Object
>>();
LoginUser
sysUser
=
(
LoginUser
)
SecurityUtils
.
getSubject
().
getPrincipal
();
String
userId
=
sysUser
.
getId
();
String
userId
=
sysUser
.
getId
()
!=
null
?
sysUser
.
getId
()
:
""
;
// 1.将系统消息补充到用户通告阅读标记表中
Collection
<
String
>
anntIds
=
sysAnnouncementSendService
.
queryByUserId
(
userId
);
LambdaQueryWrapper
<
SysAnnouncement
>
querySaWrapper
=
new
LambdaQueryWrapper
<
SysAnnouncement
>();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论