anchor.diff:      ok.
   
   %% 部分更新
  -patch(Table, M) ->
  +patch(Table, M1) ->
  +    M = ss_model:confirm_model(M1),
       Id = maps:get(value, proplists:get_value(<<"_key">>, M)),
       Old = from_model(get(Table, Id)),
       New = maps:merge(Old, from_model(M)),
  
positive.code: 
  %% 查看
  %% 直接返回所查到的maps类型，方便函数级联操作
  get(Table, Id) -> get(Table, Id, []).
  get(Table, Id, M) ->
      init(Table),
      [{_K, Result}|_] = dets:lookup(Table, Id),
      close(Table),
  
negative.code: %% 创建数据，返回{ok, Id}
  %% Data应为maps类型
  %% 自动插入创建和最后修改时间时间戳, 使用ISO标准格式
  create(Table, M1) ->
      M = ss_model:confirm_model(M1),
      case ss_model:validate(ss_model:confirm_model(M)) of
          {ok, _} -> create2(Table, M);
          {error, M2} -> {error, M2}
      end.
  create2(Table, M1) ->
      M = ss_model:confirm_model(M1),
      Id1 = maps:get(value, proplists:get_value(<<"_key">>, M, #{}), undefined),
      if
          Id1 =:= undefined ->
              {_, S, Ms} = now(),
              Id = ss:to_binary(io_lib:format("~B-~6..0B", [S, Ms]));
          true ->
              Id = ss:to_binary(Id1)
      end,
      init(Table),
      Time = ss_time:now_to_iso(),
  