上传文件至 'op-modules/op-sap/src/main/java/com/op/sap/service'
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…
Reference in New Issue