- 添加数据库迁移脚本,为 play_clerk_level_info 表新增 order_number 字段 - 更新测试数据种子,设置默认等级的排序号 - 新增店员用户API测试,验证按等级排序号和在线状态的排序逻辑
This commit is contained in:
@@ -259,6 +259,7 @@ public class ApiTestDataSeeder implements CommandLineRunner {
|
||||
entity.setNotFirstRandomRadio(45);
|
||||
entity.setFirstRewardRatio(40);
|
||||
entity.setNotFirstRewardRatio(35);
|
||||
entity.setOrderNumber(1L);
|
||||
clerkLevelInfoService.save(entity);
|
||||
log.info("Inserted API test clerk level {}", DEFAULT_CLERK_LEVEL_ID);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user