コード例 #1
0
 public void updateCheckphonebyAccount(String accountid, Long crrstate) {
   Checkphone checkphone = new Checkphone();
   checkphone.setAccountid(accountid);
   checkphone.setCrrstate(crrstate);
   sqlMapClientTemplate.update("Checkphone.update", checkphone);
 }
コード例 #2
0
 public void insertCheckphone(Checkphone checkphone) {
   String accountid = checkphone.getAccountid();
   this.updateCheckphonebyAccount(accountid, new Long(2));
   sqlMapClientTemplate.insert("Checkphone.insert", checkphone);
 }