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