You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
Java
48 lines
1.4 KiB
Java
package com.ibeetl.jlw.service;
|
|
|
|
|
|
import com.ibeetl.admin.core.service.CoreBaseService;
|
|
import com.ibeetl.admin.core.util.PlatformException;
|
|
import com.ibeetl.jlw.dao.StudentQuestionLogDao;
|
|
import com.ibeetl.jlw.entity.StudentQuestionLog;
|
|
import org.beetl.sql.core.SqlId;
|
|
import org.beetl.sql.core.engine.PageQuery;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
* StudentQuestionLog Service
|
|
*/
|
|
|
|
@Service
|
|
@Transactional
|
|
public class StudentQuestionLogService extends CoreBaseService<StudentQuestionLog>{
|
|
|
|
@Autowired private StudentQuestionLogDao studentQuestionLogDao;
|
|
|
|
public PageQuery<StudentQuestionLog>queryByCondition(PageQuery query){
|
|
PageQuery ret = studentQuestionLogDao.queryByCondition(query);
|
|
queryListAfter(ret.getList());
|
|
return ret;
|
|
}
|
|
|
|
public void deleteStudentQuestionLog(String ids){
|
|
try {
|
|
studentQuestionLogDao.deleteStudentQuestionLogByIds(ids);
|
|
} catch (Exception e) {
|
|
throw new PlatformException("批量删除StudentQuestionLog失败", e);
|
|
}
|
|
}
|
|
|
|
public List<StudentQuestionLog> getValues (Object paras){
|
|
return sqlManager.select(SqlId.of("jlw.studentQuestionLog.getStudentQuestionLogValues"),StudentQuestionLog.class,paras);
|
|
}
|
|
} |