select DOC_ID,
DOC_YEAR,
IS_SECRET,
ONLY_ONE_TIME,
CREATE_BY,
CREATE_TIME,
UPDATE_BY,
UPDATE_TIME,
REMARK,
IS_DEL
from doc_share
insert into doc_share
DOC_ID,
DOC_YEAR,
IS_SECRET,
ONLY_ONE_TIME,
CREATE_BY,
CREATE_TIME,
UPDATE_BY,
UPDATE_TIME,
REMARK,
IS_DEL,
#{docId},
#{docYear},
#{isSecret},
#{onlyOneTime},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{isDel},
update doc_share
DOC_YEAR = #{docYear},
IS_SECRET = #{isSecret},
ONLY_ONE_TIME = #{onlyOneTime},
CREATE_BY = #{createBy},
CREATE_TIME = #{createTime},
UPDATE_BY = #{updateBy},
UPDATE_TIME = #{updateTime},
REMARK = #{remark},
IS_DEL = #{isDel},
where DOC_ID = #{docId}
delete
from doc_share
where DOC_ID = #{docId}
delete from doc_share where DOC_ID in
#{docId}