SysParamDao.java
723 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package com.cjs.cms.dao.report;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.cjs.cms.model.report.SysParamInfo;
/**
* 管理员
*
* @author wangtenghui
*
*/
@Repository
public interface SysParamDao {
List<SysParamInfo> search(Map<String, Object> params);
int searchTotal(Map<String, Object> params);
int upStatus(SysParamInfo sysParam);
int getNewState();
int update(SysParamInfo sysParam);
int delete(Integer id);
SysParamInfo queryById(Integer id);
/** 登录 */
SysParamInfo login(SysParamInfo userInfo);
/** 登录次数+1 */
int updateLoginCount(Integer id);
/** 修改密码 */
int updatePassword(SysParamInfo userInfo);
}