ICustomerService.java 960 Bytes
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);
}