/**
|
* Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
|
*/
|
package com.jeeplus.modules.sign.service;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.scheduling.annotation.Scheduled;
|
import org.springframework.stereotype.Service;
|
import org.springframework.transaction.annotation.Transactional;
|
|
import com.jeeplus.common.persistence.Page;
|
import com.jeeplus.common.service.CrudService;
|
import com.jeeplus.modules.sign.entity.FormSign;
|
import com.jeeplus.modules.userregister.entity.UserRegister;
|
import com.jeeplus.modules.sign.dao.FormSignDao;
|
|
/**
|
* 签到Service
|
* @author jinlong
|
* @version 2016-04-19
|
*/
|
@Service
|
@Transactional(readOnly = true)
|
public class FormSignService extends CrudService<FormSignDao, FormSign> {
|
|
public FormSign get(String id) {
|
return super.get(id);
|
}
|
|
public List<FormSign> findList(FormSign formSign) {
|
return super.findList(formSign);
|
}
|
|
public Page<FormSign> findPage(Page<FormSign> page, FormSign formSign) {
|
return super.findPage(page, formSign);
|
}
|
|
@Transactional(readOnly = false)
|
public void save(FormSign formSign) {
|
super.save(formSign);
|
}
|
|
@Transactional(readOnly = false)
|
public void delete(FormSign formSign) {
|
super.delete(formSign);
|
}
|
|
|
@Autowired
|
protected FormSignDao dao;
|
|
public List<FormSign> findDetaillist( Map<String, Object> map) {
|
|
return dao.findDetaillist(map);
|
}
|
|
|
|
public Page<FormSign> findSignListPage(Page<FormSign> page, FormSign formSign) {
|
formSign.setPage(page);
|
page.setList(dao.findSignListPage(formSign));
|
return page;
|
}
|
@Transactional(readOnly = false)
|
public void insertSign(Map<String, Object> map) {
|
dao.insertSign(map);
|
}
|
|
public List<String> findCardList() {
|
return dao.findCardList();
|
}
|
@Transactional(readOnly = false)
|
public void delTask(String id) {
|
dao.delTask(id);
|
}
|
|
public List<String> queryTaskList() {
|
return dao.queryTaskList();
|
}
|
|
|
}
|