mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	fix: MybatisPlus 主键策略使用雪花算法 ASSIGN_ID 时,获取登录验证码主键精度丢失问题
SmsCodeDO 主键类型为 Integer,使用雪花算法后 Long 转 Integer 精度丢失,system_sms_code 表数据入库后主键为负数
This commit is contained in:
		@@ -26,7 +26,7 @@ public class SmsCodeDO extends BaseDO {
 | 
			
		||||
    /**
 | 
			
		||||
     * 编号
 | 
			
		||||
     */
 | 
			
		||||
    private Integer id;
 | 
			
		||||
    private Long id;
 | 
			
		||||
    /**
 | 
			
		||||
     * 手机号
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user