package com.xunhong.erp.turbo.user.app.service;

import com.xunhong.erp.turbo.api.user.api.AdminServiceI;
import com.xunhong.erp.turbo.api.user.dto.qry.AdminShowQry;
import com.xunhong.erp.turbo.api.user.dto.vo.AdminVO;
import com.xunhong.erp.turbo.user.app.executor.query.AdminShowQryExe;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@DubboService(interfaceClass = AdminServiceI.class, version = "1.0.0")
@RequiredArgsConstructor
public class AdminServiceImpl implements AdminServiceI {
	private final AdminShowQryExe adminShowQryExe;
//    private final StoreListQryExe storeListQryExe;

	@Override
	public AdminVO show(AdminShowQry adminShowQry) {
		return adminShowQryExe.execute(adminShowQry);
	}

//    @Override
//    public List<StoreVO> listStore(StoreListQry storeListQry) {
//        return storeListQryExe.execute(storeListQry);
//    }
}
