wuxw
2022-07-17 ce64e667815b39efdc2f8bd52be0d43d49db8d84
java110-interface/src/main/java/com/java110/intf/common/IContractChangeUserInnerServiceSMO.java
@@ -1,16 +1,21 @@
package com.java110.intf.common;
import com.java110.config.feign.FeignConfiguration;
import com.java110.dto.contract.ContractDto;
import com.java110.dto.contractChangePlan.ContractChangePlanDto;
import com.java110.entity.audit.AuditUser;
import com.java110.po.contract.ContractPo;
import com.java110.po.contractChangePlan.ContractChangePlanPo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@FeignClient(name = "common-service", configuration = {FeignConfiguration.class})
@FeignClient(name = "${java110.common-service}", configuration = {FeignConfiguration.class})
@RequestMapping("/contractChangeUserApi")
public interface IContractChangeUserInnerServiceSMO {
@@ -85,4 +90,14 @@
    @RequestMapping(value = "/getUserHistoryTasks", method = RequestMethod.POST)
    public List<ContractChangePlanDto> getUserHistoryTasks(@RequestBody AuditUser user);
    @RequestMapping(value = "/completeTask", method = RequestMethod.POST)
    public boolean completeTask(@RequestBody ContractChangePlanDto contractChangePlanDto);
    /**
     * 删除任务
     * @return true 为流程结束 false 为流程没有结束
     */
    @RequestMapping(value = "/deleteTask", method = RequestMethod.POST)
    public boolean deleteTask(@RequestBody ContractChangePlanPo contractDto);
}