RegisterCodeExample rcm=new RegisterCodeExample();
rcm.setOrderByClause("register_code_time desc");
rcm.createCriteria().andPhoneEqualTo(userPhone);
List<RegisterCode> list = rm.selectByExample(rcm);
那個欄位要用資料庫裡的欄位,不是程式碼生成的bean類裡的欄位屬性
RegisterCodeExample rcm=new RegisterCodeExample();
rcm.setOrderByClause("register_code_time desc");
rcm.createCriteria().andPhoneEqualTo(userPhone);
List<RegisterCode> list = rm.selectByExample(rcm);
那個欄位要用資料庫裡的欄位,不是程式碼生成的bean類裡的欄位屬性