|
|
|
@ -38,5 +38,34 @@ |
|
|
|
</where> |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--新增订单资源 --> |
|
|
|
<insert id="addOrderGoodsSource" useGeneratedKeys="true" keyProperty="id" keyColumn="id"> |
|
|
|
INSERT INTO <include refid="tbName"/> |
|
|
|
(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} |
|
|
|
) |
|
|
|
</insert> |
|
|
|
|
|
|
|
|
|
|
|
</mapper> |