INSERT INTO basic_corp (thirdId,erpId,name,spell, addr,status,type,creditNo,contact,mobile,thirdId1,thirdId2,thirdId3,thirdId4) values ( #{thirdId}, #{erpId}, #{name}, #{spell}, #{addr}, #{status}, #{type}, #{creditNo}, #{contact}, #{mobile},#{thirdId1},#{thirdId2},#{thirdId3},#{thirdId4} ) UPDATE basic_corp thirdId=#{thirdId}, erpId=#{erpId}, name=#{name}, spell=#{spell}, addr=#{addr}, status=#{status}, type=#{type}, creditNo=#{creditNo}, contact=#{contact}, mobile=#{mobile}, thirdId1=#{thirdId1}, thirdId2=#{thirdId2}, thirdId3=#{thirdId3}, thirdId4=#{thirdId4}, WHERE id=#{id} DELETE FROM basic_corp WHERE id = #{id}