save修改的时候如不希望更新某一字段,可以通过field('字段',true)方式;
例如:
1.过滤单个字段:
D("CrmApplyform") ->where("aid = $id") ->field('apply_code',true) ->save();
2.过滤多个字段:
D("CrmApplyform") ->where("aid = $id") ->field('apply_code,state,....',true) ->save();