From aed297a5fbc8df9dab01b28da21f872ee546b43c Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 13 十月 2025 16:15:11 +0800 Subject: [PATCH] 2025.10.13 1. 统一调整controller层的返回类型,通过添加全局响应增强器GlobalResponseAdvice来管理返回结果; 2. 新增mybatis-generator自定义插件,实现给数据库实体entity自动添加swagger注解@ApiModel和@ApiModelProperty --- src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/ExcelConfigVo.kt | 29 ++++++++++++++++------------- 1 files changed, 16 insertions(+), 13 deletions(-) diff --git a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/ExcelConfigVo.kt b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/ExcelConfigVo.kt index 1d04f57..2dbdce2 100644 --- a/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/ExcelConfigVo.kt +++ b/src/main/kotlin/cn/flightfeather/supervision/lightshare/vo/ExcelConfigVo.kt @@ -8,23 +8,26 @@ * 瀵煎嚭宸℃煡浠诲姟excel鏂囦欢 鏉′欢绫� */ data class ExcelConfigVo( - val topTaskGuid: String, + var topTaskGuid: String = "", - val startTime: Date? = null, - val endTime: Date? = null, + val startTime: Date? = null, + val endTime: Date? = null, - val provinceCode: String? = null, - val cityCode: String? = null, - val districtCode: String? = null, - val townCode: String? = null, + val provinceCode: String? = null, + val cityCode: String? = null, + val districtCode: String? = null, + val townCode: String? = null, - val sceneType: Int? = null, + var sceneType: Int? = null, - val subTaskIdList: List<String>? = null, + val subTaskIdList: List<String>? = null, - val problemTypeName: String? = null, - val problemName: String? = null, + val problemTypeName: String? = null, + val problemName: String? = null, - val mode: Int = 0, - val forceUpdate: Boolean = false + val mode: Int = 0, + val forceUpdate: Boolean = false, + + // 鍐冲畾鏄惁缁熻鎬讳换鍔′笅鎵�鏈夌殑鍦烘櫙鎴栧彧缁熻绛涢�夊嚭鐨勫瓙浠诲姟瀵瑰簲鐨勫満鏅� + var allScene: Boolean = true, ) \ No newline at end of file -- Gitblit v1.9.3