Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jilinzhongdianrenqun
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
jilinzhongdianrenqun
Commits
c22b231a
Commit
c22b231a
authored
Jan 05, 2026
by
zhangtw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申领审核显示库存按照当前区域筛选
parent
987884a1
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
1 行删除
+13
-1
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmBorrowServiceImpl.java
+6
-0
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmBorrowDetailDao.xml
+7
-1
没有找到文件。
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmBorrowServiceImpl.java
View file @
c22b231a
...
@@ -305,6 +305,12 @@ public class KeyDmBorrowServiceImpl {
...
@@ -305,6 +305,12 @@ public class KeyDmBorrowServiceImpl {
@ApiOperation
(
value
=
"根据ID查询申请及明细/日志"
,
desc
=
"详情"
)
@ApiOperation
(
value
=
"根据ID查询申请及明细/日志"
,
desc
=
"详情"
)
public
Map
<
String
,
Object
>
getById
(
Map
<
String
,
Object
>
map
)
{
public
Map
<
String
,
Object
>
getById
(
Map
<
String
,
Object
>
map
)
{
if
(
map
==
null
||
map
.
get
(
"id"
)
==
null
)
throw
new
CustomException
(
"参数缺失"
);
if
(
map
==
null
||
map
.
get
(
"id"
)
==
null
)
throw
new
CustomException
(
"参数缺失"
);
Map
<
String
,
Object
>
user
=
(
Map
<
String
,
Object
>)
map
.
get
(
"_user"
);
if
(
user
!=
null
)
{
Map
<
String
,
String
>
pos
=
DataScopeUtil
.
getPosition
(
user
);
areaId
=
pos
.
get
(
"area_id"
);
user
.
put
(
"areaId"
,
areaId
);
}
Map
<
String
,
Object
>
ret
=
new
HashMap
<>();
Map
<
String
,
Object
>
ret
=
new
HashMap
<>();
Map
<
String
,
Object
>
app
=
commonService
.
getObject
(
namespace
+
"getById"
,
map
);
Map
<
String
,
Object
>
app
=
commonService
.
getObject
(
namespace
+
"getById"
,
map
);
ret
.
putAll
(
app
==
null
?
new
HashMap
<>()
:
app
);
ret
.
putAll
(
app
==
null
?
new
HashMap
<>()
:
app
);
...
...
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmBorrowDetailDao.xml
View file @
c22b231a
...
@@ -17,7 +17,13 @@
...
@@ -17,7 +17,13 @@
on m.id = bd.material_id
on m.id = bd.material_id
left join jl_key_dm_inventory as i
left join jl_key_dm_inventory as i
on bd.material_id = i.material_id
on bd.material_id = i.material_id
WHERE bd.application_id = #{id} AND bd.is_used = 1 ORDER BY bd.create_time ASC
<where>
bd.application_id = #{id} AND bd.is_used = 1
<if
test=
"_user.areaId != null"
>
and i.apply_dep_code = #{_user.areaId}
</if>
</where>
ORDER BY bd.create_time ASC
</select>
</select>
</mapper>
</mapper>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论