|
@@ -138,6 +138,21 @@ public class FlowExampleServiceImpl extends ServiceImpl<FlowExampleMapper, FlowE
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public Page<FlowExampleVo> getPage(FlowExampleSelectDto dto) {
|
|
|
+
|
|
|
+ IWrapper<FlowExample> wrapper = getWrapper()
|
|
|
+ .func(q -> {
|
|
|
+ if (Objects.equals(1, dto.getStatus())) {
|
|
|
+ q.in("fe", FlowExample::getStatus, 0, 1);
|
|
|
+ } else {
|
|
|
+ q.in("fe", FlowExample::getStatus, 2, 3);
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ return doSelectExample(dto, wrapper);
|
|
|
+ }
|
|
|
+
|
|
|
private List<ApprovalRecordVo.ButtonInfo> getButtonInfoList(FlowExample flowExample,
|
|
|
List<FlowDefinitionNode> flowDefinitionNodeList) {
|
|
|
|