String hql = "update FormulaInfo t set t.defaultFormula=" + ConstantInk.NO +
"where t.productId=? and t.version!=? ";
Object[] parameter = new Object[] {productId,version};
return formulaInfoDao.batchExecute(hql, parameter);
String hql = "update FormulaInfo t set t.defaultFormula=" + ConstantInk.NO +
"where t.productId=? and t.version!=? ";
Object[] parameter = new Object[] {productId,version};
return formulaInfoDao.batchExecute(hql, parameter);