if state in [dsedit,dsinsert] then//判断是否修改过
post;//提交
ltBatchOptimistic Optimistic batch updates; used for batch update mode rather than immediate update mode. 缓存机制 需要updatebatch才能更新数据库
ltOptimistic Optimistic locks; locked are initiated on a record-by-record basis, but only when updates are applied and a record is being updated
就是post直接更新的
tReadOnly Read-only; the current execution cannot modify data.
只读的不可以修改的