|
|
|
@ -59,21 +59,41 @@ |
|
|
|
where openid=#{openid}; |
|
|
|
</select> |
|
|
|
|
|
|
|
<!--新增用户--> |
|
|
|
<insert id="addUser" parameterType="cn.chjyj.szwh.bean.Goods" useGeneratedKeys="true" keyColumn="uid"> |
|
|
|
<!--新增商品资源--> |
|
|
|
<insert id="add" parameterType="cn.chjyj.szwh.bean.GoodsSource" useGeneratedKeys="true" keyColumn="id"> |
|
|
|
insert into <include refid="tbName"/> |
|
|
|
(uname,password,gender,urealname,ubirth,nickname,avatarurl,platfrom,sessionkey,openid) |
|
|
|
(goods_isli_code,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 ( |
|
|
|
#{uname}, |
|
|
|
#{password}, |
|
|
|
#{gender}, |
|
|
|
#{urealname}, |
|
|
|
#{ubirth}, |
|
|
|
#{nickname}, |
|
|
|
#{avatarurl}, |
|
|
|
#{platfrom}, |
|
|
|
#{sessionkey}, |
|
|
|
#{openid} |
|
|
|
#{goodsIsliCode}, |
|
|
|
#{servicecode}, |
|
|
|
#{linkcode}, |
|
|
|
#{publisherid}, |
|
|
|
#{registrant}, |
|
|
|
#{resolutionUrl}, |
|
|
|
#{sourceType}, |
|
|
|
#{sourceNameType}, |
|
|
|
#{sourceName}, |
|
|
|
#{sourceIdentify}, |
|
|
|
#{sourceFragment}, |
|
|
|
#{targetName}, |
|
|
|
#{targetNameType}, |
|
|
|
#{targetIdentify}, |
|
|
|
#{targetFragment}, |
|
|
|
#{targetFormat}, |
|
|
|
#{sourceData}, |
|
|
|
#{targetData}, |
|
|
|
#{metadataXml}, |
|
|
|
#{cancellationReason}, |
|
|
|
#{cancellationtime}, |
|
|
|
#{allocationtime}, |
|
|
|
#{datatype}, |
|
|
|
#{isDeleted} |
|
|
|
) |
|
|
|
</insert> |
|
|
|
|
|
|
|
|