读书人

mybatis注解怪异有关问题

发布时间: 2012-07-20 10:38:30 作者: rapoo

mybatis注解怪异问题

?

?

?

@Select("SELECT * FROM bb_app.sms_schedule WHERE status<>-1 ORDER BY status, create_time DESC")@Results(value = { @Result(property = "sid"), @Result(property = "name"), @Result(property = "channel"),@Result(property = "status"),@Result(property = "sendTime",column = "SEND_TIME"),@Result(property = "createTime",column = "CREATE_TIME"),@Result(property = "updateTime", column = "UPDATE_TIME")   })public List<ScheduleVO> getScheduleVOs();@Select("SELECT count(1) as cc FROM bb_app.sms_schedule WHERE status<>-1")@Results({@Result(property="totalCount",column = "cc")})public PageVO queryCount();
?

读书人网 >行业软件

热点推荐