All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.base4j.mvc.sys.service.impl.SysParamServiceImpl Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
package com.base4j.mvc.sys.service.impl;

import com.base4j.mvc.base.service.impl.BaseServiceImpl;
import com.base4j.mvc.sys.entity.SysParam;
import com.base4j.mvc.sys.mapper.SysParamsMapper;
import com.base4j.mvc.sys.service.SysParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysParamServiceImpl extends BaseServiceImpl implements SysParamService {

    @Autowired
    private SysParamsMapper sysParamsMapper;

    /**
     * 该功能用于激活用户
     * @param id     主键
     * @param active 是否激活
     * @return  无返回值
     */
    @Override
    public void updateActiveByPrimaryKey(long id, long active) {
        sysParamsMapper.updateActiveByPrimaryKey(id, active);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy