コード例 #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);
 }