Skip to content

Commit a75e881

Browse files
committed
【同步】BOOT 和 CLOUD 的功能
1 parent db28fd3 commit a75e881

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

yudao-module-bpm/yudao-module-bpm-server/src/main/java/cn/iocoder/yudao/module/bpm/api/event/CrmContractStatusListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package cn.iocoder.yudao.module.bpm.api.event;
22

33
import cn.iocoder.yudao.module.bpm.framework.flowable.core.util.BpmHttpRequestUtils;
4-
import jakarta.validation.Valid;
54
import org.springframework.web.bind.annotation.RequestBody;
65

6+
import javax.validation.Valid;
7+
78
/**
89
* 合同审批的结果的监听器实现类
910
*

yudao-module-bpm/yudao-module-bpm-server/src/main/java/cn/iocoder/yudao/module/bpm/api/event/CrmReceivableStatusListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
package cn.iocoder.yudao.module.bpm.api.event;
22

33
import cn.iocoder.yudao.module.bpm.framework.flowable.core.util.BpmHttpRequestUtils;
4-
import jakarta.validation.Valid;
54
import org.springframework.web.bind.annotation.RequestBody;
65

6+
import javax.validation.Valid;
7+
78
/**
89
* 回款审批的结果的监听器实现类
910
*

yudao-module-bpm/yudao-module-bpm-server/src/test/java/cn/iocoder/yudao/module/bpm/service/category/BpmCategoryServiceImplTest.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
import cn.iocoder.yudao.module.bpm.dal.mysql.category.BpmCategoryMapper;
1010
import cn.iocoder.yudao.module.bpm.service.definition.BpmCategoryServiceImpl;
1111
import cn.iocoder.yudao.module.bpm.service.definition.BpmModelService;
12-
import jakarta.annotation.Resource;
1312
import org.junit.jupiter.api.Test;
13+
import org.springframework.boot.test.mock.mockito.MockBean;
1414
import org.springframework.context.annotation.Import;
15-
import org.springframework.test.context.bean.override.mockito.MockitoBean;
15+
16+
import javax.annotation.Resource;
1617

1718
import static cn.iocoder.yudao.framework.common.util.date.LocalDateTimeUtils.buildBetweenTime;
1819
import static cn.iocoder.yudao.framework.common.util.date.LocalDateTimeUtils.buildTime;
@@ -34,7 +35,7 @@ public class BpmCategoryServiceImplTest extends BaseDbUnitTest {
3435
@Resource
3536
private BpmCategoryServiceImpl categoryService;
3637

37-
@MockitoBean
38+
@MockBean
3839
private BpmModelService modelService;
3940

4041
@Resource

yudao-module-crm/yudao-module-crm-server/src/main/java/cn/iocoder/yudao/module/crm/service/receivable/listener/CrmReceivableStatusListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
package cn.iocoder.yudao.module.crm.service.receivable.listener;
22

3-
import cn.iocoder.yudao.framework.common.pojo.CommonResult;
43
import cn.iocoder.yudao.module.bpm.api.event.BpmProcessInstanceStatusEvent;
54
import cn.iocoder.yudao.module.bpm.api.event.BpmProcessInstanceStatusEventListener;
65
import cn.iocoder.yudao.module.crm.enums.ApiConstants;
76
import cn.iocoder.yudao.module.crm.service.receivable.CrmReceivableService;
87
import cn.iocoder.yudao.module.crm.service.receivable.CrmReceivableServiceImpl;
9-
import jakarta.annotation.Resource;
108
import org.springframework.cloud.openfeign.FeignClient;
119
import org.springframework.validation.annotation.Validated;
1210
import org.springframework.web.bind.annotation.PostMapping;
1311
import org.springframework.web.bind.annotation.RequestBody;
1412
import org.springframework.web.bind.annotation.RestController;
1513

14+
import javax.annotation.Resource;
15+
1616
/**
1717
* 回款审批的结果的监听器实现类
1818
*

0 commit comments

Comments
 (0)