| | |
| | | package com.ruoyi.sy.service.impl; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | |
| | | import com.ruoyi.common.utils.uuid.IdUtils; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.sy.mapper.ArdTankWallMapper; |
| | |
| | | * 电磁锁电子围栏Service业务层处理 |
| | | * |
| | | * @author ard |
| | | * @date 2024-07-01 |
| | | * @date 2024-07-04 |
| | | */ |
| | | @Service |
| | | public class ArdTankWallServiceImpl implements IArdTankWallService { |
| | |
| | | * @return 电磁锁电子围栏 |
| | | */ |
| | | @Override |
| | | public List<ArdTankWall> selectArdTankWallList(ArdTankWall ardTankWall) { |
| | | return ardTankWallMapper.selectArdTankWallList(ardTankWall); |
| | | public Map<String,Object> selectArdTankWallList(ArdTankWall ardTankWall) { |
| | | List<ArdTankWall> result = ardTankWallMapper.selectArdTankWallList(ardTankWall); |
| | | Long total = ardTankWallMapper.selectArdTankWallTotal(ardTankWall.getWallName()); |
| | | Map<String,Object> resultMap = new HashMap(); |
| | | resultMap.put("list",result); |
| | | resultMap.put("total",total); |
| | | return resultMap; |
| | | //return ardTankWallMapper.selectArdTankWallList(ardTankWall); |
| | | } |
| | | |
| | | /** |
| | |
| | | List<ArdTankWall> result = ardTankWallMapper.getAllArdTankWall(); |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public List<Map<String,String>> getArdTankWallByLockId(String id) { |
| | | List<Map<String,String>> result = ardTankWallMapper.getArdTankWallByLockId(id); |
| | | return result; |
| | | } |
| | | } |