Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jyzb_platformV2
概览
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
赵剑炜
jyzb_platformV2
Commits
bf296e00
Commit
bf296e00
authored
Dec 05, 2023
by
李小惠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
489448fe
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
13 行删除
+13
-13
OutAndInboundController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/OutAndInboundController.java
+1
-1
PolicemanServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/PolicemanServiceImpl.java
+12
-12
没有找到文件。
jyzb-biz/src/main/java/com/junmp/jyzb/controller/OutAndInboundController.java
View file @
bf296e00
...
@@ -77,7 +77,7 @@ public class OutAndInboundController {
...
@@ -77,7 +77,7 @@ public class OutAndInboundController {
// }
// }
@PostMapping
(
"/ShowRecordsByOrderId"
)
@PostMapping
(
"/ShowRecordsByOrderId"
)
@ApiOperation
(
"出入库以及记账过程"
)
@ApiOperation
(
"出入库以及记账过程"
)
public
ApiRes
<
List
<
OrderLogDto
>>
ShowRecordsByOrderId
(
@RequestBody
@Validated
(
ValidationApi
.
page
.
class
)
LogSummaryReq
req
){
public
ApiRes
<
List
<
OrderLogDto
>>
ShowRecordsByOrderId
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
LogSummaryReq
req
){
return
ApiRes
.
success
(
orderLogService
.
ShowRecordsByOrderId
(
req
));
return
ApiRes
.
success
(
orderLogService
.
ShowRecordsByOrderId
(
req
));
}
}
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/PolicemanServiceImpl.java
View file @
bf296e00
...
@@ -262,14 +262,14 @@ public class PolicemanServiceImpl extends ServiceImpl<PolicemanMapper, Policeman
...
@@ -262,14 +262,14 @@ public class PolicemanServiceImpl extends ServiceImpl<PolicemanMapper, Policeman
if
(
list
.
size
()>
0
){
if
(
list
.
size
()>
0
){
for
(
CabinetBoxPolice
boxPolice:
list
)
{
for
(
CabinetBoxPolice
boxPolice:
list
)
{
if
(
boxPolice
.
getContainType
()==
1
){
//
if (boxPolice.getContainType()==1){
soloList
.
add
(
boxPolice
.
getCabinetBoxId
());
//
soloList.add(boxPolice.getCabinetBoxId());
soloName
=
soloName
+
boxPolice
.
getCabinetName
()+
","
;
//
soloName = soloName + boxPolice.getCabinetName()+",";
//
}
else
{
//
}else {
publicList
.
add
(
boxPolice
.
getCabinetBoxId
());
//
publicList.add(boxPolice.getCabinetBoxId());
publicName
=
publicName
+
boxPolice
.
getCabinetName
()+
","
;
//
publicName = publicName + boxPolice.getCabinetName()+",";
}
//
}
}
}
policemanDto
.
setPublicBoxList
(
publicList
);
policemanDto
.
setPublicBoxList
(
publicList
);
policemanDto
.
setSoloBoxList
(
soloList
);
policemanDto
.
setSoloBoxList
(
soloList
);
...
@@ -663,12 +663,12 @@ public class PolicemanServiceImpl extends ServiceImpl<PolicemanMapper, Policeman
...
@@ -663,12 +663,12 @@ public class PolicemanServiceImpl extends ServiceImpl<PolicemanMapper, Policeman
for
(
CabinetBoxReq
boxReq:
boxList
)
{
for
(
CabinetBoxReq
boxReq:
boxList
)
{
CabinetBoxPolice
cabinetBoxPolice
=
new
CabinetBoxPolice
();
CabinetBoxPolice
cabinetBoxPolice
=
new
CabinetBoxPolice
();
cabinetBoxPolice
.
setPoliceId
(
req
.
getId
());
cabinetBoxPolice
.
setPoliceId
(
req
.
getId
());
cabinetBoxPolice
.
setCabinetId
(
boxReq
.
getCabinetId
());
//
cabinetBoxPolice.setCabinetId(boxReq.getCabinetId());
cabinetBoxPolice
.
setCabinetBoxId
(
boxReq
.
getId
());
cabinetBoxPolice
.
setCabinetBoxId
(
boxReq
.
getId
());
cabinetBoxPolice
.
setCreateTime
(
DateTimeUtil
.
getCurrentDateTime
());
cabinetBoxPolice
.
setCreateTime
(
DateTimeUtil
.
getCurrentDateTime
());
cabinetBoxPolice
.
setCabinetName
(
boxReq
.
getCabinetName
());
//
cabinetBoxPolice.setCabinetName(boxReq.getCabinetName());
cabinetBoxPolice
.
setNum
(
boxReq
.
getNum
());
//
cabinetBoxPolice.setNum(boxReq.getNum());
cabinetBoxPolice
.
setContainType
(
boxReq
.
getContainType
());
//
cabinetBoxPolice.setContainType(boxReq.getContainType());
cabinetBoxPoliceList
.
add
(
cabinetBoxPolice
);
cabinetBoxPoliceList
.
add
(
cabinetBoxPolice
);
//调岗警员绑定第一个单警柜以后,不管之后他是否还有单警柜,我都默认是不绑了。
//调岗警员绑定第一个单警柜以后,不管之后他是否还有单警柜,我都默认是不绑了。
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论