예제 #1
0
 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 + ")");
 }
예제 #2
0
 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 + ")");
 }