guid, parent_guid, fk_product_guid, fun_name, auth_str, file_url, ico, remark, orderby,
node_type,is_forbid, state, create_user, create_time, modified_user, modified_time
delete from t_base_authorization
where guid = #{guid,jdbcType=CHAR}
insert into t_base_authorization (guid, parent_guid, fk_product_guid,
fun_name, auth_str, file_url,
ico, remark, orderby, node_type,
is_forbid, state, create_user,
create_time, modified_user, modified_time
)
values (#{guid,jdbcType=CHAR}, #{parentGuid,jdbcType=CHAR}, #{fkProductGuid,jdbcType=CHAR},
#{funName,jdbcType=VARCHAR}, #{authStr,jdbcType=VARCHAR}, #{fileUrl,jdbcType=VARCHAR},
#{ico,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{orderby,jdbcType=INTEGER},
#{nodeType,jdbcType=INTEGER},#{isForbid,jdbcType=INTEGER}, #{state,jdbcType=INTEGER}, #{createUser,jdbcType=CHAR},
#{createTime,jdbcType=TIMESTAMP}, #{modifiedUser,jdbcType=CHAR}, #{modifiedTime,jdbcType=TIMESTAMP}
)
insert into t_base_authorization
guid,
parent_guid,
fk_product_guid,
fun_name,
auth_str,
file_url,
ico,
remark,
orderby,
node_type,
is_forbid,
state,
create_user,
create_time,
modified_user,
modified_time,
#{guid,jdbcType=CHAR},
#{parentGuid,jdbcType=CHAR},
#{fkProductGuid,jdbcType=CHAR},
#{funName,jdbcType=VARCHAR},
#{authStr,jdbcType=VARCHAR},
#{fileUrl,jdbcType=VARCHAR},
#{ico,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
#{orderby,jdbcType=INTEGER},
#{nodeType,jdbcType=INTEGER},
#{isForbid,jdbcType=INTEGER},
#{state,jdbcType=INTEGER},
#{createUser,jdbcType=CHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifiedUser,jdbcType=CHAR},
#{modifiedTime,jdbcType=TIMESTAMP},
update t_base_authorization
parent_guid = #{parentGuid,jdbcType=CHAR},
fk_product_guid = #{fkProductGuid,jdbcType=CHAR},
fun_name = #{funName,jdbcType=VARCHAR},
auth_str = #{authStr,jdbcType=VARCHAR},
file_url = #{fileUrl,jdbcType=VARCHAR},
ico = #{ico,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
orderby = #{orderby,jdbcType=INTEGER},
node_type=#{nodeType,jdbcType=INTEGER},
is_forbid = #{isForbid,jdbcType=INTEGER},
state = #{state,jdbcType=INTEGER},
create_user = #{createUser,jdbcType=CHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modified_user = #{modifiedUser,jdbcType=CHAR},
modified_time = #{modifiedTime,jdbcType=TIMESTAMP},
where guid = #{guid,jdbcType=CHAR}
update t_base_authorization
set parent_guid = #{parentGuid,jdbcType=CHAR},
fk_product_guid = #{fkProductGuid,jdbcType=CHAR},
fun_name = #{funName,jdbcType=VARCHAR},
auth_str = #{authStr,jdbcType=VARCHAR},
file_url = #{fileUrl,jdbcType=VARCHAR},
ico = #{ico,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
orderby = #{orderby,jdbcType=INTEGER},
node_type = #{nodeType,jdbcType=INTEGER},
is_forbid = #{isForbid,jdbcType=INTEGER},
state = #{state,jdbcType=INTEGER},
create_user = #{createUser,jdbcType=CHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
modified_user = #{modifiedUser,jdbcType=CHAR},
modified_time = #{modifiedTime,jdbcType=TIMESTAMP}
where guid = #{guid,jdbcType=CHAR}