package com.mandi.fendan.service;
|
|
import java.util.Date;
|
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.FdMxWlgs;
|
import com.mandi.fendan.util.persist.Scxt_zcInfo;
|
import com.mandi.fendan.util.persist.WaitXSTDMX;
|
import com.mandi.system.persist.Login;
|
|
/**
|
* erp和生产装车系统实现接口
|
* @author 15083
|
*
|
*/
|
public interface IErpService {
|
|
/**
|
* 打印跳转
|
* @param lg
|
* @param vehicleId
|
* @return
|
*/
|
public ObjectResult<String> tzPrint(Login lg,String vehicleId,String ipadd);
|
|
/**
|
* 打印跳转
|
* @param cardno
|
* @param ipadd
|
* @return
|
*/
|
public ObjectResult<String> tzPrint(String cardno,String ipadd,String cqNo);
|
|
|
/**
|
* 根据提单号和批次号操作删除
|
* @param lg
|
* @param cardno
|
* @param ipadd
|
* @return
|
*/
|
public ObjectResult<Boolean> delbyPCH(Login lg,String tdNo,String pch,String cph,String bsNo)throws Exception;
|
|
|
/**
|
* 获取已经分配的销售提单
|
* @param XSTD
|
* @param companyNo
|
* @param sdate
|
* @param edate
|
* @param pr
|
* @param fdAdmin 分给物流公司专用
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getXSTDList(Login lg,String type,String searchStr,String companyNo,Date sdate,Date edate,int wcSign,String fdAdmin,PageRequest pr,String sortStr,String cqV);
|
|
/**
|
* 获取已经分配的销售提单
|
* @param lg
|
* @param type
|
* @param searchStr
|
* @param companyNo
|
* @param sdate
|
* @param edate
|
* @param wcSign
|
* @param pr
|
* @param sortStr
|
* @param cqV
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getBillofLadingList(Login lg,String type,String searchStr,String companyNo,Date sdate,Date edate,int wcSign,PageRequest pr,String sortStr,String cqV);
|
/**
|
* 获取已经关闭的销售提单列表
|
* @param lg
|
* @param type
|
* @param searchStr
|
* @param companyNo
|
* @param sdate
|
* @param edate
|
* @param wcSign
|
* @param pr
|
* @param sortc
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getCloseXSTDlist(Login lg,String type,String searchStr,String companyNo,Date sdate,Date edate,int wcSign,PageRequest pr,List<String> sortc);
|
|
/**
|
* 根据销售提单号获取提单信息
|
* @param XSTD
|
* @return
|
*/
|
public Map<String, Object> getXSTD(Login lg,String XSTD);
|
|
|
/**
|
* 获得已经分单列表
|
* @param lg
|
* @param vehicleId
|
* @param pr
|
* @return
|
*/
|
public PageResult<Map<String, Object>> getFdlist(Login lg,String companyNo,String vehicleId,PageRequest pr,String cqV);
|
|
|
/**
|
* 取消分单
|
* @param lg
|
* @param bsNo
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> delFdsheet(Login lg,String bsNo) throws Exception;
|
|
|
|
/**
|
* 查询当前车辆正在执行的分单详情
|
* @param lg
|
* @param vehicleId
|
* @return
|
*/
|
public PageResult<WaitXSTDMX> getVehicleDetails(Login lg,String vehicleId);
|
|
|
/**
|
* 按照提单号整单配车
|
* @param lg
|
* @param list
|
* @param vehicleInfo
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> doBindByList(Login lg,String list,String vehicleInfo)throws Exception;
|
|
/**
|
* 取消整车配单
|
* @param lg
|
* @param tdbhlist
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> dounBindByList(Login lg,String tdbhlist)throws Exception;
|
|
/**
|
* 取消分单
|
* @param lg
|
* @param mlist
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> doUnbind(Login lg,String mlist,String tdbhNo) throws Exception;
|
|
|
|
/**
|
* 销售出厂
|
* @param bsNo
|
* @param vehicleId
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> sxccCheck(String bsNo,String vehicleId,String ZZ)throws Exception;
|
|
|
/**
|
* 销售提单关闭分单
|
* @param vehicleId
|
* @param xstdNo
|
* @param lg
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> closeXstd(String vehicleId,String driver,String phone,String xstdNo,Login lg) throws Exception;
|
/**
|
* 销售提单恢复分单
|
* @param xstdNo
|
* @param lg
|
* @return
|
* @throws Exception
|
*/
|
public ObjectResult<Boolean> openXstd(String xstdNo,Login lg) throws Exception;
|
|
|
|
/**
|
* 换车
|
* @param lg
|
* @param bsNo
|
* @param vehicleInfo
|
* @return
|
*/
|
@Deprecated
|
public ObjectResult<Boolean> changeVehicle(Login lg,String bsNo,String vehicleInfo)throws Exception;
|
/**
|
* 销售进厂
|
* @param bsNo
|
* @param vehicleId
|
* @return
|
* @throws Exception
|
*/
|
@Deprecated
|
public ObjectResult<Boolean> sxinCheck(String bsNo,String vehicleId)throws Exception;
|
/**
|
*根据卡号获取车辆信息
|
* @param cardno
|
* @return
|
*/
|
@Deprecated
|
public Map<String, Object> getClInfo(String cardno);
|
|
/**
|
* 生产装车系统完成装车
|
* @param zc
|
* @return
|
* @throws Exception
|
*/
|
@Deprecated
|
public ObjectResult<Boolean> saveZcInfo(Scxt_zcInfo zc)throws Exception;
|
|
/**
|
* 生产系统卸车
|
* @param zc
|
* @return
|
* @throws Exception
|
*/
|
@Deprecated
|
public ObjectResult<Boolean> delZcInfo(Scxt_zcInfo zc)throws Exception;
|
|
|
/**
|
* 批量装车操作
|
* @param zclist
|
* @return
|
* @throws Exception
|
*/
|
@Deprecated
|
public ObjectResult<Boolean> batchSaveZcInfo(String zclist)throws Exception;
|
|
|
/**
|
* 批量删除装车
|
* @param zcist
|
* @return
|
* @throws Exception
|
*/
|
@Deprecated
|
public ObjectResult<Boolean> batchdelZcInfo(String zcist)throws Exception;
|
|
|
/**
|
* 更改提单明细物流公司
|
* @param fdMxWlgsList FdMxWlgs的list封装
|
*/
|
void changeMxWlgs(List<FdMxWlgs> fdMxWlgsList) throws Exception;
|
|
/**
|
* 提单列进入的可以查看的
|
* @param lg
|
* @param xstd
|
* @return
|
*/
|
Map<String, Object> getBillofLadingXSTD(Login lg, String xstd);
|
}
|