|
|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
package cn.iocoder.yudao.module.crm.service.receivable.listener;
|
|
|
|
|
|
|
|
|
|
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
|
|
|
|
|
import cn.iocoder.yudao.module.bpm.api.event.BpmProcessInstanceStatusEvent;
|
|
|
|
|
import cn.iocoder.yudao.module.bpm.api.event.BpmProcessInstanceStatusEventListener;
|
|
|
|
|
import cn.iocoder.yudao.module.crm.enums.ApiConstants;
|
|
|
|
|
import cn.iocoder.yudao.module.crm.service.receivable.CrmReceivableService;
|
|
|
|
|
import cn.iocoder.yudao.module.crm.service.receivable.CrmReceivableServiceImpl;
|
|
|
|
|
import jakarta.annotation.Resource;
|
|
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
|
|
@ -20,7 +18,6 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
*/
|
|
|
|
|
@RestController
|
|
|
|
|
@Validated
|
|
|
|
|
@FeignClient(name = ApiConstants.NAME) // TODO 芋艿:fallbackFactory =
|
|
|
|
|
public class CrmReceivableStatusListener extends BpmProcessInstanceStatusEventListener {
|
|
|
|
|
|
|
|
|
|
private static final String PREFIX = ApiConstants.PREFIX + "/receivable";
|
|
|
|
|
|