可抵扣数量
This commit is contained in:
@@ -233,12 +233,7 @@ public class MyStpLogic {
|
||||
* @return 主店id
|
||||
*/
|
||||
public Long getHeadShopId() {
|
||||
Long shopId = getShopId(0L);
|
||||
Long mainId = DbChain.table("tb_shop_config").select("main_id").where("id = ?", shopId).objAs(Long.class);
|
||||
if (mainId != null) {
|
||||
return mainId;
|
||||
}
|
||||
return shopId;
|
||||
return getHeadShopId(getShopId(0L));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user