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
547c5f2d
Commit
547c5f2d
authored
Dec 28, 2023
by
赵剑炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
为日志添加忽略消息
parent
84fc6b3b
全部展开
显示空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
36 行增加
和
43 行删除
+36
-43
ApplicationController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/ApplicationController.java
+1
-1
BussinessController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/BussinessController.java
+3
-2
BussinessInventoryController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/BussinessInventoryController.java
+3
-3
CabinetController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/CabinetController.java
+5
-17
DestoryUnitController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/DestoryUnitController.java
+2
-2
DeviceConfigController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/DeviceConfigController.java
+3
-3
EquipmentSizeController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentSizeController.java
+4
-4
EquipmentTypeController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentTypeController.java
+8
-5
InventoryController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/InventoryController.java
+0
-0
PubOrgController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/PubOrgController.java
+7
-6
没有找到文件。
jyzb-biz/src/main/java/com/junmp/jyzb/controller/ApplicationController.java
View file @
547c5f2d
...
...
@@ -30,7 +30,7 @@ public class ApplicationController {
@Resource
private
ApplicationService
applicationService
;
//获取应用信息的分页
@PostMapping
(
path
=
"/GetAllUpdateCfg"
,
name
=
"获取应用信息的分页"
)
@PostMapping
(
path
=
"/GetAllUpdateCfg"
,
name
=
"获取应用信息的分页
#enable
"
)
@ApiOperation
(
"获取应用信息的分页"
)
public
ApiRes
<
PageResult
<
Application
>>
GetAllUpdateCfg
(
@RequestBody
ApplicationReq
req
){
return
ApiRes
.
success
(
applicationService
.
GetAllUpdateCfg
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/BussinessController.java
View file @
547c5f2d
...
...
@@ -42,13 +42,14 @@ public class BussinessController {
//查看业务单(可以条件查询)
@PostMapping
(
path
=
"/showBussinessOrder"
,
name
=
"查看业务单"
)
@PostMapping
(
path
=
"/showBussinessOrder"
,
name
=
"查看业务单#enable"
)
@ApiOperation
(
"查看业务单"
)
public
ApiRes
<
PageResult
<
BusForm
>>
showBussinessOrder
(
@RequestBody
QueryBusFormReq
req
){
return
ApiRes
.
success
(
busFormService
.
showBussinessOrder
(
req
));
}
//根据业务单id查询出入库单据
@PostMapping
(
path
=
"/showOrderByBusOrderId"
,
name
=
"根据业务单id查询出入库单据"
)
@PostMapping
(
path
=
"/showOrderByBusOrderId"
,
name
=
"根据业务单id查询出入库单据
#enable
"
)
@ApiOperation
(
"根据业务单id查询出入库单据"
)
public
ApiRes
<
Object
>
showOrderByBusOrderId
(
@RequestBody
QueryBusFormReq
req
){
return
ApiRes
.
success
(
busFormService
.
showOrderByBusOrderId
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/BussinessInventoryController.java
View file @
547c5f2d
...
...
@@ -49,7 +49,7 @@ public class BussinessInventoryController {
//盘库申请
@PostMapping
(
path
=
"/Check"
,
name
=
"预览盘点单"
)
@PostMapping
(
path
=
"/Check"
,
name
=
"预览盘点单
#enable
"
)
@ApiOperation
(
"预览盘点单"
)
public
ApiRes
<
BussinessInventoryDto
>
Check
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
BussinessInventoryReq
req
){
//判断是否有工作流id,如果有则将状态进行修改
...
...
@@ -64,14 +64,14 @@ public class BussinessInventoryController {
return
ApiRes
.
success
(
BussinessInventoryService
.
Start
(
req
));
}
//查询列表
@PostMapping
(
path
=
"/GetPage"
,
name
=
"查询列表"
)
@PostMapping
(
path
=
"/GetPage"
,
name
=
"查询列表
#enable
"
)
@ApiOperation
(
"查询列表"
)
public
ApiRes
<
PageResult
<
BussinessInventory
>>
GetPage
(
@RequestBody
BussinessInventoryReq
req
){
//判断是否有工作流id,如果有则将状态进行修改
return
ApiRes
.
success
(
BussinessInventoryService
.
GetPage
(
req
));
}
//盘库申请
@PostMapping
(
path
=
"/GetById"
,
name
=
"查询详情"
)
@PostMapping
(
path
=
"/GetById"
,
name
=
"查询详情
#enable
"
)
@ApiOperation
(
"查询详情"
)
public
ApiRes
<
BussinessInventoryDto
>
GetById
(
@RequestBody
BussinessInventoryReq
req
){
//判断是否有工作流id,如果有则将状态进行修改
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/CabinetController.java
View file @
547c5f2d
...
...
@@ -81,23 +81,21 @@ public class CabinetController {
}
//通过单警柜id查询单个箱门及其箱门信息
@PostMapping
(
path
=
"/ShowOneCabinet"
,
name
=
"查询单个单警柜及其箱门信息"
)
@PostMapping
(
path
=
"/ShowOneCabinet"
,
name
=
"查询单个单警柜及其箱门信息
#enable
"
)
@ApiOperation
(
"查询单个单警柜及其箱门信息"
)
public
ApiRes
<
CabinetDto
>
showOneCabinet
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
CabinetReq
req
){
return
ApiRes
.
success
(
cabinetService
.
showOneCabinet
(
req
));
}
//根据组织机构id查询出单警柜的详细信息(list)
@PostMapping
(
path
=
"/ShowCabinetList"
,
name
=
"查询单警柜列表"
)
@PostMapping
(
path
=
"/ShowCabinetList"
,
name
=
"查询单警柜列表#enable"
)
@ApiOperation
(
"查询单警柜列表"
)
public
ApiRes
<
List
<
CabinetDto
>>
showCabinetList
(
@RequestBody
CabinetReq
req
){
List
<
CabinetDto
>
allCabinetList
=
cabinetService
.
getAllCabinetList
(
req
);
return
ApiRes
.
success
(
allCabinetList
);
}
//根据组织机构id查询出单警柜的详细信息(page)
@PostMapping
(
path
=
"/ShowCabinetPage"
,
name
=
"查询单警柜列表"
)
@PostMapping
(
path
=
"/ShowCabinetPage"
,
name
=
"查询单警柜列表
#enable
"
)
@ApiOperation
(
"查询单警柜列表"
)
public
ApiRes
<
PageResult
<
CabinetDto
>>
ShowCabinetPage
(
@RequestBody
CabinetReq
req
){
return
ApiRes
.
success
(
cabinetService
.
ShowCabinetPage
(
req
));
...
...
@@ -105,17 +103,7 @@ public class CabinetController {
// @PostMapping("/boxBindPolice")
// @ApiOperation("箱门绑定人员")
// public ApiRes<Boolean> boxBindPolice(@RequestBody CabinetBoxReq req) {
// boolean result = cabinetService.boxBindPolice(req);
// if (!result){
// return ApiRes.failure("操作失败");
// }
// return ApiRes.success(result);
// }
@PostMapping
(
path
=
"/SearchOrgId"
,
name
=
"根据单警柜id查询组织机构id"
)
@PostMapping
(
path
=
"/SearchOrgId"
,
name
=
"根据单警柜id查询组织机构id#enable"
)
@ApiOperation
(
"/根据单警柜id查询组织机构id"
)
public
ApiRes
<
Long
>
SearchOrgId
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
CabinetReq
req
){
return
ApiRes
.
success
(
cabinetService
.
SearchOrgId
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/DestoryUnitController.java
View file @
547c5f2d
...
...
@@ -43,14 +43,14 @@ public class DestoryUnitController {
}
//查询报废/销毁单位(list)
@PostMapping
(
path
=
"/ShowDestoryUnitList"
,
name
=
"查询报废/销毁单位(list)"
)
@PostMapping
(
path
=
"/ShowDestoryUnitList"
,
name
=
"查询报废/销毁单位(list)
#enable
"
)
@ApiOperation
(
"查询报废/销毁单位(list)"
)
public
ApiRes
<
List
<
DestoryUnit
>>
showDestoryUnitList
(
@RequestBody
DestoryUnitReq
req
){
return
ApiRes
.
success
(
destoryUnitService
.
showDestoryUnitList
(
req
));
}
//查询报废/销毁单位(page)
@PostMapping
(
path
=
"/ShowDestoryUnitPage"
,
name
=
"修改报废/销毁单位(page)"
)
@PostMapping
(
path
=
"/ShowDestoryUnitPage"
,
name
=
"修改报废/销毁单位(page)
#enable
"
)
@ApiOperation
(
"修改报废/销毁单位(page)"
)
public
ApiRes
<
PageResult
<
DestoryUnit
>>
showDestoryUnitPage
(
@RequestBody
DestoryUnitReq
req
){
return
ApiRes
.
success
(
destoryUnitService
.
showDestoryUnitPage
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/DeviceConfigController.java
View file @
547c5f2d
...
...
@@ -48,13 +48,13 @@ public class DeviceConfigController {
return
ApiRes
.
success
(
deviceConfigService
.
updateDeviceConfig
(
req
));
}
//查询配置Page
@PostMapping
(
"/showDeviceConfigPag
e"
)
@PostMapping
(
path
=
"/showDeviceConfigPage"
,
name
=
"查询配置Page#enabl
e"
)
@ApiOperation
(
"查询配置Page"
)
public
ApiRes
<
PageResult
<
DeviceConfig
>>
showDeviceConfigPage
(
@RequestBody
QueryDeviceConfigReq
req
){
return
ApiRes
.
success
(
deviceConfigService
.
showDeviceConfigPage
(
req
));
}
//查询配置List
@PostMapping
(
"/showDeviceConfigList
"
)
@PostMapping
(
path
=
"/showDeviceConfigList"
,
name
=
"查询配置List#enable
"
)
@ApiOperation
(
"查询配置List"
)
public
ApiRes
<
List
<
DeviceConfig
>>
showDeviceConfigList
(
@RequestBody
QueryDeviceConfigReq
req
){
return
ApiRes
.
success
(
deviceConfigService
.
showDeviceConfigList
(
req
));
...
...
@@ -73,7 +73,7 @@ public class DeviceConfigController {
return
ApiRes
.
success
(
warehouseDevService
.
updateWarehouseDev
(
req
));
}
//查看除湿机配置
@PostMapping
(
"/showWarehouseDevList
"
)
@PostMapping
(
path
=
"/showWarehouseDevList"
,
name
=
"查看除湿机配置#enable
"
)
@ApiOperation
(
"查看除湿机配置"
)
public
ApiRes
<
List
<
WarehouseDev
>>
showWarehouseDevList
(
@RequestBody
@Validated
(
ValidationApi
.
list
.
class
)
UpdateWarehouseDevReq
req
){
return
ApiRes
.
success
(
warehouseDevService
.
showWarehouseDevList
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentSizeController.java
View file @
547c5f2d
...
...
@@ -48,19 +48,19 @@ public class EquipmentSizeController {
return
ApiRes
.
success
(
equipmentSizeService
.
deleteSize
(
req
));
}
@PostMapping
(
"/GetOneSiz
e"
)
@PostMapping
(
path
=
"/GetOneSize"
,
name
=
"查询单个号型信息#enabl
e"
)
@ApiOperation
(
"查询单个号型信息"
)
public
ApiRes
<
EquipmentSize
>
getOneSize
(
@RequestBody
QueryEquipmentSizeReq
req
)
{
//ResponseResult returnMsg =
return
ApiRes
.
success
(
equipmentSizeService
.
getOneSize
(
req
));
}
@PostMapping
(
"/ShowSiz
e"
)
@PostMapping
(
path
=
"/ShowSize"
,
name
=
"根据装备类型查询号型#enabl
e"
)
@ApiOperation
(
"根据装备类型查询号型"
)
public
ApiRes
<
List
<
EquipmentSizeDto
>>
getAllSize
(
@RequestBody
QueryEquipmentSizeReq
req
){
return
ApiRes
.
success
(
equipmentSizeService
.
getAllSize
(
req
));
}
@PostMapping
(
"/GetSizePag
e"
)
@PostMapping
(
path
=
"/GetSizePage"
,
name
=
"分页查询号型信息#enabl
e"
)
@ApiOperation
(
"分页查询号型信息"
)
public
ApiRes
<
PageResult
<
EquipmentSizeDto
>>
getSizePage
(
@RequestBody
QueryEquipmentSizeReq
req
){
return
ApiRes
.
success
(
equipmentSizeService
.
getSizePages
(
req
));
...
...
@@ -79,7 +79,7 @@ public class EquipmentSizeController {
}
//根据typeId返回号型名称
@PostMapping
(
"/searchByTypeIds
"
)
@PostMapping
(
path
=
"/searchByTypeIds"
,
name
=
"根据装备类型返回装备号型名称#enable
"
)
@ApiOperation
(
"/根据装备类型返回装备号型名称"
)
public
ApiRes
<
List
<
String
>>
searchByTypeIds
(
@RequestBody
QueryEquipmentSizeReq
req
){
return
ApiRes
.
success
(
equipmentSizeService
.
getByTypeIds
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentTypeController.java
View file @
547c5f2d
...
...
@@ -49,23 +49,25 @@ public class EquipmentTypeController {
return
ApiRes
.
success
(
equipmentTypeService
.
changeEquipmentState
(
req
));
}
@PostMapping
(
"/ShowEquipmentList
"
)
@PostMapping
(
path
=
"/ShowEquipmentList"
,
name
=
"查询类别列表#enable
"
)
@ApiOperation
(
"查询类别列表"
)
public
ApiRes
<
List
<
EquipmentTypeDto
>>
ShowEquipmentList
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
getEquipmentList
(
req
));
}
@PostMapping
(
"/ShowEquipmentESList"
)
@PostMapping
(
path
=
"/ShowEquipmentESList"
,
name
=
"查看业务单#enable"
)
@ApiOperation
(
"通过ES模糊检索类别列表"
)
public
ApiRes
<
ESTypeDto
>
ShowEquipmentESList
(
@RequestBody
QueryEquipmentTypeReq
req
)
throws
IOException
{
return
ApiRes
.
success
(
equipmentTypeService
.
getTypeTreeByEs
(
req
));
}
@PostMapping
(
"/GetEquipmentDetail"
)
@PostMapping
(
path
=
"/GetEquipmentDetail"
,
name
=
"查询单个物资信息#enable"
)
@ApiOperation
(
"查询单个物资信息"
)
public
ApiRes
<
EquipmentTypeDto
>
getEquipment
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
getEquipment
(
req
));
}
@PostMapping
(
"/getLowTyp
e"
)
@PostMapping
(
path
=
"/getLowType"
,
name
=
"根据上级物资查询下一级信息#enabl
e"
)
@ApiOperation
(
"根据上级物资查询下一级信息"
)
public
ApiRes
<
List
<
EquipmentTypeDto
>>
getLowType
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
getLowType
(
req
))
;
...
...
@@ -87,7 +89,8 @@ public class EquipmentTypeController {
}
//返回整棵物资树
@PostMapping
(
"/GetTypeTree"
)
@PostMapping
(
path
=
"/GetTypeTree"
,
name
=
"获取整棵物资树#enable"
)
@ApiOperation
(
"/获取整棵物资树"
)
public
ApiRes
<
List
<
EquipmentTreeDto
>>
GetTypeTree
(
@RequestBody
QueryEquipmentTypeReq
req
){
return
ApiRes
.
success
(
equipmentTypeService
.
GetTypeTree
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/InventoryController.java
View file @
547c5f2d
差异被折叠。
点击展开。
jyzb-biz/src/main/java/com/junmp/jyzb/controller/PubOrgController.java
View file @
547c5f2d
...
...
@@ -41,18 +41,18 @@ public class PubOrgController {
ResponseResult
returnMsg
=
pubOrgService
.
setShortName
(
orgId
);
return
returnMsg
;
}
@PostMapping
(
"/GetOrgList"
)
@PostMapping
(
path
=
"/GetOrgList"
,
name
=
"查询组织机构列表#enable"
)
@ApiOperation
(
"查询组织机构列表"
)
public
ApiRes
<
List
<
OrgDto
>>
getOrgList
(
@RequestBody
QueryOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
getOrgList
(
req
));
}
@PostMapping
(
"/GetCurrentList
"
)
@PostMapping
(
path
=
"/GetCurrentList"
,
name
=
"根据当前组织机构列表查询#enable
"
)
@ApiOperation
(
"根据当前组织机构列表查询"
)
public
ApiRes
<
OrgDto
>
GetCurrentList
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
QueryOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
getOrgHierarchy
(
req
));
}
@PostMapping
(
"/GetCurrentESList"
)
@PostMapping
(
path
=
"/GetCurrentESList"
,
name
=
"根据当前组织机构列表ES查询#enable"
)
@ApiOperation
(
"根据当前组织机构列表ES查询"
)
public
ApiRes
<
ESOrgDto
>
GetCurrentESList
(
@RequestBody
QueryOrgReq
req
)
throws
IOException
{
return
ApiRes
.
success
(
pubOrgService
.
getOrgTreeByEs
(
req
));
...
...
@@ -62,13 +62,14 @@ public class PubOrgController {
public
ApiRes
<
Boolean
>
changeOrgState
(
@RequestBody
@Validated
(
ValidationApi
.
updateStatus
.
class
)
UpdateOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
ChangeState
(
req
));
}
@PostMapping
(
"/GetLowOrg"
)
@PostMapping
(
path
=
"/GetLowOrg"
,
name
=
"根据组织机构查询下一级信息#enable"
)
@ApiOperation
(
"根据组织机构查询下一级信息"
)
public
ApiRes
<
List
<
OrgDto
>>
getLowOrg
(
@RequestBody
QueryOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
getLowOrg
(
req
))
;
}
//通过组织机构id获取上一层的组织机构数据
@PostMapping
(
"getUpOrgInfo
"
)
@PostMapping
(
path
=
"/getUpOrgInfo"
,
name
=
"获取上级组织机构信息#enable
"
)
@ApiOperation
(
"获取上级组织机构信息"
)
public
ApiRes
<
OrgDto
>
getUpOrgInfo
(
@RequestBody
QueryOrgReq
req
){
return
ApiRes
.
success
(
pubOrgService
.
getUpOrgInfo
(
req
));
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论