上传文件至 'op-modules/op-sap/src/main/java/com/op/sap/service'

highway
zhaoxl 1 year ago
parent 25fcbe0c77
commit 8f8a7b479e

@ -0,0 +1,71 @@
package com.op.sap.service;
import com.op.common.core.domain.R;
import com.op.sap.domain.SapBaseProduct;
import java.util.List;
/**
* Service
*
* @author Open Platform
* @date 2023-07-18
*/
public interface ISapBaseProductService {
/**
*
*
* @param productId
* @return
*/
public SapBaseProduct selectBaseProductByProductId(String productId);
/**
*
*
* @param baseProduct
* @return
*/
public List<SapBaseProduct> selectBaseProductList(SapBaseProduct baseProduct);
/**
*
*
* @param baseProduct
* @return
*/
public int insertBaseProduct(SapBaseProduct baseProduct);
/**
*
*
* @param baseProduct
* @return
*/
public int updateBaseProduct(SapBaseProduct baseProduct);
/**
*
*
* @param productIds
* @return
*/
public int deleteBaseProductByProductIds(String[] productIds);
/**
*
*
* @param productId
* @return
*/
public int deleteBaseProductByProductId(String productId);
public String selectBaseProductIDByProductCode(String productCode);
}

@ -0,0 +1,65 @@
package com.op.sap.service;
import com.op.common.core.domain.BaseFileData;
import com.op.sap.domain.SapBaseFile;
import java.util.List;
/**
* Service
*
* @author Open Platform
* @date 2023-07-10
*/
public interface SapBaseFileService {
/**
*
*
* @param fileId
* @return
*/
public SapBaseFile selectBaseFileByFileId(String fileId);
/**
*
*
* @param baseFile
* @return
*/
public List<SapBaseFile> selectBaseFileList(SapBaseFile baseFile);
/**
*
*
* @param baseFile
* @return
*/
public int insertBaseFile(SapBaseFile baseFile);
/**
*
*
* @param baseFile
* @return
*/
public int updateBaseFile(SapBaseFile baseFile);
/**
*
*
* @param fileIds
* @return
*/
public int deleteBaseFileByFileIds(String[] fileIds);
/**
*
*
* @param fileId
* @return
*/
public int deleteBaseFileByFileId(String fileId);
public Boolean insertBaseFileBatch(List<BaseFileData> baseFiles);
}

@ -0,0 +1,64 @@
package com.op.sap.service;
import com.op.sap.domain.SapProRouteProduct;
import java.util.List;
/**
* 线Service
*
* @author Open Platform
* @date 2023-07-13
*/
public interface SapProRouteProductService {
/**
* 线
*
* @param recordId 线
* @return 线
*/
public SapProRouteProduct selectProRouteProductByRecordId(String recordId);
/**
* 线
*
* @param proRouteProduct 线
* @return 线
*/
public List<SapProRouteProduct> selectProRouteProductList(SapProRouteProduct proRouteProduct);
/**
* 线
*
* @param proRouteProduct 线
* @return
*/
public int insertProRouteProduct(SapProRouteProduct proRouteProduct);
/**
* 线
*
* @param proRouteProduct 线
* @return
*/
public int updateProRouteProduct(SapProRouteProduct proRouteProduct);
/**
* 线
*
* @param recordIds 线
* @return
*/
public int deleteProRouteProductByRecordIds(String[] recordIds);
/**
* 线
*
* @param recordId 线
* @return
*/
public int deleteProRouteProductByRecordId(String recordId);
SapProRouteProduct getList(SapProRouteProduct proRouteProduct);
}

@ -0,0 +1,77 @@
package com.op.sap.service;
import com.op.sap.domain.SapProRoute;
import java.util.List;
/**
* 线Service
*
* @author yinjinlu
* @date 2022-05-12
*/
public interface SapProRouteService
{
/**
* 线
*
* @param routeId 线
* @return 线
*/
public SapProRoute selectProRouteByRouteId(String routeId);
/**
* 线
*
* @param proRoute 线
* @return 线
*/
public List<SapProRoute> selectProRouteList(SapProRoute proRoute);
/**
* 线
* @param itemId
* @return
*/
public SapProRoute getRouteByProductId(String itemId);
public Boolean checkRouteCodeUnique(SapProRoute proRoute);
/**
* 线
*
* @param proRoute 线
* @return
*/
public int insertProRoute(SapProRoute proRoute);
/**
* 线
*
* @param proRoute 线
* @return
*/
public int updateProRoute(SapProRoute proRoute);
/**
* 线
*
* @param routeIds 线
* @return
*/
public int deleteProRouteByRouteIds(String[] routeIds);
/**
* 线
*
* @param routeId 线
* @return
*/
public int deleteProRouteByRouteId(String routeId);
public int batchInsertProRoute(SapProRoute proRoute);
//查询工艺路线是否存在
int selectProRrouteByRouteCode(String routeCode);
}

@ -0,0 +1,26 @@
package com.op.sap.service;
import com.op.common.core.domain.R;
import com.op.sap.domain.SapBaseProduct;
import com.op.system.api.model.SapProOrder;
import java.util.List;
public interface SapService {
R<Boolean> sapItem();
R<Boolean> sapBom();
R<Boolean> sapProRoute();
R<Boolean> sapProRouteProduct();
R<Boolean> sapProRouteProcess();
List<SapProOrder> shopOrderSync(SapProOrder sapProOrder);
}
Loading…
Cancel
Save