|
@@ -194,7 +194,7 @@ public class ContactsServiceImpl extends ServiceImpl<ContactsMapper, Contacts> i
|
|
UpdateWrapper<Contacts> contactsUpdateWrapper = new UpdateWrapper<>();
|
|
UpdateWrapper<Contacts> contactsUpdateWrapper = new UpdateWrapper<>();
|
|
List<BusinessOpportunity> opportunityList = businessOpportunityMapper.selectList(new QueryWrapper<BusinessOpportunity>().in("contacts_id", ids));
|
|
List<BusinessOpportunity> opportunityList = businessOpportunityMapper.selectList(new QueryWrapper<BusinessOpportunity>().in("contacts_id", ids));
|
|
if (!opportunityList.isEmpty()){
|
|
if (!opportunityList.isEmpty()){
|
|
- List<BusinessOpportunity> collect = opportunityList.stream().filter(o -> o.getStageId()!=null&&o.getStageId() < 4).collect(Collectors.toList());
|
|
|
|
|
|
+ List<BusinessOpportunity> collect = opportunityList.stream().filter(o -> o.getStageId()!=null&&o.getStageId() < 5).collect(Collectors.toList());
|
|
if (!collect.isEmpty()){
|
|
if (!collect.isEmpty()){
|
|
String oName=" ";
|
|
String oName=" ";
|
|
for (BusinessOpportunity businessOpportunity : collect) {
|
|
for (BusinessOpportunity businessOpportunity : collect) {
|