@Override public List<TriggerInfo> triggerSelect(String activeCode) { if (activeCode != null && !"".equals(activeCode)) { List<TriggerInfo> list = triggerDAO.selectTriggerById(activeCode); return list; } return null; }
@Override public void triggerDelete(String activeCode) { if (activeCode != null && !"".equals(activeCode)) { triggerDAO.deleteTrigger(activeCode); } }
@Override public void triggerUpdate(TriggerInfo trigger) { if (trigger != null) { triggerDAO.updateTrigger(trigger); } }
/** 调用DAO方法,实现数据插入 */ @Override public void triggerInsert(TriggerInfo trigger) { if (trigger != null) { triggerDAO.insertTrigger(trigger); } }