예제 #1
0
 @Override
 public int updateTalentIdea(TalentIdea talentIdea) {
   String sql = "update t_talentidea set talentideainfo=? where id=?";
   Object[] param = {talentIdea.getTalentideainfo(), talentIdea.getId()};
   return exceuteUpdate(sql, param);
 }
예제 #2
0
 @Override
 public int addTalentIdea(TalentIdea talentIdea) {
   String sql = "insert into t_talentidea (talentideainfo)values(?)";
   Object[] param = {talentIdea.getTalentideainfo()};
   return exceuteUpdate(sql, param);
 }