|
|
|
@ -267,7 +267,7 @@ public class CustomerService {
|
|
|
|
|
;
|
|
|
|
|
PoiStoreStaff poiStoreStaff = poiStoreStaffDOMapper.selectOne(staf);
|
|
|
|
|
QueryWrapper<OpSellerCustomerRelation> wrapper1 = new QueryWrapper<>();
|
|
|
|
|
wrapper1.eq("customer_id", opCustomer.getId()).eq("user_id", poiStoreStaff.getUserId()).eq("store_id", shopId).last("limit 1");
|
|
|
|
|
wrapper1.eq("customer_id", opCustomer.getId()).eq("user_id", poiStoreStaff.getId()).eq("store_id", shopId).last("limit 1");
|
|
|
|
|
OpSellerCustomerRelation opSellerCustomerRelation = opSellerCustomerRelationDOMapper.selectOne(wrapper1);
|
|
|
|
|
if (null == opSellerCustomerRelation) {
|
|
|
|
|
//不存在就添加
|
|
|
|
|