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

com.base4j.mvc.sys.mapper.SysParamsMapper Maven / Gradle / Ivy

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

import com.base4j.mvc.sys.entity.SysParam;
import com.base4j.mybatis.base.mapper.BaseMapper;
import com.base4j.mybatis.config.mybatis.annotations.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@AutoMapper
public interface SysParamsMapper extends BaseMapper {
    @Update("UPDATE\n" +
            "\tseed_sys_param\n" +
            "SET active = ${active}\n" +
            "WHERE\n" +
            "\tid = ${id}")
     void updateActiveByPrimaryKey(@Param("id") long id, @Param("active") long active);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy