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
e555499e
Commit
e555499e
authored
Dec 28, 2023
by
李小惠
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.sothing.top/843502640/jyzb_platformV2
into develop-lxh
parents
6dd8d1c6
547c5f2d
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
73 行增加
和
55 行删除
+73
-55
QueryOrgReq.java
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/query/QueryOrgReq.java
+1
-1
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
PubOrgServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/PubOrgServiceImpl.java
+6
-2
FlowDefinitionController.java
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/FlowDefinitionController.java
+1
-1
FlowInstanceController.java
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/FlowInstanceController.java
+1
-1
FlowTaskController.java
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/FlowTaskController.java
+1
-1
SysFormController.java
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/SysFormController.java
+3
-3
ProcessTemplates.java
jyzb-process/src/main/java/com/junmp/junmpProcess/entity/ProcessTemplates.java
+2
-1
WorkProcessServiceImpl.java
jyzb-process/src/main/java/com/junmp/junmpProcess/service/Bussiness/impl/WorkProcessServiceImpl.java
+2
-2
FlowTaskServiceImpl.java
jyzb-process/src/main/java/com/junmp/junmpProcess/service/impl/FlowTaskServiceImpl.java
+15
-0
SysFormServiceImpl.java
jyzb-process/src/main/java/com/junmp/junmpProcess/service/impl/SysFormServiceImpl.java
+5
-0
没有找到文件。
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/query/QueryOrgReq.java
View file @
e555499e
...
@@ -13,7 +13,7 @@ public class QueryOrgReq {
...
@@ -13,7 +13,7 @@ public class QueryOrgReq {
private
String
orgCode
;
private
String
orgCode
;
@NotNull
(
message
=
"组织机构不能为空"
,
groups
=
{
ValidationApi
.
detail
.
class
})
@NotNull
(
message
=
"组织机构不能为空"
,
groups
=
{
ValidationApi
.
detail
.
class
})
private
Long
orgId
;
private
Long
orgId
;
private
Lo
ng
currentOrg
;
private
Stri
ng
currentOrg
;
private
String
orgName
;
private
String
orgName
;
private
Long
parentId
;
private
Long
parentId
;
private
Integer
isDepartment
;
private
Integer
isDepartment
;
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/ApplicationController.java
View file @
e555499e
...
@@ -30,7 +30,7 @@ public class ApplicationController {
...
@@ -30,7 +30,7 @@ public class ApplicationController {
@Resource
@Resource
private
ApplicationService
applicationService
;
private
ApplicationService
applicationService
;
//获取应用信息的分页
//获取应用信息的分页
@PostMapping
(
path
=
"/GetAllUpdateCfg"
,
name
=
"获取应用信息的分页"
)
@PostMapping
(
path
=
"/GetAllUpdateCfg"
,
name
=
"获取应用信息的分页
#enable
"
)
@ApiOperation
(
"获取应用信息的分页"
)
@ApiOperation
(
"获取应用信息的分页"
)
public
ApiRes
<
PageResult
<
Application
>>
GetAllUpdateCfg
(
@RequestBody
ApplicationReq
req
){
public
ApiRes
<
PageResult
<
Application
>>
GetAllUpdateCfg
(
@RequestBody
ApplicationReq
req
){
return
ApiRes
.
success
(
applicationService
.
GetAllUpdateCfg
(
req
));
return
ApiRes
.
success
(
applicationService
.
GetAllUpdateCfg
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/BussinessController.java
View file @
e555499e
...
@@ -42,13 +42,14 @@ public class BussinessController {
...
@@ -42,13 +42,14 @@ public class BussinessController {
//查看业务单(可以条件查询)
//查看业务单(可以条件查询)
@PostMapping
(
path
=
"/showBussinessOrder"
,
name
=
"查看业务单"
)
@PostMapping
(
path
=
"/showBussinessOrder"
,
name
=
"查看业务单#enable"
)
@ApiOperation
(
"查看业务单"
)
@ApiOperation
(
"查看业务单"
)
public
ApiRes
<
PageResult
<
BusForm
>>
showBussinessOrder
(
@RequestBody
QueryBusFormReq
req
){
public
ApiRes
<
PageResult
<
BusForm
>>
showBussinessOrder
(
@RequestBody
QueryBusFormReq
req
){
return
ApiRes
.
success
(
busFormService
.
showBussinessOrder
(
req
));
return
ApiRes
.
success
(
busFormService
.
showBussinessOrder
(
req
));
}
}
//根据业务单id查询出入库单据
//根据业务单id查询出入库单据
@PostMapping
(
path
=
"/showOrderByBusOrderId"
,
name
=
"根据业务单id查询出入库单据"
)
@PostMapping
(
path
=
"/showOrderByBusOrderId"
,
name
=
"根据业务单id查询出入库单据
#enable
"
)
@ApiOperation
(
"根据业务单id查询出入库单据"
)
@ApiOperation
(
"根据业务单id查询出入库单据"
)
public
ApiRes
<
Object
>
showOrderByBusOrderId
(
@RequestBody
QueryBusFormReq
req
){
public
ApiRes
<
Object
>
showOrderByBusOrderId
(
@RequestBody
QueryBusFormReq
req
){
return
ApiRes
.
success
(
busFormService
.
showOrderByBusOrderId
(
req
));
return
ApiRes
.
success
(
busFormService
.
showOrderByBusOrderId
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/BussinessInventoryController.java
View file @
e555499e
...
@@ -49,7 +49,7 @@ public class BussinessInventoryController {
...
@@ -49,7 +49,7 @@ public class BussinessInventoryController {
//盘库申请
//盘库申请
@PostMapping
(
path
=
"/Check"
,
name
=
"预览盘点单"
)
@PostMapping
(
path
=
"/Check"
,
name
=
"预览盘点单
#enable
"
)
@ApiOperation
(
"预览盘点单"
)
@ApiOperation
(
"预览盘点单"
)
public
ApiRes
<
BussinessInventoryDto
>
Check
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
BussinessInventoryReq
req
){
public
ApiRes
<
BussinessInventoryDto
>
Check
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
BussinessInventoryReq
req
){
//判断是否有工作流id,如果有则将状态进行修改
//判断是否有工作流id,如果有则将状态进行修改
...
@@ -64,14 +64,14 @@ public class BussinessInventoryController {
...
@@ -64,14 +64,14 @@ public class BussinessInventoryController {
return
ApiRes
.
success
(
BussinessInventoryService
.
Start
(
req
));
return
ApiRes
.
success
(
BussinessInventoryService
.
Start
(
req
));
}
}
//查询列表
//查询列表
@PostMapping
(
path
=
"/GetPage"
,
name
=
"查询列表"
)
@PostMapping
(
path
=
"/GetPage"
,
name
=
"查询列表
#enable
"
)
@ApiOperation
(
"查询列表"
)
@ApiOperation
(
"查询列表"
)
public
ApiRes
<
PageResult
<
BussinessInventory
>>
GetPage
(
@RequestBody
BussinessInventoryReq
req
){
public
ApiRes
<
PageResult
<
BussinessInventory
>>
GetPage
(
@RequestBody
BussinessInventoryReq
req
){
//判断是否有工作流id,如果有则将状态进行修改
//判断是否有工作流id,如果有则将状态进行修改
return
ApiRes
.
success
(
BussinessInventoryService
.
GetPage
(
req
));
return
ApiRes
.
success
(
BussinessInventoryService
.
GetPage
(
req
));
}
}
//盘库申请
//盘库申请
@PostMapping
(
path
=
"/GetById"
,
name
=
"查询详情"
)
@PostMapping
(
path
=
"/GetById"
,
name
=
"查询详情
#enable
"
)
@ApiOperation
(
"查询详情"
)
@ApiOperation
(
"查询详情"
)
public
ApiRes
<
BussinessInventoryDto
>
GetById
(
@RequestBody
BussinessInventoryReq
req
){
public
ApiRes
<
BussinessInventoryDto
>
GetById
(
@RequestBody
BussinessInventoryReq
req
){
//判断是否有工作流id,如果有则将状态进行修改
//判断是否有工作流id,如果有则将状态进行修改
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/CabinetController.java
View file @
e555499e
...
@@ -81,23 +81,21 @@ public class CabinetController {
...
@@ -81,23 +81,21 @@ public class CabinetController {
}
}
//通过单警柜id查询单个箱门及其箱门信息
//通过单警柜id查询单个箱门及其箱门信息
@PostMapping
(
path
=
"/ShowOneCabinet"
,
name
=
"查询单个单警柜及其箱门信息"
)
@PostMapping
(
path
=
"/ShowOneCabinet"
,
name
=
"查询单个单警柜及其箱门信息
#enable
"
)
@ApiOperation
(
"查询单个单警柜及其箱门信息"
)
@ApiOperation
(
"查询单个单警柜及其箱门信息"
)
public
ApiRes
<
CabinetDto
>
showOneCabinet
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
CabinetReq
req
){
public
ApiRes
<
CabinetDto
>
showOneCabinet
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
CabinetReq
req
){
return
ApiRes
.
success
(
cabinetService
.
showOneCabinet
(
req
));
return
ApiRes
.
success
(
cabinetService
.
showOneCabinet
(
req
));
}
}
@PostMapping
(
path
=
"/ShowCabinetList"
,
name
=
"查询单警柜列表#enable"
)
//根据组织机构id查询出单警柜的详细信息(list)
@PostMapping
(
path
=
"/ShowCabinetList"
,
name
=
"查询单警柜列表"
)
@ApiOperation
(
"查询单警柜列表"
)
@ApiOperation
(
"查询单警柜列表"
)
public
ApiRes
<
List
<
CabinetDto
>>
showCabinetList
(
@RequestBody
CabinetReq
req
){
public
ApiRes
<
List
<
CabinetDto
>>
showCabinetList
(
@RequestBody
CabinetReq
req
){
List
<
CabinetDto
>
allCabinetList
=
cabinetService
.
getAllCabinetList
(
req
);
List
<
CabinetDto
>
allCabinetList
=
cabinetService
.
getAllCabinetList
(
req
);
return
ApiRes
.
success
(
allCabinetList
);
return
ApiRes
.
success
(
allCabinetList
);
}
}
//根据组织机构id查询出单警柜的详细信息(page)
@PostMapping
(
path
=
"/ShowCabinetPage"
,
name
=
"查询单警柜列表"
)
@PostMapping
(
path
=
"/ShowCabinetPage"
,
name
=
"查询单警柜列表
#enable
"
)
@ApiOperation
(
"查询单警柜列表"
)
@ApiOperation
(
"查询单警柜列表"
)
public
ApiRes
<
PageResult
<
CabinetDto
>>
ShowCabinetPage
(
@RequestBody
CabinetReq
req
){
public
ApiRes
<
PageResult
<
CabinetDto
>>
ShowCabinetPage
(
@RequestBody
CabinetReq
req
){
return
ApiRes
.
success
(
cabinetService
.
ShowCabinetPage
(
req
));
return
ApiRes
.
success
(
cabinetService
.
ShowCabinetPage
(
req
));
...
@@ -105,17 +103,7 @@ public class CabinetController {
...
@@ -105,17 +103,7 @@ public class CabinetController {
// @PostMapping("/boxBindPolice")
@PostMapping
(
path
=
"/SearchOrgId"
,
name
=
"根据单警柜id查询组织机构id#enable"
)
// @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"
)
@ApiOperation
(
"/根据单警柜id查询组织机构id"
)
@ApiOperation
(
"/根据单警柜id查询组织机构id"
)
public
ApiRes
<
Long
>
SearchOrgId
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
CabinetReq
req
){
public
ApiRes
<
Long
>
SearchOrgId
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
CabinetReq
req
){
return
ApiRes
.
success
(
cabinetService
.
SearchOrgId
(
req
));
return
ApiRes
.
success
(
cabinetService
.
SearchOrgId
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/DestoryUnitController.java
View file @
e555499e
...
@@ -43,14 +43,14 @@ public class DestoryUnitController {
...
@@ -43,14 +43,14 @@ public class DestoryUnitController {
}
}
//查询报废/销毁单位(list)
//查询报废/销毁单位(list)
@PostMapping
(
path
=
"/ShowDestoryUnitList"
,
name
=
"查询报废/销毁单位(list)"
)
@PostMapping
(
path
=
"/ShowDestoryUnitList"
,
name
=
"查询报废/销毁单位(list)
#enable
"
)
@ApiOperation
(
"查询报废/销毁单位(list)"
)
@ApiOperation
(
"查询报废/销毁单位(list)"
)
public
ApiRes
<
List
<
DestoryUnit
>>
showDestoryUnitList
(
@RequestBody
DestoryUnitReq
req
){
public
ApiRes
<
List
<
DestoryUnit
>>
showDestoryUnitList
(
@RequestBody
DestoryUnitReq
req
){
return
ApiRes
.
success
(
destoryUnitService
.
showDestoryUnitList
(
req
));
return
ApiRes
.
success
(
destoryUnitService
.
showDestoryUnitList
(
req
));
}
}
//查询报废/销毁单位(page)
//查询报废/销毁单位(page)
@PostMapping
(
path
=
"/ShowDestoryUnitPage"
,
name
=
"修改报废/销毁单位(page)"
)
@PostMapping
(
path
=
"/ShowDestoryUnitPage"
,
name
=
"修改报废/销毁单位(page)
#enable
"
)
@ApiOperation
(
"修改报废/销毁单位(page)"
)
@ApiOperation
(
"修改报废/销毁单位(page)"
)
public
ApiRes
<
PageResult
<
DestoryUnit
>>
showDestoryUnitPage
(
@RequestBody
DestoryUnitReq
req
){
public
ApiRes
<
PageResult
<
DestoryUnit
>>
showDestoryUnitPage
(
@RequestBody
DestoryUnitReq
req
){
return
ApiRes
.
success
(
destoryUnitService
.
showDestoryUnitPage
(
req
));
return
ApiRes
.
success
(
destoryUnitService
.
showDestoryUnitPage
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/DeviceConfigController.java
View file @
e555499e
...
@@ -48,13 +48,13 @@ public class DeviceConfigController {
...
@@ -48,13 +48,13 @@ public class DeviceConfigController {
return
ApiRes
.
success
(
deviceConfigService
.
updateDeviceConfig
(
req
));
return
ApiRes
.
success
(
deviceConfigService
.
updateDeviceConfig
(
req
));
}
}
//查询配置Page
//查询配置Page
@PostMapping
(
"/showDeviceConfigPag
e"
)
@PostMapping
(
path
=
"/showDeviceConfigPage"
,
name
=
"查询配置Page#enabl
e"
)
@ApiOperation
(
"查询配置Page"
)
@ApiOperation
(
"查询配置Page"
)
public
ApiRes
<
PageResult
<
DeviceConfig
>>
showDeviceConfigPage
(
@RequestBody
QueryDeviceConfigReq
req
){
public
ApiRes
<
PageResult
<
DeviceConfig
>>
showDeviceConfigPage
(
@RequestBody
QueryDeviceConfigReq
req
){
return
ApiRes
.
success
(
deviceConfigService
.
showDeviceConfigPage
(
req
));
return
ApiRes
.
success
(
deviceConfigService
.
showDeviceConfigPage
(
req
));
}
}
//查询配置List
//查询配置List
@PostMapping
(
"/showDeviceConfigList
"
)
@PostMapping
(
path
=
"/showDeviceConfigList"
,
name
=
"查询配置List#enable
"
)
@ApiOperation
(
"查询配置List"
)
@ApiOperation
(
"查询配置List"
)
public
ApiRes
<
List
<
DeviceConfig
>>
showDeviceConfigList
(
@RequestBody
QueryDeviceConfigReq
req
){
public
ApiRes
<
List
<
DeviceConfig
>>
showDeviceConfigList
(
@RequestBody
QueryDeviceConfigReq
req
){
return
ApiRes
.
success
(
deviceConfigService
.
showDeviceConfigList
(
req
));
return
ApiRes
.
success
(
deviceConfigService
.
showDeviceConfigList
(
req
));
...
@@ -73,7 +73,7 @@ public class DeviceConfigController {
...
@@ -73,7 +73,7 @@ public class DeviceConfigController {
return
ApiRes
.
success
(
warehouseDevService
.
updateWarehouseDev
(
req
));
return
ApiRes
.
success
(
warehouseDevService
.
updateWarehouseDev
(
req
));
}
}
//查看除湿机配置
//查看除湿机配置
@PostMapping
(
"/showWarehouseDevList
"
)
@PostMapping
(
path
=
"/showWarehouseDevList"
,
name
=
"查看除湿机配置#enable
"
)
@ApiOperation
(
"查看除湿机配置"
)
@ApiOperation
(
"查看除湿机配置"
)
public
ApiRes
<
List
<
WarehouseDev
>>
showWarehouseDevList
(
@RequestBody
@Validated
(
ValidationApi
.
list
.
class
)
UpdateWarehouseDevReq
req
){
public
ApiRes
<
List
<
WarehouseDev
>>
showWarehouseDevList
(
@RequestBody
@Validated
(
ValidationApi
.
list
.
class
)
UpdateWarehouseDevReq
req
){
return
ApiRes
.
success
(
warehouseDevService
.
showWarehouseDevList
(
req
));
return
ApiRes
.
success
(
warehouseDevService
.
showWarehouseDevList
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentSizeController.java
View file @
e555499e
...
@@ -48,19 +48,19 @@ public class EquipmentSizeController {
...
@@ -48,19 +48,19 @@ public class EquipmentSizeController {
return
ApiRes
.
success
(
equipmentSizeService
.
deleteSize
(
req
));
return
ApiRes
.
success
(
equipmentSizeService
.
deleteSize
(
req
));
}
}
@PostMapping
(
"/GetOneSiz
e"
)
@PostMapping
(
path
=
"/GetOneSize"
,
name
=
"查询单个号型信息#enabl
e"
)
@ApiOperation
(
"查询单个号型信息"
)
@ApiOperation
(
"查询单个号型信息"
)
public
ApiRes
<
EquipmentSize
>
getOneSize
(
@RequestBody
QueryEquipmentSizeReq
req
)
{
public
ApiRes
<
EquipmentSize
>
getOneSize
(
@RequestBody
QueryEquipmentSizeReq
req
)
{
//ResponseResult returnMsg =
//ResponseResult returnMsg =
return
ApiRes
.
success
(
equipmentSizeService
.
getOneSize
(
req
));
return
ApiRes
.
success
(
equipmentSizeService
.
getOneSize
(
req
));
}
}
@PostMapping
(
"/ShowSiz
e"
)
@PostMapping
(
path
=
"/ShowSize"
,
name
=
"根据装备类型查询号型#enabl
e"
)
@ApiOperation
(
"根据装备类型查询号型"
)
@ApiOperation
(
"根据装备类型查询号型"
)
public
ApiRes
<
List
<
EquipmentSizeDto
>>
getAllSize
(
@RequestBody
QueryEquipmentSizeReq
req
){
public
ApiRes
<
List
<
EquipmentSizeDto
>>
getAllSize
(
@RequestBody
QueryEquipmentSizeReq
req
){
return
ApiRes
.
success
(
equipmentSizeService
.
getAllSize
(
req
));
return
ApiRes
.
success
(
equipmentSizeService
.
getAllSize
(
req
));
}
}
@PostMapping
(
"/GetSizePag
e"
)
@PostMapping
(
path
=
"/GetSizePage"
,
name
=
"分页查询号型信息#enabl
e"
)
@ApiOperation
(
"分页查询号型信息"
)
@ApiOperation
(
"分页查询号型信息"
)
public
ApiRes
<
PageResult
<
EquipmentSizeDto
>>
getSizePage
(
@RequestBody
QueryEquipmentSizeReq
req
){
public
ApiRes
<
PageResult
<
EquipmentSizeDto
>>
getSizePage
(
@RequestBody
QueryEquipmentSizeReq
req
){
return
ApiRes
.
success
(
equipmentSizeService
.
getSizePages
(
req
));
return
ApiRes
.
success
(
equipmentSizeService
.
getSizePages
(
req
));
...
@@ -79,7 +79,7 @@ public class EquipmentSizeController {
...
@@ -79,7 +79,7 @@ public class EquipmentSizeController {
}
}
//根据typeId返回号型名称
//根据typeId返回号型名称
@PostMapping
(
"/searchByTypeIds
"
)
@PostMapping
(
path
=
"/searchByTypeIds"
,
name
=
"根据装备类型返回装备号型名称#enable
"
)
@ApiOperation
(
"/根据装备类型返回装备号型名称"
)
@ApiOperation
(
"/根据装备类型返回装备号型名称"
)
public
ApiRes
<
List
<
String
>>
searchByTypeIds
(
@RequestBody
QueryEquipmentSizeReq
req
){
public
ApiRes
<
List
<
String
>>
searchByTypeIds
(
@RequestBody
QueryEquipmentSizeReq
req
){
return
ApiRes
.
success
(
equipmentSizeService
.
getByTypeIds
(
req
));
return
ApiRes
.
success
(
equipmentSizeService
.
getByTypeIds
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentTypeController.java
View file @
e555499e
...
@@ -49,23 +49,25 @@ public class EquipmentTypeController {
...
@@ -49,23 +49,25 @@ public class EquipmentTypeController {
return
ApiRes
.
success
(
equipmentTypeService
.
changeEquipmentState
(
req
));
return
ApiRes
.
success
(
equipmentTypeService
.
changeEquipmentState
(
req
));
}
}
@PostMapping
(
"/ShowEquipmentList
"
)
@PostMapping
(
path
=
"/ShowEquipmentList"
,
name
=
"查询类别列表#enable
"
)
@ApiOperation
(
"查询类别列表"
)
@ApiOperation
(
"查询类别列表"
)
public
ApiRes
<
List
<
EquipmentTypeDto
>>
ShowEquipmentList
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
public
ApiRes
<
List
<
EquipmentTypeDto
>>
ShowEquipmentList
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
getEquipmentList
(
req
));
return
ApiRes
.
success
(
equipmentTypeService
.
getEquipmentList
(
req
));
}
}
@PostMapping
(
"/ShowEquipmentESList"
)
@PostMapping
(
path
=
"/ShowEquipmentESList"
,
name
=
"查看业务单#enable"
)
@ApiOperation
(
"通过ES模糊检索类别列表"
)
@ApiOperation
(
"通过ES模糊检索类别列表"
)
public
ApiRes
<
ESTypeDto
>
ShowEquipmentESList
(
@RequestBody
QueryEquipmentTypeReq
req
)
throws
IOException
{
public
ApiRes
<
ESTypeDto
>
ShowEquipmentESList
(
@RequestBody
QueryEquipmentTypeReq
req
)
throws
IOException
{
return
ApiRes
.
success
(
equipmentTypeService
.
getTypeTreeByEs
(
req
));
return
ApiRes
.
success
(
equipmentTypeService
.
getTypeTreeByEs
(
req
));
}
}
@PostMapping
(
"/GetEquipmentDetail"
)
@PostMapping
(
path
=
"/GetEquipmentDetail"
,
name
=
"查询单个物资信息#enable"
)
@ApiOperation
(
"查询单个物资信息"
)
@ApiOperation
(
"查询单个物资信息"
)
public
ApiRes
<
EquipmentTypeDto
>
getEquipment
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
public
ApiRes
<
EquipmentTypeDto
>
getEquipment
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
getEquipment
(
req
));
return
ApiRes
.
success
(
equipmentTypeService
.
getEquipment
(
req
));
}
}
@PostMapping
(
"/getLowTyp
e"
)
@PostMapping
(
path
=
"/getLowType"
,
name
=
"根据上级物资查询下一级信息#enabl
e"
)
@ApiOperation
(
"根据上级物资查询下一级信息"
)
@ApiOperation
(
"根据上级物资查询下一级信息"
)
public
ApiRes
<
List
<
EquipmentTypeDto
>>
getLowType
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
public
ApiRes
<
List
<
EquipmentTypeDto
>>
getLowType
(
@RequestBody
QueryEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
getLowType
(
req
))
;
return
ApiRes
.
success
(
equipmentTypeService
.
getLowType
(
req
))
;
...
@@ -87,7 +89,8 @@ public class EquipmentTypeController {
...
@@ -87,7 +89,8 @@ public class EquipmentTypeController {
}
}
//返回整棵物资树
//返回整棵物资树
@PostMapping
(
"/GetTypeTree"
)
@PostMapping
(
path
=
"/GetTypeTree"
,
name
=
"获取整棵物资树#enable"
)
@ApiOperation
(
"/获取整棵物资树"
)
@ApiOperation
(
"/获取整棵物资树"
)
public
ApiRes
<
List
<
EquipmentTreeDto
>>
GetTypeTree
(
@RequestBody
QueryEquipmentTypeReq
req
){
public
ApiRes
<
List
<
EquipmentTreeDto
>>
GetTypeTree
(
@RequestBody
QueryEquipmentTypeReq
req
){
return
ApiRes
.
success
(
equipmentTypeService
.
GetTypeTree
(
req
));
return
ApiRes
.
success
(
equipmentTypeService
.
GetTypeTree
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/controller/InventoryController.java
View file @
e555499e
差异被折叠。
点击展开。
jyzb-biz/src/main/java/com/junmp/jyzb/controller/PubOrgController.java
View file @
e555499e
...
@@ -41,18 +41,18 @@ public class PubOrgController {
...
@@ -41,18 +41,18 @@ public class PubOrgController {
ResponseResult
returnMsg
=
pubOrgService
.
setShortName
(
orgId
);
ResponseResult
returnMsg
=
pubOrgService
.
setShortName
(
orgId
);
return
returnMsg
;
return
returnMsg
;
}
}
@PostMapping
(
path
=
"/GetOrgList"
,
name
=
"查询组织机构列表#enable"
)
@PostMapping
(
"/GetOrgList"
)
@ApiOperation
(
"查询组织机构列表"
)
@ApiOperation
(
"查询组织机构列表"
)
public
ApiRes
<
List
<
OrgDto
>>
getOrgList
(
@RequestBody
QueryOrgReq
req
)
{
public
ApiRes
<
List
<
OrgDto
>>
getOrgList
(
@RequestBody
QueryOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
getOrgList
(
req
));
return
ApiRes
.
success
(
pubOrgService
.
getOrgList
(
req
));
}
}
@PostMapping
(
"/GetCurrentList
"
)
@PostMapping
(
path
=
"/GetCurrentList"
,
name
=
"根据当前组织机构列表查询#enable
"
)
@ApiOperation
(
"根据当前组织机构列表查询"
)
@ApiOperation
(
"根据当前组织机构列表查询"
)
public
ApiRes
<
OrgDto
>
GetCurrentList
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
QueryOrgReq
req
)
{
public
ApiRes
<
OrgDto
>
GetCurrentList
(
@RequestBody
@Validated
(
ValidationApi
.
detail
.
class
)
QueryOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
getOrgHierarchy
(
req
));
return
ApiRes
.
success
(
pubOrgService
.
getOrgHierarchy
(
req
));
}
}
@PostMapping
(
"/GetCurrentESList"
)
@PostMapping
(
path
=
"/GetCurrentESList"
,
name
=
"根据当前组织机构列表ES查询#enable"
)
@ApiOperation
(
"根据当前组织机构列表ES查询"
)
@ApiOperation
(
"根据当前组织机构列表ES查询"
)
public
ApiRes
<
ESOrgDto
>
GetCurrentESList
(
@RequestBody
QueryOrgReq
req
)
throws
IOException
{
public
ApiRes
<
ESOrgDto
>
GetCurrentESList
(
@RequestBody
QueryOrgReq
req
)
throws
IOException
{
return
ApiRes
.
success
(
pubOrgService
.
getOrgTreeByEs
(
req
));
return
ApiRes
.
success
(
pubOrgService
.
getOrgTreeByEs
(
req
));
...
@@ -62,13 +62,14 @@ public class PubOrgController {
...
@@ -62,13 +62,14 @@ public class PubOrgController {
public
ApiRes
<
Boolean
>
changeOrgState
(
@RequestBody
@Validated
(
ValidationApi
.
updateStatus
.
class
)
UpdateOrgReq
req
)
{
public
ApiRes
<
Boolean
>
changeOrgState
(
@RequestBody
@Validated
(
ValidationApi
.
updateStatus
.
class
)
UpdateOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
ChangeState
(
req
));
return
ApiRes
.
success
(
pubOrgService
.
ChangeState
(
req
));
}
}
@PostMapping
(
"/GetLowOrg"
)
@PostMapping
(
path
=
"/GetLowOrg"
,
name
=
"根据组织机构查询下一级信息#enable"
)
@ApiOperation
(
"根据组织机构查询下一级信息"
)
@ApiOperation
(
"根据组织机构查询下一级信息"
)
public
ApiRes
<
List
<
OrgDto
>>
getLowOrg
(
@RequestBody
QueryOrgReq
req
)
{
public
ApiRes
<
List
<
OrgDto
>>
getLowOrg
(
@RequestBody
QueryOrgReq
req
)
{
return
ApiRes
.
success
(
pubOrgService
.
getLowOrg
(
req
))
;
return
ApiRes
.
success
(
pubOrgService
.
getLowOrg
(
req
))
;
}
}
//通过组织机构id获取上一层的组织机构数据
//通过组织机构id获取上一层的组织机构数据
@PostMapping
(
"getUpOrgInfo
"
)
@PostMapping
(
path
=
"/getUpOrgInfo"
,
name
=
"获取上级组织机构信息#enable
"
)
@ApiOperation
(
"获取上级组织机构信息"
)
@ApiOperation
(
"获取上级组织机构信息"
)
public
ApiRes
<
OrgDto
>
getUpOrgInfo
(
@RequestBody
QueryOrgReq
req
){
public
ApiRes
<
OrgDto
>
getUpOrgInfo
(
@RequestBody
QueryOrgReq
req
){
return
ApiRes
.
success
(
pubOrgService
.
getUpOrgInfo
(
req
));
return
ApiRes
.
success
(
pubOrgService
.
getUpOrgInfo
(
req
));
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/PubOrgServiceImpl.java
View file @
e555499e
...
@@ -2,6 +2,7 @@ package com.junmp.jyzb.service.impl;
...
@@ -2,6 +2,7 @@ package com.junmp.jyzb.service.impl;
import
cn.hutool.core.util.ObjectUtil
;
import
cn.hutool.core.util.ObjectUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.StringUtils
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.junmp.jyzb.Repository.PubOrgRepository
;
import
com.junmp.jyzb.Repository.PubOrgRepository
;
import
com.junmp.jyzb.api.bean.dto.*
;
import
com.junmp.jyzb.api.bean.dto.*
;
...
@@ -377,7 +378,7 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
...
@@ -377,7 +378,7 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
* @return
* @return
* @throws IOException
* @throws IOException
*/
*/
public
List
<
PubOrg
>
searchOrg
(
Integer
pageNum
,
Integer
pageSize
,
String
keyword
,
Lo
ng
currentOrg
)
throws
IOException
{
public
List
<
PubOrg
>
searchOrg
(
Integer
pageNum
,
Integer
pageSize
,
String
keyword
,
Stri
ng
currentOrg
)
throws
IOException
{
if
(
pageNum
<
0
)
pageNum
=
0
;
if
(
pageNum
<
0
)
pageNum
=
0
;
SearchRequest
request
=
new
SearchRequest
(
"org_pinyin"
);
SearchRequest
request
=
new
SearchRequest
(
"org_pinyin"
);
...
@@ -397,8 +398,11 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
...
@@ -397,8 +398,11 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
// 添加过滤条件,orgParentIds 包含当前字段,或者 orgId 等于当前字段
// 添加过滤条件,orgParentIds 包含当前字段,或者 orgId 等于当前字段
BoolQueryBuilder
orgFilter
=
QueryBuilders
.
boolQuery
();
BoolQueryBuilder
orgFilter
=
QueryBuilders
.
boolQuery
();
if
(
StringUtils
.
isNotBlank
(
currentOrg
)
)
{
orgFilter
.
should
(
QueryBuilders
.
wildcardQuery
(
"orgParentIds"
,
"*"
+
currentOrg
+
"*"
));
orgFilter
.
should
(
QueryBuilders
.
wildcardQuery
(
"orgParentIds"
,
"*"
+
currentOrg
+
"*"
));
orgFilter
.
should
(
QueryBuilders
.
termQuery
(
"orgId"
,
currentOrg
.
toString
()));
orgFilter
.
should
(
QueryBuilders
.
termQuery
(
"orgId"
,
currentOrg
.
toString
()));
}
boolQueryBuilder
.
filter
(
orgFilter
);
boolQueryBuilder
.
filter
(
orgFilter
);
builder
.
query
(
boolQueryBuilder
);
builder
.
query
(
boolQueryBuilder
);
...
@@ -552,7 +556,7 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
...
@@ -552,7 +556,7 @@ public class PubOrgServiceImpl extends ServiceImpl<PubOrgMapper, PubOrg> implem
// 先进行搜索,获取前20条数据
// 先进行搜索,获取前20条数据
List
<
PubOrg
>
searchResults
=
searchOrg
(
0
,
20
,
req
.
getOrgName
(),
req
.
getCurrentOrg
());
List
<
PubOrg
>
searchResults
=
searchOrg
(
0
,
20
,
req
.
getOrgName
(),
req
.
getCurrentOrg
());
req
.
setDelFlag
(
1
);
req
.
setDelFlag
(
1
);
// 获取所有组织机构数据
// 获取所有组织机构数据
List
<
PubOrg
>
orgsAll
=
searchAll
(
0
,
3000
);
List
<
PubOrg
>
orgsAll
=
searchAll
(
0
,
3000
);
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/FlowDefinitionController.java
View file @
e555499e
...
@@ -28,7 +28,7 @@ import java.util.Map;
...
@@ -28,7 +28,7 @@ import java.util.Map;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/FlowDefinition"
)
@RequestMapping
(
"/FlowDefinition"
)
@Api
(
tags
=
"流程定义"
)
@Api
(
tags
=
"
[工作流]
流程定义"
)
public
class
FlowDefinitionController
{
public
class
FlowDefinitionController
{
@Autowired
@Autowired
private
IFlowDefinitionService
FlowDefinitionService
;
private
IFlowDefinitionService
FlowDefinitionService
;
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/FlowInstanceController.java
View file @
e555499e
...
@@ -18,7 +18,7 @@ import java.util.Map;
...
@@ -18,7 +18,7 @@ import java.util.Map;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/FlowInstance"
)
@RequestMapping
(
"/FlowInstance"
)
@Api
(
tags
=
"流程实例"
)
@Api
(
tags
=
"
[工作流]
流程实例"
)
public
class
FlowInstanceController
{
public
class
FlowInstanceController
{
@Autowired
@Autowired
private
IFlowInstanceService
flowInstanceService
;
private
IFlowInstanceService
flowInstanceService
;
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/FlowTaskController.java
View file @
e555499e
...
@@ -31,7 +31,7 @@ import java.util.List;
...
@@ -31,7 +31,7 @@ import java.util.List;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/FlowTask"
)
@RequestMapping
(
"/FlowTask"
)
@Api
(
tags
=
"流程任务"
)
@Api
(
tags
=
"
[工作流]
流程任务"
)
public
class
FlowTaskController
{
public
class
FlowTaskController
{
@Autowired
@Autowired
private
IFlowTaskService
FlowTaskService
;
private
IFlowTaskService
FlowTaskService
;
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/controller/SysFormController.java
View file @
e555499e
...
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -19,7 +19,7 @@ import org.springframework.web.bind.annotation.*;
@Slf4j
@Slf4j
@RestController
@RestController
@RequestMapping
(
"/SysForm"
)
@RequestMapping
(
"/SysForm"
)
@Api
(
tags
=
"流程编辑"
)
@Api
(
tags
=
"
[工作流]
流程编辑"
)
public
class
SysFormController
{
public
class
SysFormController
{
@Autowired
@Autowired
private
ISysFormService
SysFormService
;
private
ISysFormService
SysFormService
;
...
@@ -45,8 +45,8 @@ public class SysFormController {
...
@@ -45,8 +45,8 @@ public class SysFormController {
return
ApiRes
.
success
(
SysFormService
.
updateFormName
(
process
));
return
ApiRes
.
success
(
SysFormService
.
updateFormName
(
process
));
}
}
@ApiOperation
(
"获取全部可用的表单和审核流"
)
@ApiOperation
(
"获取全部可用的表单和审核流"
)
@
Ge
tMapping
(
value
=
"GetFormList"
)
@
Pos
tMapping
(
value
=
"GetFormList"
)
public
ApiRes
<
PageResult
<
TemplateGroupVo
>>
GetFormList
(
BaseRequest
br
)
{
public
ApiRes
<
PageResult
<
TemplateGroupVo
>>
GetFormList
(
@RequestBody
BaseRequest
br
)
{
return
ApiRes
.
success
(
SysFormService
.
getFormList
(
br
));
return
ApiRes
.
success
(
SysFormService
.
getFormList
(
br
));
}
}
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/entity/ProcessTemplates.java
View file @
e555499e
...
@@ -29,7 +29,8 @@ public class ProcessTemplates {
...
@@ -29,7 +29,8 @@ public class ProcessTemplates {
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
String
formId
;
private
String
formId
;
private
String
formName
;
private
String
formName
;
private
String
orgId
;
@TableField
(
value
=
"org_id"
)
private
Long
orgId
;
@TableField
(
exist
=
false
)
@TableField
(
exist
=
false
)
private
Integer
groupId
;
private
Integer
groupId
;
/**
/**
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/service/Bussiness/impl/WorkProcessServiceImpl.java
View file @
e555499e
...
@@ -210,7 +210,7 @@ public class WorkProcessServiceImpl extends ServiceImpl<ProcessTemplatesMapper,
...
@@ -210,7 +210,7 @@ public class WorkProcessServiceImpl extends ServiceImpl<ProcessTemplatesMapper,
.
formId
(
v
.
getTemplateId
())
.
formId
(
v
.
getTemplateId
())
.
remark
(
v
.
getRemark
())
.
remark
(
v
.
getRemark
())
.
formName
(
v
.
getFormName
())
.
formName
(
v
.
getFormName
())
.
orgId
(
v
.
getOrgId
(
))
.
orgId
(
String
.
valueOf
(
v
.
getOrgId
()
))
.
isStop
(
v
.
getIsStop
())
.
isStop
(
v
.
getIsStop
())
.
updated
(
DateFormatUtils
.
format
(
v
.
getUpdated
(),
"yyyy年MM月dd日 HH时:mm分:ss秒"
))
.
updated
(
DateFormatUtils
.
format
(
v
.
getUpdated
(),
"yyyy年MM月dd日 HH时:mm分:ss秒"
))
.
templateId
(
v
.
getTemplateId
())
.
templateId
(
v
.
getTemplateId
())
...
@@ -278,7 +278,7 @@ public class WorkProcessServiceImpl extends ServiceImpl<ProcessTemplatesMapper,
...
@@ -278,7 +278,7 @@ public class WorkProcessServiceImpl extends ServiceImpl<ProcessTemplatesMapper,
ProcessTemplates
processTemplates
=
ProcessTemplates
.
builder
().
build
();
ProcessTemplates
processTemplates
=
ProcessTemplates
.
builder
().
build
();
String
templateId
=
idWorker
.
nextId
()+
""
;
String
templateId
=
idWorker
.
nextId
()+
""
;
processTemplates
.
setOrgId
(
req
.
getOrgId
(
));
processTemplates
.
setOrgId
(
Long
.
valueOf
(
req
.
getOrgId
()
));
processTemplates
.
setTemplateId
(
templateId
);
processTemplates
.
setTemplateId
(
templateId
);
processTemplates
.
setFormName
(
req
.
getFormName
());
processTemplates
.
setFormName
(
req
.
getFormName
());
processTemplates
.
setRemark
(
req
.
getRemark
());
processTemplates
.
setRemark
(
req
.
getRemark
());
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/service/impl/FlowTaskServiceImpl.java
View file @
e555499e
...
@@ -793,6 +793,21 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
...
@@ -793,6 +793,21 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
{
{
vo
.
setTaskId
(
tasks
.
get
(
0
).
getId
());
vo
.
setTaskId
(
tasks
.
get
(
0
).
getId
());
}
}
//点击后消除已读消息,暂时不用,依赖前端处理
MessageReq
reqmsg
=
new
MessageReq
();
reqmsg
.
setBizId
(
Long
.
valueOf
(
processInstanceId
));
reqmsg
.
setReceiveUserId
(
StartUser
.
getUserId
());
reqmsg
.
setReadFlag
(
0
);
List
<
MessageRes
>
msgRes
=
messageApi
.
queryList
(
reqmsg
);
if
(
msgRes
.
size
()>
0
)
{
// 使用流将 id 取出,并用逗号拼接成字符串
String
ids
=
msgRes
.
stream
()
.
map
(
MessageRes:
:
getMsgId
)
.
map
(
String:
:
valueOf
)
// 将 id 转换为字符串
.
collect
(
Collectors
.
joining
(
","
));
messageApi
.
batchReadFlagByMessageIds
(
ids
,
MsgReadStateEnum
.
READ
);
}
String
tempID
=
flowInstanceService
.
getFormIdByInstanceId
(
processInstanceId
);
//先拿到表单id,然后通过表单拿到初始表结构
String
tempID
=
flowInstanceService
.
getFormIdByInstanceId
(
processInstanceId
);
//先拿到表单id,然后通过表单拿到初始表结构
ProcessTemplates
processTemplates
=
processTemplateService
.
getById
(
tempID
);
ProcessTemplates
processTemplates
=
processTemplateService
.
getById
(
tempID
);
...
...
jyzb-process/src/main/java/com/junmp/junmpProcess/service/impl/SysFormServiceImpl.java
View file @
e555499e
...
@@ -141,7 +141,11 @@ public class SysFormServiceImpl extends ServiceImpl<ProcessTemplatesMapper, Proc
...
@@ -141,7 +141,11 @@ public class SysFormServiceImpl extends ServiceImpl<ProcessTemplatesMapper, Proc
public
PageResult
<
TemplateGroupVo
>
getFormList
(
BaseRequest
br
)
public
PageResult
<
TemplateGroupVo
>
getFormList
(
BaseRequest
br
)
{
{
Map
<
String
,
Object
>
params
=
br
.
getParams
();
LambdaQueryWrapper
<
ProcessTemplates
>
wrapper
=
new
LambdaQueryWrapper
<
ProcessTemplates
>();
LambdaQueryWrapper
<
ProcessTemplates
>
wrapper
=
new
LambdaQueryWrapper
<
ProcessTemplates
>();
wrapper
.
and
(
q
->
q
.
eq
(
ProcessTemplates:
:
getOrgId
,
params
.
get
(
"orgId"
))
.
or
()
.
isNull
(
ProcessTemplates:
:
getOrgId
));
wrapper
.
orderByDesc
(
ProcessTemplates:
:
getUpdated
);
wrapper
.
orderByDesc
(
ProcessTemplates:
:
getUpdated
);
TemplateGroupMapper
templateGroupMapper
=
SpringContextHolder
.
getBean
(
TemplateGroupMapper
.
class
);
TemplateGroupMapper
templateGroupMapper
=
SpringContextHolder
.
getBean
(
TemplateGroupMapper
.
class
);
Page
<
ProcessTemplates
>
allformAndGroups
=
this
.
page
(
PageFactory
.
getDefaultPage
(),
wrapper
);
Page
<
ProcessTemplates
>
allformAndGroups
=
this
.
page
(
PageFactory
.
getDefaultPage
(),
wrapper
);
...
@@ -176,6 +180,7 @@ public class SysFormServiceImpl extends ServiceImpl<ProcessTemplatesMapper, Proc
...
@@ -176,6 +180,7 @@ public class SysFormServiceImpl extends ServiceImpl<ProcessTemplatesMapper, Proc
.
formId
(
v
.
getTemplateId
())
.
formId
(
v
.
getTemplateId
())
.
remark
(
v
.
getRemark
())
.
remark
(
v
.
getRemark
())
.
formName
(
v
.
getFormName
())
.
formName
(
v
.
getFormName
())
.
orgId
(
String
.
valueOf
(
v
.
getOrgId
()))
.
isStop
(
v
.
getIsStop
())
.
isStop
(
v
.
getIsStop
())
.
updated
(
DateFormatUtils
.
format
(
v
.
getUpdated
(),
"yyyy年MM月dd日 HH时:mm分:ss秒"
))
.
updated
(
DateFormatUtils
.
format
(
v
.
getUpdated
(),
"yyyy年MM月dd日 HH时:mm分:ss秒"
))
.
templateId
(
v
.
getTemplateId
())
.
templateId
(
v
.
getTemplateId
())
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论