diff --git a/src/main/java/cn/chjyj/szwh/mapper/OrderGoodsSourceMapper.java b/src/main/java/cn/chjyj/szwh/mapper/OrderGoodsSourceMapper.java index 5c1f3d1..8da4547 100644 --- a/src/main/java/cn/chjyj/szwh/mapper/OrderGoodsSourceMapper.java +++ b/src/main/java/cn/chjyj/szwh/mapper/OrderGoodsSourceMapper.java @@ -25,4 +25,11 @@ public interface OrderGoodsSourceMapper { * @return */ List searchOrderGoodsSource(@Param("map") Map somap); + + /** + * 新增订单商品资源资源 + * @param orderGoodsSource + * @return + */ + int addOrderGoodsSource(OrderGoodsSource orderGoodsSource); } diff --git a/src/main/resources/mapper/szwh/OrderGoodsSourceMapper.xml b/src/main/resources/mapper/szwh/OrderGoodsSourceMapper.xml index ccd62ee..203df81 100644 --- a/src/main/resources/mapper/szwh/OrderGoodsSourceMapper.xml +++ b/src/main/resources/mapper/szwh/OrderGoodsSourceMapper.xml @@ -38,5 +38,34 @@ + + + INSERT INTO + (detail_id ,batchcode,servicecode,linkcode,publisherid,registrant,resolution_url, + source_type,source_name_type,source_name, + sourceIdentify,source_fragment,target_name,target_name_type, + targetIdentify,target_fragment,targetFormat,source_data, + target_data,metadataXml,cancellation_reason,cancellationtime, + allocationtime,datatype,is_deleted) + VALUES ( + #{detailId}, + #{batchcode}, + #{servicecode}, + #{linkcode}, + #{publisherid},#{registrant},#{resolutionUrl}, + #{sourceType},#{sourceNameType},#{sourceName}, + #{sourceIdentify},#{sourceFragment},#{targetName},#{targetNameType}, + #{targetIdentify},#{targetFragment},#{targetFormat}, + #{sourceData}, + #{targetData}, + #{metadataXml}, + #{cancellationReason}, + #{cancellationtime}, + #{allocationtime}, + #{datatype}, + #{isDeleted} + ) + + \ No newline at end of file