多店铺需求
This commit is contained in:
@@ -125,4 +125,17 @@ public class ShopUser implements Serializable {
|
||||
|
||||
@Column(onInsertValue = "now()", onUpdateValue = "now()")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
/**
|
||||
* 是否已经合并数据到主店 1-是 0-否 默认0
|
||||
*/
|
||||
private Integer isMergedToHead;
|
||||
/**
|
||||
* 已经合并过来的用户信息,jsonArray格式,[{"id":1,"shopId":2,...},{"id":1,"shopId":2,...}]
|
||||
*/
|
||||
private String mergedUsers;
|
||||
/**
|
||||
* 适用门店id集合,逗号分隔,例如:0,1,2,3,...查询的时候 all_shop_ids like '%,1,%';
|
||||
*/
|
||||
private String allShopIds;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package com.czg.account.service;
|
||||
|
||||
/**
|
||||
* 店铺用户同步Service
|
||||
* @author tankaikai
|
||||
* @since 2025-04-08 10:17
|
||||
*/
|
||||
public interface ShopUserSyncService {
|
||||
|
||||
/**
|
||||
* 同步合并主分店会员信息
|
||||
*
|
||||
* @param headShopId 主店id
|
||||
* @param branchShopId 分店id
|
||||
*/
|
||||
void syncMergeShopUser(Long headShopId, Long branchShopId);
|
||||
}
|
||||
@@ -1,7 +1,5 @@
|
||||
package com.czg.product.service;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @description
|
||||
|
||||
Reference in New Issue
Block a user