|
@@ -1,12 +1,16 @@
|
|
|
package com.bizmatics.mhfire.service.impl;
|
|
|
|
|
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
+import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
import com.bizmatics.common.mvc.base.AbstractCrudService;
|
|
|
import com.bizmatics.mhfire.model.XfzWxz;
|
|
|
import com.bizmatics.mhfire.persistence.mapper.XfzWxzMapper;
|
|
|
import com.bizmatics.mhfire.service.XfzWxzService;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* 服务实现类
|
|
@@ -19,4 +23,11 @@ import org.springframework.stereotype.Service;
|
|
|
@Service
|
|
|
public class XfzWxzServiceImpl extends AbstractCrudService<XfzWxzMapper, XfzWxz> implements XfzWxzService {
|
|
|
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public List<XfzWxz> getMapList() {
|
|
|
+ LambdaQueryWrapper<XfzWxz> queryWrapper = Wrappers.lambdaQuery();
|
|
|
+ queryWrapper.select(XfzWxz::getId,XfzWxz::getJd,XfzWxz::getWd);
|
|
|
+ return this.list(queryWrapper);
|
|
|
+ }
|
|
|
}
|