| | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.lf.server.entity.all.RedisCacheKey; |
| | | import com.lf.server.entity.ctrl.IdNameEntity; |
| | | import com.lf.server.entity.ctrl.KeyValueEntity; |
| | | import com.lf.server.entity.ctrl.TabEntity; |
| | | import com.lf.server.entity.data.DictEntity; |
| | | import com.lf.server.entity.data.DomainEntity; |
| | |
| | | import com.lf.server.mapper.all.BaseQueryMapper; |
| | | import com.lf.server.mapper.all.BasicMapper; |
| | | import com.lf.server.mapper.all.GeomBaseMapper; |
| | | import io.netty.resolver.AbstractAddressResolver; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | * @param val 值 |
| | | */ |
| | | private void addWrapper(QueryWrapper wrapper, String field, String express, Object val) { |
| | | if (StringHelper.isDate(val.toString())){ |
| | | if (StringHelper.isDate(val.toString())) { |
| | | wrapper.apply(String.format("%s %s '%s'", field, express, val)); |
| | | return; |
| | | } |
| | |
| | | public List<DomainEntity> selectDomains(String ns, String tab) { |
| | | return baseQueryMapper.selectDomains(ns, tab); |
| | | } |
| | | |
| | | @Override |
| | | public String selectRoute(double x1, double y1, double x2, double y2) { |
| | | return baseQueryMapper.selectRoute(x1, y1, x2, y2); |
| | | } |
| | | |
| | | @Override |
| | | public List<KeyValueEntity> selectLocation(String wkt) { |
| | | return baseQueryMapper.selectLocation(wkt); |
| | | } |
| | | |
| | | @Override |
| | | public List<KeyValueEntity> selectBaseType() { |
| | | return baseQueryMapper.selectBaseType(); |
| | | } |
| | | |
| | | @Override |
| | | public List<KeyValueEntity> selectBusinessType() { |
| | | return baseQueryMapper.selectBusinessType(); |
| | | } |
| | | |
| | | @Override |
| | | public List<KeyValueEntity> selectProject() { |
| | | return baseQueryMapper.selectProject(); |
| | | } |
| | | |
| | | @Override |
| | | public List<DictEntity> selectTabCount(String name, String dirs, Integer depid) { |
| | | name = StringHelper.getLikeStr2(name); |
| | | |
| | | return baseQueryMapper.selectTabCount(name, dirs, depid); |
| | | } |
| | | } |