|
|
@ -34,6 +34,7 @@ import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
|
import java.util.Map; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import java.util.Objects; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -111,7 +112,7 @@ public class BasicdataStoreContactServiceImpl extends BaseServiceImpl<BasicdataS |
|
|
|
public boolean saveOrUpdateBasicdataStoreContact(BasicdataStoreContactEntity basicdataStoreContact) { |
|
|
|
public boolean saveOrUpdateBasicdataStoreContact(BasicdataStoreContactEntity basicdataStoreContact) { |
|
|
|
//进行客户列表的联系人修改
|
|
|
|
//进行客户列表的联系人修改
|
|
|
|
Long shopId = basicdataStoreContact.getShopId(); |
|
|
|
Long shopId = basicdataStoreContact.getShopId(); |
|
|
|
if (basicdataStoreContact.getDefaultType()){ |
|
|
|
if (!Objects.isNull(basicdataStoreContact.getDefaultType()) &&basicdataStoreContact.getDefaultType()){ |
|
|
|
BasicdataClientEntity basicdataClientEntity = new BasicdataClientEntity(); |
|
|
|
BasicdataClientEntity basicdataClientEntity = new BasicdataClientEntity(); |
|
|
|
basicdataClientEntity.setId(shopId); |
|
|
|
basicdataClientEntity.setId(shopId); |
|
|
|
basicdataClientEntity.setLinkman(basicdataStoreContact.getLinkman()); |
|
|
|
basicdataClientEntity.setLinkman(basicdataStoreContact.getLinkman()); |
|
|
|