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

highway
zhaoxl 1 year ago
parent d21c2ad7a9
commit 7ed9e3c5d9

@ -0,0 +1,71 @@
package com.op.sap.mapper;
import com.op.common.core.domain.BaseFileData;
import com.op.sap.domain.SapBaseFile;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* Mapper
*
* @author Open Platform
* @date 2023-07-10
*/
@Mapper
public interface SapBaseFileMapper {
/**
*
*
* @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 fileId
* @return
*/
public int deleteBaseFileByFileId(String fileId);
/**
*
*
* @param fileIds
* @return
*/
public int deleteBaseFileByFileIds(String[] fileIds);
Boolean insertBaseFileBatch(@Param("baseFiles") List<BaseFileData> baseFiles);
List<SapBaseFile> getBaseFileBatch(String processId);
void deleteBaseFileBySourceId(String processId);
}

@ -0,0 +1,67 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapBaseProduct;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* Mapper
*
* @author Open Platform
* @date 2023-07-18
*/
@Mapper
public interface SapBaseProductMapper {
/**
*
*
* @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 productId
* @return
*/
public int deleteBaseProductByProductId(String productId);
/**
*
*
* @param productIds
* @return
*/
public int deleteBaseProductByProductIds(String[] productIds);
public String selectBaseProductIDByProductCode(String productCode);
}

@ -0,0 +1,65 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapProProcessContent;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* Mapper
*
* @author yinjinlu
* @date 2022-05-12
*/
@Mapper
public interface SapProProcessContentMapper
{
/**
*
*
* @param contentId
* @return
*/
public SapProProcessContent selectProProcessContentByContentId(String contentId);
/**
*
*
* @param proProcessContent
* @return
*/
public List<SapProProcessContent> selectProProcessContentList(SapProProcessContent proProcessContent);
/**
*
*
* @param proProcessContent
* @return
*/
public int insertProProcessContent(SapProProcessContent proProcessContent);
/**
*
*
* @param proProcessContent
* @return
*/
public int updateProProcessContent(SapProProcessContent proProcessContent);
/**
*
*
* @param contentId
* @return
*/
public int deleteProProcessContentByContentId(String contentId);
/**
*
*
* @param contentIds
* @return
*/
public int deleteProProcessContentByContentIds(String[] contentIds);
}

@ -0,0 +1,72 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapProProcess;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* Mapper
*
* @author yinjinlu
* @date 2022-05-11
*/
@Mapper
public interface SapProProcessMapper
{
/**
*
*
* @param processId
* @return
*/
public SapProProcess selectProProcessByProcessId(String processId);
/**
*
*
* @param proProcess
* @return
*/
public List<SapProProcess> selectProProcessList(SapProProcess proProcess);
public SapProProcess checkProcessCodeUnique(SapProProcess proProcess);
public SapProProcess checkProcessNameUnique(SapProProcess proProcess);
/**
*
*
* @param proProcess
* @return
*/
public int insertProProcess(SapProProcess proProcess);
/**
*
*
* @param proProcess
* @return
*/
public int updateProProcess(SapProProcess proProcess);
/**
*
*
* @param processId
* @return
*/
public int deleteProProcessByProcessId(String processId);
/**
*
*
* @param processIds
* @return
*/
public int deleteProProcessByProcessIds(String[] processIds);
int selectProProcessByProcessName(String processName);
}

@ -0,0 +1,84 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapProRoute;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* 线Mapper
*
* @author yinjinlu
* @date 2022-05-12
*/
@Mapper
public interface SapProRouteMapper {
/**
* 线
*
* @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 SapProRoute checkRouteCodeUnique(SapProRoute proRoute);
/**
* 线
*
* @param proRoute 线
* @return
*/
public int insertProRoute(SapProRoute proRoute);
/**
* 线
*
* @param proRoute 线
* @return
*/
public int updateProRoute(SapProRoute proRoute);
/**
* 线
*
* @param routeId 线
* @return
*/
public int deleteProRouteByRouteId(String routeId);
/**
* 线
*
* @param routeIds
* @return
*/
public int deleteProRouteByRouteIds(String[] routeIds);
/**
* list
*
* @return
*/
List<SapProRoute> selectAllRoute();
int selectProRouteByRouteCode(String routeCode);
}
Loading…
Cancel
Save