From 99790587003343ec49d59bdcf3f31fb0dfd682e3 Mon Sep 17 00:00:00 2001 From: xyiege Date: Tue, 6 Dec 2022 16:58:39 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=92=E5=85=A5=E8=AE=A2=E5=8D=95=E5=95=86?= =?UTF-8?q?=E5=93=81=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../szwh/mapper/OrderGoodsSourceMapper.java | 7 +++++ .../mapper/szwh/OrderGoodsSourceMapper.xml | 29 +++++++++++++++++++ 2 files changed, 36 insertions(+) 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