package com.mandi.fendan.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import com.mandi.dao.common.ObjectResult;
|
import com.mandi.dao.common.PageRequest;
|
import com.mandi.dao.common.PageResult;
|
import com.mandi.fendan.persist.Fd_Company;
|
import com.mandi.system.persist.Login;
|
|
public interface Ifd_companyService {
|
/**
|
* 单个查询
|
* @param id
|
* @return
|
*/
|
public ObjectResult<Fd_Company> get(String id);
|
|
/**
|
* 列表查询
|
* @param name
|
* @param depart
|
* @param pr
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getlist(String name,PageRequest pr);
|
|
|
/**
|
* typehead
|
* @param search
|
* @param pagesize
|
* @return
|
*/
|
public List<Map<String, Object>> companytypehead(String search,int pagesize);
|
|
/**
|
* 修改和新增
|
* @param company
|
* @return
|
*/
|
public ObjectResult<Fd_Company> saveCompany(Fd_Company company,String ywdyNos) throws Exception;
|
|
/**
|
* 状态修改
|
* @param cp
|
* @return
|
*/
|
public ObjectResult<Boolean> changeUsed(Fd_Company cp);
|
|
/**
|
* 删除
|
* @param id
|
* @return
|
*/
|
public ObjectResult<Boolean> delCompany(String id)throws Exception;
|
/**
|
* 单个查询
|
* @param companyNo
|
* @return
|
*/
|
public ObjectResult<Fd_Company> getByCompanyNo(String companyNo);
|
|
|
/**
|
* 根据物流公司获取厂区编号
|
* @param companyNo
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getcqList(String companyNo);
|
|
PageResult<Map<String, Object>> getFdCqList(String departno, Login lg);
|
}
|