默认初始化页面权限

This commit is contained in:
张松
2025-04-02 16:24:10 +08:00
parent 1beba7c24c
commit f530956f06

View File

@@ -11,10 +11,11 @@ import com.mybatisflex.spring.service.impl.ServiceImpl;
import com.czg.account.entity.ShopPagePath; import com.czg.account.entity.ShopPagePath;
import com.czg.account.service.ShopPagePathService; import com.czg.account.service.ShopPagePathService;
import com.czg.service.account.mapper.ShopPagePathMapper; import com.czg.service.account.mapper.ShopPagePathMapper;
import jakarta.annotation.Resource; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Set; import java.util.Set;
@@ -28,7 +29,7 @@ import java.util.stream.Collectors;
*/ */
@Service @Service
public class ShopPagePathServiceImpl extends ServiceImpl<ShopPagePathMapper, ShopPagePath> implements ShopPagePathService{ public class ShopPagePathServiceImpl extends ServiceImpl<ShopPagePathMapper, ShopPagePath> implements ShopPagePathService{
@Resource @Autowired
private ShopStaffPagePermissionMapper shopStaffPermissionMapper; private ShopStaffPagePermissionMapper shopStaffPermissionMapper;
@Override @Override