|
@@ -1,11 +1,15 @@
|
|
|
package com.diagbot.service.impl;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
|
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
|
|
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import com.diagbot.entity.LantoneProduct;
|
|
|
import com.diagbot.mapper.LantoneProductMapper;
|
|
|
import com.diagbot.service.LantoneProductService;
|
|
|
-import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
/**
|
|
|
* <p>
|
|
|
* 朗通产品表 服务实现类
|
|
@@ -16,5 +20,29 @@ import org.springframework.stereotype.Service;
|
|
|
*/
|
|
|
@Service
|
|
|
public class LantoneProductServiceImpl extends ServiceImpl<LantoneProductMapper, LantoneProduct> implements LantoneProductService {
|
|
|
+ /**
|
|
|
+ * @Description: 显示朗通产品线
|
|
|
+ * @Author: wangyu
|
|
|
+ * @Date: 13:29 2018/9/18
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public IPage<LantoneProduct> productLine(Page<LantoneProduct> page,int userId) {
|
|
|
+ return baseMapper.productLine(page,userId);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @Description: 查询朗通所有产品线
|
|
|
+ * @Author: wangyu
|
|
|
+ * @Date: 17:05 2018/9/18
|
|
|
+ */
|
|
|
+ @Override
|
|
|
+ public IPage<LantoneProduct> selectProduct(Page<LantoneProduct> page, String name) {
|
|
|
+
|
|
|
+ return baseMapper.selectProduct(page,name);
|
|
|
+ }
|
|
|
|
|
|
+ @Override
|
|
|
+ public IPage<LantoneProduct> opendedProduct(Page page, Map map) {
|
|
|
+ return baseMapper.opendedProduct(page,map);
|
|
|
+ }
|
|
|
}
|