create_by,
create_time,
update_by,
update_time,
artype_id,
artype_parentid,
artype_name,
artype_sort,
artype_describe,
artype_code,
artype_imgurl,
company_id
#{item.createBy},
now(),
#{item.updateBy},
now(),
#{item.artypeId},
#{item.artypeParentid},
#{item.artypeName},
#{item.artypeSort},
#{item.artypeDescribe},
#{item.artypeCode},
#{item.artypeImgurl},
#{item.companyId}
and artype_id = #{record.artypeId}
and artype_parentid = #{record.artypeParentid}
and artype_name = #{record.artypeName}
and artype_sort = #{record.artypeSort}
and artype_describe = #{record.artypeDescribe}
and artype_code = #{record.artypeCode}
and artype_imgurl = #{record.artypeImgurl}
and company_id = #{record.companyId}
INSERT INTO shop_article_type (
)
VALUES (
)
INSERT INTO shop_article_type (
)
VALUES
(
)
UPDATE shop_article_type
artype_parentid = #{artypeParentid},
artype_name = #{artypeName},
artype_sort = #{artypeSort},
artype_describe = #{artypeDescribe},
artype_code = #{artypeCode},
artype_imgurl = #{artypeImgurl},
WHERE artype_id=#{artypeId}
UPDATE shop_article_type
artype_parentid = #{record.artypeParentid},
artype_name = #{record.artypeName},
artype_sort = #{record.artypeSort},
artype_describe = #{record.artypeDescribe},
artype_code = #{record.artypeCode},
artype_imgurl = #{record.artypeImgurl},
WHERE artype_id=#{record.artypeId}
delete from shop_article_type where artype_id in
#{item}
DELETE FROM shop_article_type
where artype_id=#{artypeId}
DELETE FROM shop_article_type