InvestigateUserServiceImpl.java
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package com.project.demo.service.Impl;
import com.project.demo.domain.InvestigateUser;
import com.project.demo.mapper.InvestigateUserMapper;
import com.project.demo.service.InvestigateUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;
/**
* Created by bert on 2018/7/10.
*/
@Service
public class InvestigateUserServiceImpl implements InvestigateUserService{
@Autowired
private InvestigateUserMapper investigateUserMapper;
@Override
public List<InvestigateUser> search(Map<String, Object> params) {
List<InvestigateUser> investigateUserList = investigateUserMapper.search(params);
return investigateUserList;
}
@Override
public void delete(Integer usersId, Integer comInvestigationId) {
investigateUserMapper.delete(usersId,comInvestigationId);
}
@Override
public void insert(InvestigateUser investigateUser) {
investigateUserMapper.insert(investigateUser);
}
}