|
@@ -3,10 +3,12 @@ package com.mokamrp.privates.service.impl;
|
|
|
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
|
import com.baomidou.mybatisplus.mapper.EntityWrapper;
|
|
|
import com.baomidou.mybatisplus.mapper.Wrapper;
|
|
import com.baomidou.mybatisplus.mapper.Wrapper;
|
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
|
import com.baomidou.mybatisplus.plugins.Page;
|
|
|
|
|
+import com.mokamrp.privates.entity.GetEmployeeTagHandle;
|
|
|
import com.mokamrp.privates.mapper.pojo.Tag;
|
|
import com.mokamrp.privates.mapper.pojo.Tag;
|
|
|
import com.mokamrp.privates.mapper.TagMapper;
|
|
import com.mokamrp.privates.mapper.TagMapper;
|
|
|
import com.mokamrp.privates.service.TagService;
|
|
import com.mokamrp.privates.service.TagService;
|
|
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
|
|
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
import com.mokamrp.privates.entity.IndexHandle;
|
|
import com.mokamrp.privates.entity.IndexHandle;
|
|
|
import com.mokamrp.privates.mapper.pojo.IndexBaseRes;
|
|
import com.mokamrp.privates.mapper.pojo.IndexBaseRes;
|
|
@@ -24,6 +26,9 @@ import java.util.Map;
|
|
|
*/
|
|
*/
|
|
|
@Service
|
|
@Service
|
|
|
public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements TagService {
|
|
public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements TagService {
|
|
|
|
|
+
|
|
|
|
|
+ @Autowired
|
|
|
|
|
+ public TagMapper tagMapper;
|
|
|
/**
|
|
/**
|
|
|
* 基础sql操作方法
|
|
* 基础sql操作方法
|
|
|
* @author leon 支持分页offset,limit;简单条件like,=,<>;排序order,sort
|
|
* @author leon 支持分页offset,limit;简单条件like,=,<>;排序order,sort
|
|
@@ -68,4 +73,9 @@ public class TagServiceImpl extends ServiceImpl<TagMapper, Tag> implements TagSe
|
|
|
result.setTotal(total);
|
|
result.setTotal(total);
|
|
|
return result;
|
|
return result;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public Object selectEmployeeTag(GetEmployeeTagHandle getEmployeeTagHandle){
|
|
|
|
|
+ Object res = tagMapper.selectEmployeeTag(getEmployeeTagHandle);
|
|
|
|
|
+ return res;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|