| | |
| | | package com.aps.core.service.impl; |
| | | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import com.aps.common.core.utils.DateUtils; |
| | | import com.aps.common.core.utils.uuid.IdUtils; |
| | | import com.aps.common.security.utils.SecurityUtils; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import org.jetbrains.annotations.NotNull; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.aps.core.mapper.ApsShopMapper; |
| | |
| | | { |
| | | return apsShopMapper.deleteApsShopById(id); |
| | | } |
| | | |
| | | @Override |
| | | public List<ApsShop> findAllShops() { |
| | | return apsShopMapper.selectList(new QueryWrapper<>()); |
| | | } |
| | | |
| | | @Override |
| | | public List<ApsShop> findShopByFactory(String orgCode) { |
| | | return apsShopMapper.selectApsByFactory(orgCode); |
| | | } |
| | | |
| | | @Override |
| | | public List<ApsShop> findShopByCodes(@NotNull Set<String> codes) { |
| | | return apsShopMapper.selectByCodes(codes); |
| | | } |
| | | } |