public void revert(Integer[] id) { if (id == null || id.length == 0) return; String ids = StringUtil.arrayToString(id, ","); this.baseDaoSupport.execute( "update print_tmpl set disabled = 'false' where prt_tmpl_id in (" + ids + ")"); }
public void clean(Integer[] id) { if (id == null || id.length == 0) return; String ids = StringUtil.arrayToString(id, ","); this.baseDaoSupport.execute("delete from print_tmpl where prt_tmpl_id in (" + ids + ")"); }