id,company_name,file_path,wifi_name,devicemac,rec_status,create_time,update_time,tb_status
INSERT INTO ${tableName} (
company_name, file_path, wifi_name, devicemac, rec_status
) VALUES (
#{entity.companyName}, #{entity.filePath}, #{entity.wifiName}, #{entity.devicemac}, #{entity.recStatus}
)
INSERT INTO ${tableName} (
company_name, file_path, wifi_name, devicemac, rec_status
) VALUES
(#{entity.companyName}, #{entity.filePath}, #{entity.wifiName}, #{entity.devicemac}, #{entity.recStatus})
UPDATE ${tableName} SET
company_name=#{entity.companyName}, file_path=#{entity.filePath}, wifi_name=#{entity.wifiName}, devicemac=#{entity.devicemac}, rec_status=#{entity.recStatus}, tb_status=#{entity.tbStatus}
WHERE
id = #{entity.id}
UPDATE ${tableName} SET
${field}
${value} ${key}