IZoneService.java 859 Bytes
package com.huaheng.pc.config.zone.service;

import com.huaheng.pc.config.zone.domain.Zone;
import java.util.List;
import java.util.Map;

/**
 * 库区 服务层
 * 
 * @author huaheng
 * @date 2018-08-19
 */
public interface IZoneService {

    List<Zone> selectListEntityByLike(Zone condition);

    List<Zone> selectListEntityByEqual(Zone condition);

    Zone selectFirstEntity(Zone condition);

    Zone selectEntityById(Integer id);

    List<Map<String, Object>> selectListMapByEqual(String columnList, Zone condition);

    Map<String, Object> selectFirstMap(String columnList, Zone condition);

    int insert(Zone record);

    int updateByModel(Zone record);

    int updateByCondition(Zone record, Zone condition);

    int deleteById(Integer id);

    int deleteByCondition(Zone condition);

    List<Map<String, Object>> getZoneCodeList();
}