select client_id, client_code, client_name, client_nick, client_en, client_des, client_logo, client_type, address, website, email, tel, contact1, contact1_tel, contact1_email, contact2, contact2_tel, contact2_email, credit_code, enable_flag, remark, attr1, attr2, attr3, attr4, create_by, create_time, update_by, update_time from md_client
insert into md_client
client_code,
client_name,
client_nick,
client_en,
client_des,
client_logo,
client_type,
address,
website,
email,
tel,
contact1,
contact1_tel,
contact1_email,
contact2,
contact2_tel,
contact2_email,
credit_code,
enable_flag,
remark,
attr1,
attr2,
attr3,
attr4,
create_by,
create_time,
update_by,
update_time,
#{clientCode},
#{clientName},
#{clientNick},
#{clientEn},
#{clientDes},
#{clientLogo},
#{clientType},
#{address},
#{website},
#{email},
#{tel},
#{contact1},
#{contact1Tel},
#{contact1Email},
#{contact2},
#{contact2Tel},
#{contact2Email},
#{creditCode},
#{enableFlag},
#{remark},
#{attr1},
#{attr2},
#{attr3},
#{attr4},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
update md_client
client_code = #{clientCode},
client_name = #{clientName},
client_nick = #{clientNick},
client_en = #{clientEn},
client_des = #{clientDes},
client_logo = #{clientLogo},
client_type = #{clientType},
address = #{address},
website = #{website},
email = #{email},
tel = #{tel},
contact1 = #{contact1},
contact1_tel = #{contact1Tel},
contact1_email = #{contact1Email},
contact2 = #{contact2},
contact2_tel = #{contact2Tel},
contact2_email = #{contact2Email},
credit_code = #{creditCode},
enable_flag = #{enableFlag},
remark = #{remark},
attr1 = #{attr1},
attr2 = #{attr2},
attr3 = #{attr3},
attr4 = #{attr4},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
where client_id = #{clientId}
delete from md_client where client_id = #{clientId}
delete from md_client where client_id in
#{clientId}