// 子表格数据 public static DataTable getSubDataList(String hospital, String product, String sales, String userId, String type) { NetSalesApprovalInfoSrv netSalesApprovalInfoSrv = NetSalesApprovalInfoSrv.getNetSalesApprovalInfoSrvInstance(); DataSet dataSet = netSalesApprovalInfoSrv.getSubDataList(hospital, product, sales, userId, type); return(similarReturn(dataSet)); }
// 查询审批记录 public static DataTable getApprovalRecord(String docCode) { NetSalesApprovalInfoSrv netSalesApprovalInfoSrv = NetSalesApprovalInfoSrv.getNetSalesApprovalInfoSrvInstance(); DataSet dataSet = netSalesApprovalInfoSrv.getApprovalRecord(docCode); return(similarReturn(dataSet)); }
// 查询总共有几步流程 public static DataTable getTotalProcessNum() { NetSalesApprovalInfoSrv netSalesApprovalInfoSrv = NetSalesApprovalInfoSrv.getNetSalesApprovalInfoSrvInstance(); DataSet dataSet = netSalesApprovalInfoSrv.getTotalProcessNum(); return(similarReturn(dataSet)); }
// 查询审批所有的流程 public static DataTable getProcessInfoOnFinalLevel(string docCode, int level) { NetSalesApprovalInfoSrv netSalesApprovalInfoSrv = NetSalesApprovalInfoSrv.getNetSalesApprovalInfoSrvInstance(); DataSet dataSet = netSalesApprovalInfoSrv.getProcessInfoOnFinalLevel(docCode, level); return(similarReturn(dataSet)); }
// 查询待我审批的 public static DataTable getListOfCommitByOthers(String salesId) { NetSalesApprovalInfoSrv netSalesApprovalInfoSrv = NetSalesApprovalInfoSrv.getNetSalesApprovalInfoSrvInstance(); DataSet dataSet = netSalesApprovalInfoSrv.getListOfCommitByOthers(salesId); return(similarReturn(dataSet)); }
public static NetSalesApprovalInfoSrv getNetSalesApprovalInfoSrvInstance() { if (instance == null) { instance = new NetSalesApprovalInfoSrv(); } return(instance); }