a.id AS "id",
a.navigationName AS "navigationName",
a.type AS "type",
a.icon AS "icon",
a.link AS "link",
a.remark AS "remark",
a.sort AS "sort",
a.wwwEnabledStatus AS "wwwEnabledStatus",
a.crmEnabledStatus AS "crmEnabledStatus",
a.createBy AS "createBy.id",
a.createDate AS "createDate",
a.updateBy AS "updateBy.id",
a.updateDate AS "updateDate",
a.delFlag AS "delFlag"
INSERT INTO new_page_first_navigation(
navigationName,
type,
link,
remark,
icon,
sort,
wwwEnabledStatus,
crmEnabledStatus,
createBy,
createDate,
updateBy,
updateDate,
delFlag
) VALUES (
#{navigationName},
#{type},
#{link},
#{remark},
#{icon},
#{sort},
#{wwwEnabledStatus},
#{crmEnabledStatus},
#{createBy.id},
#{createDate},
#{updateBy.id},
#{updateDate},
#{delFlag}
)
UPDATE new_page_first_navigation SET
navigationName = #{navigationName},
type = #{type},
link = #{link},
remark = #{remark},
icon = #{icon},
sort = #{sort},
wwwEnabledStatus = #{wwwEnabledStatus},
crmEnabledStatus = #{crmEnabledStatus},
createBy = #{createBy.id},
createDate = #{createDate},
updateBy = #{updateBy.id},
updateDate = #{updateDate},
delFlag = #{delFlag}
WHERE id = #{id}
DELETE FROM new_page_first_navigation
WHERE id = #{id}
UPDATE new_page_first_navigation a SET a.wwwEnabledStatus = #{param1}
WHERE a.id IN
#{id}
UPDATE new_page_first_navigation a SET a.crmEnabledStatus = #{param1}
WHERE a.id IN
#{id}
UPDATE new_page_first_navigation SET
sort = #{sort}
WHERE id = #{id}