feat:解决belongId问题

This commit is contained in:
luluyuyu 2025-01-09 20:43:38 +08:00
parent 65446f27f4
commit 35ad10e385
2 changed files with 2 additions and 2 deletions

View file

@ -60,7 +60,7 @@ public class Question extends OperatorUserInfo {
private Integer answerInputWidth; private Integer answerInputWidth;
@TableField("belong_id") @TableField("belong_id")
@ApiModelProperty(value = "所属问卷或题库", required = "required") @ApiModelProperty(value = "所属问卷或题库")
private String belongId; private String belongId;
@TableField("cell_count") @TableField("cell_count")

View file

@ -20,7 +20,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
@EnableTransactionManagement//启注解事务管理等同于xml配置方式的 <tx:annotation-driven /> @EnableTransactionManagement//启注解事务管理等同于xml配置方式的 <tx:annotation-driven />
@ComponentScan(basePackages = {"com.skyeye"}) @ComponentScan(basePackages = {"com.skyeye"})
@EnableDiscoveryClient // 开启服务发现 @EnableDiscoveryClient // 开启服务发现
@EnableFeignClients @EnableFeignClients // 开启Feign客户端,实现负载均衡
public class SkySchoolApplication { public class SkySchoolApplication {
public static void main(String[] args) { public static void main(String[] args) {