package com.aircraft.modules.system.mapper;

import com.aircraft.modules.system.domain.CnCustomer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cli
 * @since 2025-07-09
 */
@Mapper
public interface CnCustomerMapper extends BaseMapper<CnCustomer> {

    @Select("update cn_customer set password = #{password} where username = #{username}")
    void updatePass(@Param("username") String username, @Param("password") String password);
}
