wang-hao-jie
2021-12-09 fdeaff15619f5f2e851f74f7b5e2b203b157856d
xboot-modules/xboot-your/src/main/java/cn/exrick/xboot/your/mapper/FingerprintMapper.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import cn.exrick.xboot.your.entity.Fingerprint;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@@ -11,4 +12,9 @@
 */
public interface FingerprintMapper extends BaseMapper<Fingerprint> {
    @Select("select max(code) from t_fingerprint where user_id is not null")
    Integer maxCode();
    @Select("select max(code) from t_fingerprint where area_id=#{areaId}")
    Integer maxCode2(String areaId);
}