ICustomerService.java
960 Bytes
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
38
39
40
41
42
43
package com.huaheng.pc.general.customer.service;
import com.huaheng.pc.general.customer.domain.Customer;
import java.util.List;
import java.util.Map;
/**
* 客户 服务层
*
* @author huaheng
* @date 2018-08-19
*/
public interface ICustomerService {
List<Customer> selectListEntityByLike(Customer condition);
List<Customer> selectListEntityByEqual(Customer condition);
Customer selectFirstEntity(Customer condition);
Customer selectEntityById(Integer id);
List<Map<String, Object>> selectListMapByEqual(String columnList, Customer condition);
Map<String, Object> selectFirstMap(String columnList, Customer condition);
int insert(Customer record);
int updateByModel(Customer record);
int updateByCondition(Customer record, Customer condition);
int deleteById(Integer id);
int deleteByCondition(Customer condition);
//查询是否有客户编码
Customer selectEntity(String Code);
}