Commit 0988759b by kenzo

add ask加密

parent 18102eaf
......@@ -35,6 +35,7 @@ import com.cnooc.expert.controller.expert.model.response.ZhuanJiaShenQingJiLuPag
import com.cnooc.expert.external.expert.model.request.ApproveNodeGetApiReq;
import com.cnooc.expert.external.expert.model.request.ExamPaperSubmitApiReq;
import com.cnooc.expert.external.expert.model.request.TainLessonProgressUpdateApiReq;
import com.cnooc.expert.external.expert.model.request.XiuGaiJiLuSqByTypeQueryApiReq;
import com.cnooc.expert.external.expert.model.response.ApproveNodeGetApiResp;
import com.cnooc.expert.external.expert.model.response.CityTreeApiResp;
import com.cnooc.expert.external.expert.model.response.CommonFuJianListApiResp;
......@@ -64,6 +65,7 @@ import com.cnooc.expert.external.expert.model.response.TrainExamPageApiResp;
import com.cnooc.expert.external.expert.model.response.ViolationExpertGetApiResp;
import com.cnooc.expert.external.expert.model.response.ViolationExpertPageApiResp;
import com.cnooc.expert.external.expert.model.response.XiangMuInfoByChouQuNumGetApiResp;
import com.cnooc.expert.external.expert.model.response.XiuGaiJiLuSqByTypeQueryApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaInfoGetByBusinessIdApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaPingBiaoXiangMuRenWuPageApiResp;
import com.cnooc.expert.service.expert.ExpertService;
......@@ -209,6 +211,13 @@ public class ExpertController extends AbstractBaseController {
return ApiResult.successWithResult(apiResp);
}
// 根据事项类型查询专家修改记录
@PostMapping("/zhuan-jia/queryXiuGaiJiLuSqByType")
public ApiResult<XiuGaiJiLuSqByTypeQueryApiResp> queryXiuGaiJiLuSqByType(@RequestBody @Validated XiuGaiJiLuSqByTypeQueryApiReq req) {
XiuGaiJiLuSqByTypeQueryApiResp apiResp = expertService.queryXiuGaiJiLuSqByType(req);
return ApiResult.successWithResult(apiResp);
}
// *** 请假/休假 ***
// 根据抽取码获取评标项目
......
......@@ -61,15 +61,18 @@ import com.cnooc.expert.controller.expert.model.response.SecondaryUnitListItemRe
import com.cnooc.expert.controller.expert.model.response.TempExamPaperGetResp;
import com.cnooc.expert.controller.expert.model.response.ViolationGetResp;
import com.cnooc.expert.controller.expert.model.response.WeiGuiPageResp;
import com.cnooc.expert.controller.expert.model.response.XiuGaiJiLuSqByTypeQueryResp;
import com.cnooc.expert.controller.expert.model.response.ZhuanJiaInfoGetByBusinessIdResp;
import com.cnooc.expert.controller.expert.model.response.ZhuanJiaShenQingJiLuPageResp;
import com.cnooc.expert.external.expert.model.request.ApproveNodeGetApiReq;
import com.cnooc.expert.external.expert.model.request.ExamPaperSubmitApiReq;
import com.cnooc.expert.external.expert.model.request.TainLessonProgressUpdateApiReq;
import com.cnooc.expert.external.expert.model.request.XiuGaiJiLuSqByTypeQueryApiReq;
import com.cnooc.expert.external.expert.model.response.CommonFuJianListApiResp;
import com.cnooc.expert.external.expert.model.response.TainLessonProgressUpdateApiResp;
import com.cnooc.expert.external.expert.model.response.TrainCourseLessonGetApiResp;
import com.cnooc.expert.external.expert.model.response.TrainExamPageApiResp;
import com.cnooc.expert.external.expert.model.response.XiuGaiJiLuSqByTypeQueryApiResp;
import com.cnooc.expert.service.expert.ExpertMockService;
import lombok.AllArgsConstructor;
import org.springframework.validation.annotation.Validated;
......@@ -247,6 +250,13 @@ public class ExpertMockController extends AbstractBaseController {
return ApiResult.successWithResult(expertMockService.pagePingBiaoXiangMu(req));
}
// 根据事项类型查询专家修改记录
@PostMapping("/zhuan-jia/queryXiuGaiJiLuSqByType")
public ApiResult<XiuGaiJiLuSqByTypeQueryResp> queryXiuGaiJiLuSqByType(@RequestBody @Validated XiuGaiJiLuSqByTypeQueryApiReq req) {
XiuGaiJiLuSqByTypeQueryResp apiResp = expertMockService.queryXiuGaiJiLuSqByType(req);
return ApiResult.successWithResult(apiResp);
}
// *** 请假/休假 ***
// 紧急请假分页列表
......
package com.cnooc.expert.controller.expert.model.response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XiuGaiJiLuSqByTypeQueryResp {
private String jiluSqGuid;
private String zhuanJiaGuid;
private Integer xiuGaiQianZhuangTai;
private Integer xiuGaiHouZhuangTai;
private String xiuGaiLeiXing;
private String xiuGaiYuanYin;
private Long createTime;
private String creatorName;
private String creatorGuid;
private Long startTime;
private Long endTime;
private Boolean isChanged;
private String fuJianGuid;
private Boolean isRenew;
private Integer zhuanJiaQinRenQi;
private Integer jiePinYuanYinType;
private Integer renewYuanyinType;
private String renewJutiYuanyin;
private String pinQiStartTime;
private String pinQiEndTime;
}
......@@ -8,6 +8,7 @@ import com.cnooc.expert.controller.workflow.model.request.ApprovePathSettingPage
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingByConditionGetApiReq;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingSaveOrUpdateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstCalculateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstExistedQueryApiReq;
import com.cnooc.expert.external.workflow.model.request.InstRevokeApiReq;
import com.cnooc.expert.external.workflow.model.request.InstStartApiReq;
import com.cnooc.expert.external.workflow.model.response.ApprovePathSettingByConditionGetApiResp;
......@@ -80,5 +81,12 @@ public class WorkflowController extends AbstractBaseController {
List<ReceiveSettingByConditionFindApiResp> apiResp = workflowService.findReceiveSettingByCondition(req);
return ApiResult.successWithResult(apiResp);
}
// 查询是否存在流程实例对象
@PostMapping("/inst/qryInstExisted")
public ApiResult<Boolean> queryInstExisted(@RequestBody @Validated InstExistedQueryApiReq req) {
Boolean apiResp = workflowService.queryInstExisted(req);
return ApiResult.successWithResult(apiResp);
}
}
......@@ -13,6 +13,7 @@ import com.cnooc.expert.controller.workflow.model.response.ReceiveSettingByCondi
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingByConditionGetApiReq;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingSaveOrUpdateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstCalculateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstExistedQueryApiReq;
import com.cnooc.expert.external.workflow.model.request.InstRevokeApiReq;
import com.cnooc.expert.external.workflow.model.request.InstStartApiReq;
import com.cnooc.expert.service.workflow.WorkflowMockService;
......@@ -80,4 +81,12 @@ public class WorkflowMockController extends AbstractBaseController {
return ApiResult.successWithResult(apiResp);
}
// 查询是否存在流程实例对象
@PostMapping("/inst/qryInstExisted")
public ApiResult<Boolean> queryInstExisted(@RequestBody @Validated InstExistedQueryApiReq req) {
Boolean apiResp = workflowMockService.queryInstExisted(req);
return ApiResult.successWithResult(apiResp);
}
}
......@@ -19,6 +19,7 @@ import com.cnooc.expert.external.expert.model.request.ExpertInfoGetApiReq;
import com.cnooc.expert.external.expert.model.request.FirstCategoryExpertApplyApiReq;
import com.cnooc.expert.external.expert.model.request.GeRenXiuJiaApplyApiReq;
import com.cnooc.expert.external.expert.model.request.GeRenXiuJiaPageApiReq;
import com.cnooc.expert.external.expert.model.request.XiuGaiJiLuSqByTypeQueryApiReq;
import com.cnooc.expert.external.expert.model.response.GeRenXiuJiaZhuXiaoTimeUpdateApiResp;
import com.cnooc.expert.external.expert.model.request.JinJiQingJiaApplyApiReq;
import com.cnooc.expert.external.expert.model.request.JinJiQingJiaPageApiReq;
......@@ -64,6 +65,7 @@ import com.cnooc.expert.external.expert.model.response.ViolationAuditRecordListA
import com.cnooc.expert.external.expert.model.response.ViolationExpertGetApiResp;
import com.cnooc.expert.external.expert.model.response.ViolationExpertPageApiResp;
import com.cnooc.expert.external.expert.model.response.XiangMuInfoByChouQuNumGetApiResp;
import com.cnooc.expert.external.expert.model.response.XiuGaiJiLuSqByTypeQueryApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaInfoGetByBusinessIdApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaPingBiaoXiangMuRenWuPageApiResp;
import retrofit2.Call;
......@@ -124,9 +126,13 @@ public interface ExpertServiceApi {
Call<ApiBaseResult<XiangMuInfoByChouQuNumGetApiResp>> xiangMuInfoByChouQuNumGetApi(@HeaderMap Map<String, Object> headers, @Body XiangMuInfoByChouQuNumGetApiReq req);
// 专家评标项目分页
@POST("/mini/saas-expert/zjfw/zggrxxgl/queryZhuanJiaPingBiaoXiangMuRenWuList")
@POST("/api/mini/saas-expert/zjfw/zggrxxgl/queryZhuanJiaPingBiaoXiangMuRenWuList")
Call<ApiBaseResult<ApiBasePageResp<ZhuanJiaPingBiaoXiangMuRenWuPageApiResp>>> pageZhuanJiaPingBiaoXiangMuRenWuApi(@HeaderMap Map<String, Object> headers, @Body ZhuanJiaPingBiaoXiangMuRenWuPageApiReq req);
// 根据事项类型查询专家修改记录
@POST("/api/mini/saas-expert/zjfw/zggrxxgl/queryZhuanJiaPingBiaoXiangMuRenWuList")
Call<ApiBaseResult<XiuGaiJiLuSqByTypeQueryApiResp>> queryXiuGaiJiLuSqByTypeApi(@HeaderMap Map<String, Object> headers, @Body XiuGaiJiLuSqByTypeQueryApiReq req);
/* 请假、休假 */
// 请假分页
......
package com.cnooc.expert.external.expert.auth.service;
public class Test {
}
package com.cnooc.expert.external.expert.model.request;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class XiuGaiJiLuSqByTypeQueryApiReq {
private String id;
private Short type;
private Boolean isBusinessId;
}
package com.cnooc.expert.external.expert.model.response;
import com.cnooc.expert.system.entity.pojo.CurrentUserInfo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.math.BigDecimal;
......@@ -21,7 +22,8 @@ public class ExpertInfoResp {
private Integer subjectType;
private String tenantId_;
@JsonProperty("tenantId_")
private String tenantId;
private String tenantName;
......
package com.cnooc.expert.external.expert.model.response;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class XiuGaiJiLuSqByTypeQueryApiResp {
private String jiluSqGuid;
private String zhuanJiaGuid;
private Integer xiuGaiQianZhuangTai;
private Integer xiuGaiHouZhuangTai;
private String xiuGaiLeiXing;
private String xiuGaiYuanYin;
private Long createTime;
private String creatorName;
private String creatorGuid;
private Long startTime;
private Long endTime;
private Boolean isChanged;
private String fuJianGuid;
private Boolean isRenew;
private Integer zhuanJiaQinRenQi;
private Integer jiePinYuanYinType;
private Integer renewYuanyinType;
private String renewJutiYuanyin;
private String pinQiStartTime;
private String pinQiEndTime;
}
......@@ -33,6 +33,7 @@ import com.cnooc.expert.external.expert.model.request.ViolationAuditRecordListAp
import com.cnooc.expert.external.expert.model.request.ViolationExpertGetApiReq;
import com.cnooc.expert.external.expert.model.request.ViolationExpertPageApiReq;
import com.cnooc.expert.external.expert.model.request.XiangMuInfoByChouQuNumGetApiReq;
import com.cnooc.expert.external.expert.model.request.XiuGaiJiLuSqByTypeQueryApiReq;
import com.cnooc.expert.external.expert.model.request.ZhuanJiaInfoGetByBusinessIdApiReq;
import com.cnooc.expert.external.expert.model.request.ZhuanJiaPingBiaoXiangMuRenWuPageApiReq;
import com.cnooc.expert.external.expert.model.response.ApproveNodeGetApiResp;
......@@ -66,6 +67,7 @@ import com.cnooc.expert.external.expert.model.response.ViolationAuditRecordListA
import com.cnooc.expert.external.expert.model.response.ViolationExpertGetApiResp;
import com.cnooc.expert.external.expert.model.response.ViolationExpertPageApiResp;
import com.cnooc.expert.external.expert.model.response.XiangMuInfoByChouQuNumGetApiResp;
import com.cnooc.expert.external.expert.model.response.XiuGaiJiLuSqByTypeQueryApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaInfoGetByBusinessIdApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaPingBiaoXiangMuRenWuPageApiResp;
import org.apache.commons.collections4.CollectionUtils;
......@@ -179,6 +181,12 @@ public class ExpertServiceClient extends AbstractRetrofitManager {
return this.getResponseBody(call, "pageZhuanJiaPingBiaoXiangMuRenWu");
}
public ApiBaseResult<XiuGaiJiLuSqByTypeQueryApiResp> queryXiuGaiJiLuSqByType(XiuGaiJiLuSqByTypeQueryApiReq req) {
Map<String, Object> headers = super.getHeaders();
Call<ApiBaseResult<XiuGaiJiLuSqByTypeQueryApiResp>> call = expertServiceApi.queryXiuGaiJiLuSqByTypeApi(headers, req);
return this.getResponseBody(call, "queryXiuGaiJiLuSqByType");
}
/* 请假、休假 */
// 紧急请假分页
......
package com.cnooc.expert.external.expert.auth.service;
package com.cnooc.expert.external.expert.service;
import com.cnooc.expert.external.common.AbstractRetrofitManager;
import com.cnooc.expert.external.expert.api.LoginServiceApi;
......
......@@ -6,6 +6,7 @@ import com.cnooc.expert.external.common.model.response.ApiPagination;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingByConditionGetApiReq;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingSaveOrUpdateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstCalculateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstExistedQueryApiReq;
import com.cnooc.expert.external.workflow.model.request.InstRevokeApiReq;
import com.cnooc.expert.external.workflow.model.request.InstStartApiReq;
import com.cnooc.expert.external.workflow.model.response.ApprovePathSettingByConditionGetApiResp;
......@@ -54,4 +55,8 @@ public interface WorkflowServiceApi {
@Query("subjectId") String subjectId,
@Query("subjectName") String subjectName
);
@POST("/api/workflow2/expertManage/management/qryInstExisted")
Call<ApiBaseResult<Boolean>> queryInstExistedApi(@HeaderMap Map<String, Object> headers, @Body InstExistedQueryApiReq req);
}
package com.cnooc.expert.external.workflow.model.request;
import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;
@Data
public class InstExistedQueryApiReq {
// 业务id
@NotBlank(message = "业务id 不能为空")
private String businessId;
// 事项类型 code
@NotEmpty(message = "事项类型 不能为空")
private List<String> busType;
}
......@@ -9,6 +9,7 @@ import com.cnooc.expert.external.workflow.api.WorkflowServiceApi;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingByConditionGetApiReq;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingSaveOrUpdateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstCalculateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstExistedQueryApiReq;
import com.cnooc.expert.external.workflow.model.request.InstRevokeApiReq;
import com.cnooc.expert.external.workflow.model.request.InstStartApiReq;
import com.cnooc.expert.external.workflow.model.response.ApprovePathSettingByConditionGetApiResp;
......@@ -82,5 +83,11 @@ public class WorkflowServiceClient extends AbstractRetrofitManager {
return this.getResponseBody(call, "findReceiveSettingByCondition");
}
// 查询是否存在流程实例对象
public ApiBaseResult<Boolean> queryInstExisted(InstExistedQueryApiReq apiReq) {
Map<String, Object> headers = super.getHeaders();
Call<ApiBaseResult<Boolean>> call = workflowServiceApi.queryInstExistedApi(headers, apiReq);
return this.getResponseBody(call, "queryInstExisted");
}
}
......@@ -9,7 +9,7 @@ import com.cnooc.expert.common.utils.JwtUtils;
import com.cnooc.expert.common.utils.Sm2Util;
import com.cnooc.expert.common.utils.UserUtils;
import com.cnooc.expert.common.utils.ValidUtils;
import com.cnooc.expert.external.expert.auth.service.LoginServicesClient;
import com.cnooc.expert.external.expert.service.LoginServicesClient;
import com.cnooc.expert.external.expert.model.response.ExpertInfoAppResp;
import com.cnooc.expert.external.expert.model.response.ExpertInfoResp;
import com.cnooc.expert.service.auth.AccountLockService;
......
......@@ -58,12 +58,14 @@ import com.cnooc.expert.controller.expert.model.response.SecondaryUnitListItemRe
import com.cnooc.expert.controller.expert.model.response.TempExamPaperGetResp;
import com.cnooc.expert.controller.expert.model.response.ViolationGetResp;
import com.cnooc.expert.controller.expert.model.response.WeiGuiPageResp;
import com.cnooc.expert.controller.expert.model.response.XiuGaiJiLuSqByTypeQueryResp;
import com.cnooc.expert.controller.expert.model.response.ZhuanJiaInfoGetByBusinessIdResp;
import com.cnooc.expert.controller.expert.model.response.ZhuanJiaShenQingJiLuPageResp;
import com.cnooc.expert.external.expert.model.request.ApproveNodeGetApiReq;
import com.cnooc.expert.external.expert.model.request.ExamPaperSubmitApiReq;
import com.cnooc.expert.external.expert.model.request.ExpertInfoGetReq;
import com.cnooc.expert.external.expert.model.request.TainLessonProgressUpdateApiReq;
import com.cnooc.expert.external.expert.model.request.XiuGaiJiLuSqByTypeQueryApiReq;
import com.cnooc.expert.external.expert.model.response.CommonFuJianListApiResp;
import com.cnooc.expert.external.expert.model.response.TainLessonProgressUpdateApiResp;
import com.cnooc.expert.external.expert.model.response.TrainCourseLessonGetApiResp;
......@@ -3414,4 +3416,26 @@ public class ExpertMockService {
.build();
}
public XiuGaiJiLuSqByTypeQueryResp queryXiuGaiJiLuSqByType(XiuGaiJiLuSqByTypeQueryApiReq req) {
return XiuGaiJiLuSqByTypeQueryResp.builder()
.jiluSqGuid("9426e7d0-a290-4ac1-be22-60cdef1f94cf")
.zhuanJiaGuid("ed78e562-27a2-43ea-8ccd-704fc12ae0ae")
.xiuGaiQianZhuangTai(10)
.xiuGaiHouZhuangTai(11)
.xiuGaiLeiXing("人工")
.xiuGaiYuanYin("退库原因")
.createTime(1763814653887L)
.creatorName("张立辉")
.creatorGuid("1438567485735698432")
.startTime(null)
.endTime(null)
.isChanged(false)
.fuJianGuid("1439605366532644864")
.isRenew(null)
.zhuanJiaQinRenQi(null)
.jiePinYuanYinType(10)
.renewYuanyinType(null)
.renewJutiYuanyin(null)
.build();
}
}
......@@ -55,6 +55,7 @@ import com.cnooc.expert.external.expert.model.request.TrainExamPageApiReq;
import com.cnooc.expert.external.expert.model.request.ViolationExpertGetApiReq;
import com.cnooc.expert.external.expert.model.request.ViolationExpertPageApiReq;
import com.cnooc.expert.external.expert.model.request.XiangMuInfoByChouQuNumGetApiReq;
import com.cnooc.expert.external.expert.model.request.XiuGaiJiLuSqByTypeQueryApiReq;
import com.cnooc.expert.external.expert.model.request.ZhuanJiaPingBiaoXiangMuRenWuPageApiReq;
import com.cnooc.expert.external.expert.model.response.ApproveNodeGetApiResp;
import com.cnooc.expert.external.expert.model.response.CityTreeApiResp;
......@@ -86,6 +87,7 @@ import com.cnooc.expert.external.expert.model.response.TrainExamPageApiResp;
import com.cnooc.expert.external.expert.model.response.ViolationExpertGetApiResp;
import com.cnooc.expert.external.expert.model.response.ViolationExpertPageApiResp;
import com.cnooc.expert.external.expert.model.response.XiangMuInfoByChouQuNumGetApiResp;
import com.cnooc.expert.external.expert.model.response.XiuGaiJiLuSqByTypeQueryApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaInfoGetByBusinessIdApiResp;
import com.cnooc.expert.external.expert.model.response.ZhuanJiaPingBiaoXiangMuRenWuPageApiResp;
import com.cnooc.expert.external.expert.service.ExpertServiceClient;
......@@ -216,6 +218,11 @@ public class ExpertService {
return apiResp.getData();
}
public XiuGaiJiLuSqByTypeQueryApiResp queryXiuGaiJiLuSqByType(XiuGaiJiLuSqByTypeQueryApiReq req) {
ApiBaseResult<XiuGaiJiLuSqByTypeQueryApiResp> apiResp = expertServiceClient.queryXiuGaiJiLuSqByType(req);
return apiResp.getData();
}
public FirstCategoryExpertApplyApiResp applyFirstCategoryExpert(FirstCategoryExpertApplyReq req) {
FirstCategoryExpertApplyApiReq apiReq = FirstCategoryExpertApplyApiReq.builder()
.zhuanJiaGuid(req.getZhuanJiaGuid())
......
......@@ -11,6 +11,7 @@ import com.cnooc.expert.controller.workflow.model.response.ReceiveSettingByCondi
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingByConditionGetApiReq;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingSaveOrUpdateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstCalculateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstExistedQueryApiReq;
import com.cnooc.expert.external.workflow.model.request.InstRevokeApiReq;
import com.cnooc.expert.external.workflow.model.request.InstStartApiReq;
import com.google.common.collect.Lists;
......@@ -171,4 +172,8 @@ public class WorkflowMockService {
public List<ReceiveSettingByConditionFindResp> findReceiveSettingByCondition(ApprovePathSettingByConditionGetReq req) {
return Collections.emptyList();
}
public Boolean queryInstExisted(InstExistedQueryApiReq req) {
return Boolean.TRUE;
}
}
......@@ -9,6 +9,7 @@ import com.cnooc.expert.external.common.model.response.ApiPagination;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingByConditionGetApiReq;
import com.cnooc.expert.external.workflow.model.request.ApprovePathSettingSaveOrUpdateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstCalculateApiReq;
import com.cnooc.expert.external.workflow.model.request.InstExistedQueryApiReq;
import com.cnooc.expert.external.workflow.model.request.InstRevokeApiReq;
import com.cnooc.expert.external.workflow.model.request.InstStartApiReq;
import com.cnooc.expert.external.workflow.model.response.ApprovePathSettingByConditionGetApiResp;
......@@ -77,4 +78,9 @@ public class WorkflowService {
ApiBaseResult<List<ReceiveSettingByConditionFindApiResp>> apiResp = workflowServiceClient.findReceiveSettingByCondition(req);
return apiResp.getData();
}
public Boolean queryInstExisted(InstExistedQueryApiReq req) {
ApiBaseResult<Boolean> apiResp = workflowServiceClient.queryInstExisted(req);
return apiResp.getData();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment