|
|
|
@ -111,10 +111,12 @@ public class BasicdataStoreContactServiceImpl extends BaseServiceImpl<BasicdataS
|
|
|
|
|
public boolean saveOrUpdateBasicdataStoreContact(BasicdataStoreContactEntity basicdataStoreContact) { |
|
|
|
|
//进行客户列表的联系人修改
|
|
|
|
|
Long shopId = basicdataStoreContact.getShopId(); |
|
|
|
|
BasicdataClientEntity basicdataClientEntity = new BasicdataClientEntity(); |
|
|
|
|
basicdataClientEntity.setId(shopId); |
|
|
|
|
basicdataClientEntity.setLinkman(basicdataStoreContact.getLinkman()); |
|
|
|
|
basicdataClientEntity.setPhone(basicdataStoreContact.getPhone()); |
|
|
|
|
if (basicdataStoreContact.getDefaultType()){ |
|
|
|
|
BasicdataClientEntity basicdataClientEntity = new BasicdataClientEntity(); |
|
|
|
|
basicdataClientEntity.setId(shopId); |
|
|
|
|
basicdataClientEntity.setLinkman(basicdataStoreContact.getLinkman()); |
|
|
|
|
basicdataClientEntity.setPhone(basicdataStoreContact.getPhone()); |
|
|
|
|
} |
|
|
|
|
return this.saveOrUpdate(basicdataStoreContact); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|