|
|
|
@ -123,6 +123,7 @@ public class BaseModel {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
public Record getSubject(int subject_id) {
|
|
|
|
|
return Db.findById("t_dm_subject", subject_id);
|
|
|
|
|
String sql = "select * from t_dm_subject where subject_id=?";
|
|
|
|
|
return Db.findFirst(sql, subject_id);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|