refactor(系统服务): 完成达梦数据库表名迁移至 QH_ 命名规范
- 更新 76 个实体类的 @TableName 注解,映射到新 QH_XXX_XXXXX 表名 - 批量替换 jeecg-system 和 jeecg-boot-base-core 中 175 个文件的 硬编码旧表名,统一使用新 QH_ 前缀命名 - 新增 20260310-修改system数据库表名.sql,包含 76 条 ALTER TABLE RENAME TO 语句(分模块分组) - 追加 5 条废弃表 DROP TABLE 语句至 20260306-信创system删表语句.sql - 更新达梦数据库兼容性问题报告,第六节调整为 76 行, 第八节新增 8.13 废弃表分组,合计 111 张表 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
0b403a559e
commit
061749cfb3
@@ -75,6 +75,7 @@ DROP TABLE "REP_DEMO_EMPLOYEE";
|
||||
DROP TABLE "REP_DEMO_GONGSI";
|
||||
DROP TABLE "REP_DEMO_JIANPIAO";
|
||||
DROP TABLE "SYS_APP_VERSION_QH";
|
||||
DROP TABLE "SYS_DEPART_COPY1";
|
||||
DROP TABLE "SYS_DEPART_GPS_QH";
|
||||
DROP TABLE "SYS_DEPART_QH";
|
||||
DROP TABLE "SYS_LOG_QH";
|
||||
@@ -97,4 +98,14 @@ DROP TABLE "TEST_ORDER_PRODUCT";
|
||||
DROP TABLE "TEST_SHOPTYPE_TREE";
|
||||
DROP TABLE "TEST_V3_HELLO";
|
||||
DROP TABLE "TMP_REPORT_DATA_1";
|
||||
DROP TABLE "TMP_REPORT_DATA_INCOME";
|
||||
DROP TABLE "TMP_REPORT_DATA_INCOME";
|
||||
DROP TABLE "REMOTE_WEIGHT_MANUFACTURER_INBODY";
|
||||
DROP TABLE "REMOTE_WEIGHT_MANUFACTURER_LEFU";
|
||||
DROP TABLE "REMOTE_WEIGHT_MANUFACTURER_ONE";
|
||||
DROP TABLE "REMOTE_WEIGHT_MANUFACTURER_TWO";
|
||||
DROP TABLE "REMOTE_WEIGHT_NORMATIVE_DATA";
|
||||
DROP TABLE "HEALTH_USER_DOCTOR_BASE_EX";
|
||||
DROP TABLE "HOSPITAL_DEPARTMENT";
|
||||
DROP TABLE "STATION_HOSPITAL";
|
||||
DROP TABLE "SYS_APP_VERSION";
|
||||
DROP TABLE "USER_INFORMATION";
|
||||
|
||||
@@ -0,0 +1,92 @@
|
||||
-- ============================================================
|
||||
-- System 服务数据库表名修改脚本(达梦 DM8)
|
||||
-- 规则:统一以 QH_ 开头,第二级三字母业务模块前缀,总长度 ≤ 25 位
|
||||
-- 生成日期:2026-03-10
|
||||
-- 涉及表数:76 张
|
||||
-- ============================================================
|
||||
|
||||
-- ===== COM 公共模块(4 张)=====
|
||||
ALTER TABLE "COMMON_EXPORTS_INFO" RENAME TO "QH_COM_EXPORTS_INFO";
|
||||
ALTER TABLE "COMMON_EXPORTS_ITEM" RENAME TO "QH_COM_EXPORTS_ITEM";
|
||||
ALTER TABLE "COMMON_IMPORTS" RENAME TO "QH_COM_IMPORTS";
|
||||
ALTER TABLE "COMMON_IMPORTS_DETAIL" RENAME TO "QH_COM_IMPORTS_DETAIL";
|
||||
|
||||
-- ===== HLT 健康模块(6 张)=====
|
||||
ALTER TABLE "HEALTH_CONSULT_RESOURCE" RENAME TO "QH_HLT_CONSULT_RESOURCE";
|
||||
ALTER TABLE "HEALTH_HOLIDAY" RENAME TO "QH_HLT_HOLIDAY";
|
||||
ALTER TABLE "HEALTH_USER_DOCTOR_EX" RENAME TO "QH_HLT_DOCTOR_EX";
|
||||
ALTER TABLE "HEALTH_USER_EMPLOYEE_EX" RENAME TO "QH_HLT_USER_EMPLOYEE_EX";
|
||||
ALTER TABLE "HEALTH_USER_OPERATOR_EX" RENAME TO "QH_HLT_USER_OPERATOR_EX";
|
||||
ALTER TABLE "HEALTH_USER_STATION_EX" RENAME TO "QH_HLT_USER_STATION_EX";
|
||||
|
||||
-- ===== SCL 体测模块(2 张)=====
|
||||
ALTER TABLE "SCALE_HEIGHT" RENAME TO "QH_SCL_HEIGHT";
|
||||
ALTER TABLE "SCALE_PERSONAL" RENAME TO "QH_SCL_PERSONAL";
|
||||
|
||||
-- ===== SYS 系统模块(52 张)=====
|
||||
ALTER TABLE "SYS_ANNOUNCEMENT" RENAME TO "QH_SYS_ANNOUNCEMENT";
|
||||
ALTER TABLE "SYS_ANNOUNCEMENT_SEND" RENAME TO "QH_SYS_ANNOUNCEMENT_SEND";
|
||||
ALTER TABLE "SYS_BANNER" RENAME TO "QH_SYS_BANNER";
|
||||
ALTER TABLE "SYS_CATEGORY" RENAME TO "QH_SYS_CATEGORY";
|
||||
ALTER TABLE "SYS_CHECK_RULE" RENAME TO "QH_SYS_CHECK_RULE";
|
||||
ALTER TABLE "SYS_COMMENT" RENAME TO "QH_SYS_COMMENT";
|
||||
ALTER TABLE "SYS_CONFIG" RENAME TO "QH_SYS_CONFIG";
|
||||
ALTER TABLE "SYS_DATA_LOG" RENAME TO "QH_SYS_DATA_LOG";
|
||||
ALTER TABLE "SYS_DATA_SOURCE" RENAME TO "QH_SYS_DATA_SOURCE";
|
||||
ALTER TABLE "SYS_DEPART" RENAME TO "QH_SYS_DEPART";
|
||||
ALTER TABLE "SYS_DEPART_GPS" RENAME TO "QH_SYS_DEPART_GPS";
|
||||
ALTER TABLE "SYS_DEPART_PERMISSION" RENAME TO "QH_SYS_DEPART_PERMISSION";
|
||||
ALTER TABLE "SYS_DEPART_ROLE" RENAME TO "QH_SYS_DEPART_ROLE";
|
||||
ALTER TABLE "SYS_DEPART_ROLE_PERMISSION" RENAME TO "QH_SYS_DEPT_ROLE_PERM";
|
||||
ALTER TABLE "SYS_DEPART_ROLE_USER" RENAME TO "QH_SYS_DEPART_ROLE_USER";
|
||||
ALTER TABLE "SYS_DICT" RENAME TO "QH_SYS_DICT";
|
||||
ALTER TABLE "SYS_DICT_ITEM" RENAME TO "QH_SYS_DICT_ITEM";
|
||||
ALTER TABLE "SYS_FILES" RENAME TO "QH_SYS_FILES";
|
||||
ALTER TABLE "SYS_FILL_RULE" RENAME TO "QH_SYS_FILL_RULE";
|
||||
ALTER TABLE "SYS_FORM_FILE" RENAME TO "QH_SYS_FORM_FILE";
|
||||
ALTER TABLE "SYS_GATEWAY_ROUTE" RENAME TO "QH_SYS_GATEWAY_ROUTE";
|
||||
ALTER TABLE "SYS_IOS_REDEEM" RENAME TO "QH_SYS_IOS_REDEEM";
|
||||
ALTER TABLE "SYS_LOG" RENAME TO "QH_SYS_LOG";
|
||||
ALTER TABLE "SYS_MESSAGE_NOTICE" RENAME TO "QH_SYS_MSG_NOTICE";
|
||||
ALTER TABLE "SYS_MESSAGE_NOTICE_SCOPE" RENAME TO "QH_SYS_MSG_NOTICE_SCOPE";
|
||||
ALTER TABLE "SYS_MESSAGE_REMIND" RENAME TO "QH_SYS_MSG_REMIND";
|
||||
ALTER TABLE "SYS_NOTICE" RENAME TO "QH_SYS_NOTICE";
|
||||
ALTER TABLE "SYS_NOTICE_READ_RECORD" RENAME TO "QH_SYS_NOTICE_READ_RECORD";
|
||||
ALTER TABLE "SYS_PACK_PERMISSION" RENAME TO "QH_SYS_PACK_PERMISSION";
|
||||
ALTER TABLE "SYS_PERMISSION" RENAME TO "QH_SYS_PERMISSION";
|
||||
ALTER TABLE "SYS_PERMISSION_DATA_RULE" RENAME TO "QH_SYS_PERM_DATA_RULE";
|
||||
ALTER TABLE "SYS_PERMISSION_V2" RENAME TO "QH_SYS_PERMISSION_V2";
|
||||
ALTER TABLE "SYS_POSITION" RENAME TO "QH_SYS_POSITION";
|
||||
ALTER TABLE "SYS_POSITION_CLASSIFY" RENAME TO "QH_SYS_POSITION_CLASSIFY";
|
||||
ALTER TABLE "SYS_QUARTZ_JOB" RENAME TO "QH_SYS_QUARTZ_JOB";
|
||||
ALTER TABLE "SYS_ROLE" RENAME TO "QH_SYS_ROLE";
|
||||
ALTER TABLE "SYS_ROLE_INDEX" RENAME TO "QH_SYS_ROLE_INDEX";
|
||||
ALTER TABLE "SYS_ROLE_PERMISSION" RENAME TO "QH_SYS_ROLE_PERMISSION";
|
||||
ALTER TABLE "SYS_SMS" RENAME TO "QH_SYS_SMS";
|
||||
ALTER TABLE "SYS_SMS_TEMPLATE" RENAME TO "QH_SYS_SMS_TEMPLATE";
|
||||
ALTER TABLE "SYS_TENANT" RENAME TO "QH_SYS_TENANT";
|
||||
ALTER TABLE "SYS_TENANT_PACK" RENAME TO "QH_SYS_TENANT_PACK";
|
||||
ALTER TABLE "SYS_TENANT_PACK_PERMS" RENAME TO "QH_SYS_TENANT_PACK_PERMS";
|
||||
ALTER TABLE "SYS_TENANT_PACK_USER" RENAME TO "QH_SYS_TENANT_PACK_USER";
|
||||
ALTER TABLE "SYS_THIRD_ACCOUNT" RENAME TO "QH_SYS_THIRD_ACCOUNT";
|
||||
ALTER TABLE "SYS_USER" RENAME TO "QH_SYS_USER";
|
||||
ALTER TABLE "SYS_USER_AGENT" RENAME TO "QH_SYS_USER_AGENT";
|
||||
ALTER TABLE "SYS_USER_DEPART" RENAME TO "QH_SYS_USER_DEPART";
|
||||
ALTER TABLE "SYS_USER_DEPART_CHANGE_APPLY" RENAME TO "QH_SYS_DEPT_CHG_APPLY";
|
||||
ALTER TABLE "SYS_USER_DEVICE" RENAME TO "QH_SYS_USER_DEVICE";
|
||||
ALTER TABLE "SYS_USER_EMERGENCY_CONTACT" RENAME TO "QH_SYS_USR_EMERG_CONTACT";
|
||||
ALTER TABLE "SYS_USER_FAMILY_MEMBERS" RENAME TO "QH_SYS_USR_FAMILY_MBR";
|
||||
ALTER TABLE "SYS_USER_FAMILY_MEMBERS_REQUEST" RENAME TO "QH_SYS_USR_FAM_MBR_REQ";
|
||||
ALTER TABLE "SYS_USER_POST" RENAME TO "QH_SYS_USER_POST";
|
||||
ALTER TABLE "SYS_USER_ROLE" RENAME TO "QH_SYS_USER_ROLE";
|
||||
ALTER TABLE "SYS_USER_TENANT" RENAME TO "QH_SYS_USER_TENANT";
|
||||
ALTER TABLE "SYS_VERSION_APP" RENAME TO "QH_SYS_VERSION_APP";
|
||||
ALTER TABLE "SYS_VERSION_INFO" RENAME TO "QH_SYS_VERSION_INFO";
|
||||
|
||||
-- ===== USR 用户模块(12 张)=====
|
||||
ALTER TABLE "TBL_USER_WX_RELATION" RENAME TO "QH_USR_WX_RELATION";
|
||||
ALTER TABLE "USER_DATA_RECORD_BLOOD_ABO" RENAME TO "QH_USR_DATA_RCD_BLOOD_ABO";
|
||||
ALTER TABLE "USER_DATA_RECORD_BLOOD_PRESSURE" RENAME TO "QH_USR_DATA_RCD_BLD_PRS";
|
||||
ALTER TABLE "USER_DATA_RECORD_BMI" RENAME TO "QH_USR_DATA_RCD_BMI";
|
||||
ALTER TABLE "USER_DATA_RECORD_BWH" RENAME TO "QH_USR_DATA_RCD_BWH";
|
||||
ALTER TABLE "USER_WEIGHT_BIND" RENAME TO "QH_USR_WEIGHT_BIND";
|
||||
@@ -367,28 +367,28 @@ public interface CommonConstant {
|
||||
Integer USER_IDENTITY_2 = 2;
|
||||
|
||||
/**
|
||||
* sys_user 表 username 唯一键索引
|
||||
* QH_SYS_USER 表 username 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_SYS_USER_USERNAME = "uniq_sys_user_username";
|
||||
/**
|
||||
* sys_user 表 work_no 唯一键索引
|
||||
* QH_SYS_USER 表 work_no 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_SYS_USER_WORK_NO = "uniq_sys_user_work_no";
|
||||
/**
|
||||
* sys_user 表 phone 唯一键索引
|
||||
* QH_SYS_USER 表 phone 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_SYS_USER_PHONE = "uniq_sys_user_phone";
|
||||
/**
|
||||
* 达梦数据库升提示。违反表[SYS_USER]唯一性约束
|
||||
* 达梦数据库升提示。违反表[QH_SYS_USER]唯一性约束
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_SYS_USER = "唯一性约束";
|
||||
|
||||
/**
|
||||
* sys_user 表 email 唯一键索引
|
||||
* QH_SYS_USER 表 email 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_SYS_USER_EMAIL = "uniq_sys_user_email";
|
||||
/**
|
||||
* sys_quartz_job 表 job_class_name 唯一键索引
|
||||
* QH_SYS_QUARTZ_JOB 表 job_class_name 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_JOB_CLASS_NAME = "uniq_job_class_name";
|
||||
/**
|
||||
@@ -396,15 +396,15 @@ public interface CommonConstant {
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_CODE = "uniq_code";
|
||||
/**
|
||||
* sys_role 表 code 唯一键索引
|
||||
* QH_SYS_ROLE 表 code 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_SYS_ROLE_CODE = "uniq_sys_role_role_code";
|
||||
/**
|
||||
* sys_depart 表 code 唯一键索引
|
||||
* QH_SYS_DEPART 表 code 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_DEPART_ORG_CODE = "uniq_depart_org_code";
|
||||
/**
|
||||
* sys_category 表 code 唯一键索引
|
||||
* QH_SYS_CATEGORY 表 code 唯一键索引
|
||||
*/
|
||||
String SQL_INDEX_UNIQ_CATEGORY_CODE = "idx_sc_code";
|
||||
/**
|
||||
|
||||
+2
-2
@@ -9,8 +9,8 @@ package org.jeecg.common.constant;
|
||||
public class DynamicTableConstant {
|
||||
/**
|
||||
* 角色首页配置表
|
||||
* vue2表名: sys_role_index
|
||||
* vue2表名: QH_SYS_ROLE_INDEX
|
||||
* vue3表名: sys_role_index_vue3
|
||||
*/
|
||||
public static final String SYS_ROLE_INDEX = "sys_role_index";
|
||||
public static final String QH_SYS_ROLE_INDEX = "QH_SYS_ROLE_INDEX";
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ import java.math.BigDecimal;
|
||||
* @date 2023/12/4 11:01
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_depart")
|
||||
@TableName("QH_SYS_DEPART_GPS")
|
||||
public class SysDepartGps implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
|
||||
@@ -12,7 +12,7 @@ import java.util.Date;
|
||||
* @date 2023-04-19 15:26
|
||||
*/
|
||||
@Data
|
||||
@Schema(title = "sys_user对象", description = "sys_user")
|
||||
@Schema(title = "sys_user对象", description = "QH_SYS_USER")
|
||||
public class SysUserModel {
|
||||
/**
|
||||
* id
|
||||
|
||||
+3
-3
@@ -17,13 +17,13 @@ public abstract class AbstractQueryBlackListHandler {
|
||||
* key-表名
|
||||
* value-字段名,多个逗号隔开
|
||||
* 两种配置方式-- 全部配置成小写
|
||||
* ruleMap.put("sys_user", "*")sys_user所有的字段不支持查询
|
||||
* ruleMap.put("sys_user", "username,password")sys_user中的username和password不支持查询
|
||||
* ruleMap.put("QH_SYS_USER", "*")sys_user所有的字段不支持查询
|
||||
* ruleMap.put("QH_SYS_USER", "username,password")sys_user中的username和password不支持查询
|
||||
*/
|
||||
public static Map<String, String> ruleMap = new HashMap<>();
|
||||
|
||||
static {
|
||||
ruleMap.put("sys_user", "password,salt");
|
||||
ruleMap.put("QH_SYS_USER", "password,salt");
|
||||
}
|
||||
|
||||
|
||||
|
||||
+6
-6
@@ -60,13 +60,13 @@ public class MybatisPlusSaasConfig {
|
||||
//1.需要租户隔离的表请在此配置
|
||||
if (MybatisPlusSaasConfig.OPEN_SYSTEM_TENANT_CONTROL) {
|
||||
//a.系统管理表
|
||||
TENANT_TABLE.add("sys_role");
|
||||
TENANT_TABLE.add("sys_user_role");
|
||||
TENANT_TABLE.add("sys_depart");
|
||||
TENANT_TABLE.add("sys_category");
|
||||
TENANT_TABLE.add("sys_data_source");
|
||||
TENANT_TABLE.add("QH_SYS_ROLE");
|
||||
TENANT_TABLE.add("QH_SYS_USER_ROLE");
|
||||
TENANT_TABLE.add("QH_SYS_DEPART");
|
||||
TENANT_TABLE.add("QH_SYS_CATEGORY");
|
||||
TENANT_TABLE.add("QH_SYS_DATA_SOURCE");
|
||||
TENANT_TABLE.add("sys_position");
|
||||
TENANT_TABLE.add("sys_announcement");
|
||||
TENANT_TABLE.add("QH_SYS_ANNOUNCEMENT");
|
||||
}
|
||||
|
||||
//2.示例测试
|
||||
|
||||
@@ -36,7 +36,7 @@ public class HttpUtils {
|
||||
public static SortedMap<String, String> getAllParams(HttpServletRequest request) throws IOException {
|
||||
|
||||
SortedMap<String, String> result = new TreeMap<>();
|
||||
// 获取URL上最后带逗号的参数变量 sys/dict/getDictItems/sys_user,realname,username
|
||||
// 获取URL上最后带逗号的参数变量 sys/dict/getDictItems/QH_SYS_USER,realname,username
|
||||
String pathVariable = request.getRequestURI().substring(request.getRequestURI().lastIndexOf("/") + 1);
|
||||
if (pathVariable.contains(SymbolConstant.COMMA)) {
|
||||
log.info(" pathVariable: {}", pathVariable);
|
||||
@@ -74,7 +74,7 @@ public class HttpUtils {
|
||||
throws IOException {
|
||||
|
||||
SortedMap<String, String> result = new TreeMap<>();
|
||||
// 获取URL上最后带逗号的参数变量 sys/dict/getDictItems/sys_user,realname,username
|
||||
// 获取URL上最后带逗号的参数变量 sys/dict/getDictItems/QH_SYS_USER,realname,username
|
||||
String pathVariable = url.substring(url.lastIndexOf("/") + 1);
|
||||
if (pathVariable.contains(SymbolConstant.COMMA)) {
|
||||
log.info(" pathVariable: {}", pathVariable);
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<mapper namespace="org.jeecg.modules.base.mapper.BaseCommonMapper">
|
||||
<!-- 保存日志11 -->
|
||||
<insert id="saveLog" parameterType="Object">
|
||||
insert into sys_log (id, log_type, log_content, method, operate_type, request_url, request_type, request_param,
|
||||
insert into QH_SYS_LOG (id, log_type, log_content, method, operate_type, request_url, request_type, request_param,
|
||||
ip, userid, username, cost_time, create_time,create_by, tenant_id)
|
||||
values(
|
||||
#{dto.id,jdbcType=VARCHAR},
|
||||
|
||||
+20
-20
@@ -38,7 +38,7 @@ import java.util.List;
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "common_exports_info")
|
||||
@Tag(name = "QH_COM_EXPORTS_INFO")
|
||||
@RestController
|
||||
@RequestMapping("/sys/common/commonExportsInfo")
|
||||
@Slf4j
|
||||
@@ -57,8 +57,8 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "common_exports_info-分页列表查询")
|
||||
@Operation(summary = "common_exports_info-分页列表查询", description = "common_exports_info-分页列表查询")
|
||||
//@AutoLog(value = "QH_COM_EXPORTS_INFO-分页列表查询")
|
||||
@Operation(summary = "QH_COM_EXPORTS_INFO-分页列表查询", description = "QH_COM_EXPORTS_INFO-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
@PermissionData
|
||||
public Result<IPage<CommonExportsInfo>> queryPageList(CommonExportsInfo commonExportsInfo,
|
||||
@@ -89,9 +89,9 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param commonExportsInfo
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "common_exports_info-添加")
|
||||
@Operation(summary = "common_exports_info-添加", description = "common_exports_info-添加")
|
||||
@RequiresPermissions("common:common_exports_info:add")
|
||||
@AutoLog(value = "QH_COM_EXPORTS_INFO-添加")
|
||||
@Operation(summary = "QH_COM_EXPORTS_INFO-添加", description = "QH_COM_EXPORTS_INFO-添加")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_INFO:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody CommonExportsInfo commonExportsInfo) {
|
||||
commonExportsInfoService.save(commonExportsInfo);
|
||||
@@ -104,9 +104,9 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param commonExportsInfo
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "common_exports_info-编辑")
|
||||
@Operation(summary = "common_exports_info-编辑", description = "common_exports_info-编辑")
|
||||
@RequiresPermissions("common:common_exports_info:edit")
|
||||
@AutoLog(value = "QH_COM_EXPORTS_INFO-编辑")
|
||||
@Operation(summary = "QH_COM_EXPORTS_INFO-编辑", description = "QH_COM_EXPORTS_INFO-编辑")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_INFO:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody CommonExportsInfo commonExportsInfo) {
|
||||
commonExportsInfoService.saveOrUpdate(commonExportsInfo);
|
||||
@@ -119,9 +119,9 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "common_exports_info-通过id删除")
|
||||
@Operation(summary = "common_exports_info-通过id删除", description = "common_exports_info-通过id删除")
|
||||
//@RequiresPermissions("common:common_exports_info:delete")
|
||||
@AutoLog(value = "QH_COM_EXPORTS_INFO-通过id删除")
|
||||
@Operation(summary = "QH_COM_EXPORTS_INFO-通过id删除", description = "QH_COM_EXPORTS_INFO-通过id删除")
|
||||
//@RequiresPermissions("common:QH_COM_EXPORTS_INFO:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
commonExportsInfoService.removeById(id);
|
||||
@@ -134,9 +134,9 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "common_exports_info-批量删除")
|
||||
@Operation(summary = "common_exports_info-批量删除", description = "common_exports_info-批量删除")
|
||||
//@RequiresPermissions("common:common_exports_info:deleteBatch")
|
||||
@AutoLog(value = "QH_COM_EXPORTS_INFO-批量删除")
|
||||
@Operation(summary = "QH_COM_EXPORTS_INFO-批量删除", description = "QH_COM_EXPORTS_INFO-批量删除")
|
||||
//@RequiresPermissions("common:QH_COM_EXPORTS_INFO:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.commonExportsInfoService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -149,8 +149,8 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "common_exports_info-通过id查询")
|
||||
@Operation(summary = "common_exports_info-通过id查询", description = "common_exports_info-通过id查询")
|
||||
//@AutoLog(value = "QH_COM_EXPORTS_INFO-通过id查询")
|
||||
@Operation(summary = "QH_COM_EXPORTS_INFO-通过id查询", description = "QH_COM_EXPORTS_INFO-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<CommonExportsInfo> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
CommonExportsInfo commonExportsInfo = commonExportsInfoService.getById(id);
|
||||
@@ -166,10 +166,10 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param request
|
||||
* @param commonExportsInfo
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_info:exportXls")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_INFO:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, CommonExportsInfo commonExportsInfo) {
|
||||
return super.exportXls(request, commonExportsInfo, CommonExportsInfo.class, "common_exports_info");
|
||||
return super.exportXls(request, commonExportsInfo, CommonExportsInfo.class, "QH_COM_EXPORTS_INFO");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -179,7 +179,7 @@ public class CommonExportsInfoController extends JeecgController<CommonExportsIn
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_info:importExcel")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_INFO:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, CommonExportsInfo.class);
|
||||
|
||||
+3
-3
@@ -17,16 +17,16 @@ import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_info
|
||||
* @Description: QH_COM_EXPORTS_INFO
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("common_exports_info")
|
||||
@TableName("QH_COM_EXPORTS_INFO")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "common_exports_info对象", description = "common_exports_info")
|
||||
@Schema(title = "common_exports_info对象", description = "QH_COM_EXPORTS_INFO")
|
||||
public class CommonExportsInfo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||
import org.jeecg.modules.exports.entity.CommonExportsInfo;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_info
|
||||
* @Description: QH_COM_EXPORTS_INFO
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import org.jeecg.modules.exports.entity.CommonExportsInfo;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_info
|
||||
* @Description: QH_COM_EXPORTS_INFO
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import org.jeecg.modules.exports.service.ICommonExportsInfoService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_info
|
||||
* @Description: QH_COM_EXPORTS_INFO
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+6
-6
@@ -31,7 +31,7 @@ import java.util.Arrays;
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "common_imports")
|
||||
@Tag(name = "QH_COM_IMPORTS")
|
||||
@RestController
|
||||
@RequestMapping("/sys/common/commonImports")
|
||||
@Slf4j
|
||||
@@ -76,7 +76,7 @@ public class CommonImportsController extends JeecgController<CommonImports, ICom
|
||||
*/
|
||||
@AutoLog(value = "添加")
|
||||
@Operation(summary = "添加", description = "添加")
|
||||
@RequiresPermissions("common:common_exports_item:add")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody CommonImports commonImports) {
|
||||
commonImportsService.save(commonImports);
|
||||
@@ -91,7 +91,7 @@ public class CommonImportsController extends JeecgController<CommonImports, ICom
|
||||
*/
|
||||
@AutoLog(value = "编辑")
|
||||
@Operation(summary = "编辑", description = "编辑")
|
||||
@RequiresPermissions("common:common_exports_item:edit")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody CommonImports commonImports) {
|
||||
commonImportsService.updateById(commonImports);
|
||||
@@ -171,10 +171,10 @@ public class CommonImportsController extends JeecgController<CommonImports, ICom
|
||||
* @param request
|
||||
* @param commonImports
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_item:exportXls")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, CommonImports commonImports) {
|
||||
return super.exportXls(request, commonImports, CommonImports.class, "common_exports_item");
|
||||
return super.exportXls(request, commonImports, CommonImports.class, "QH_COM_EXPORTS_ITEM");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -184,7 +184,7 @@ public class CommonImportsController extends JeecgController<CommonImports, ICom
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_item:importExcel")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, CommonImports.class);
|
||||
|
||||
+6
-6
@@ -29,7 +29,7 @@ import java.util.List;
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "common_imports_detail")
|
||||
@Tag(name = "QH_COM_IMPORTS_DETAIL")
|
||||
@RestController
|
||||
@RequestMapping("/sys/common/commonImportsDetail")
|
||||
@Slf4j
|
||||
@@ -67,7 +67,7 @@ public class CommonImportsDetailController extends JeecgController<CommonImports
|
||||
*/
|
||||
@AutoLog(value = "添加")
|
||||
@Operation(summary = "添加", description = "添加")
|
||||
@RequiresPermissions("common:common_exports_item:add")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody CommonImportsDetail CommonImportsDetail) {
|
||||
commonImportsDetailService.save(CommonImportsDetail);
|
||||
@@ -82,7 +82,7 @@ public class CommonImportsDetailController extends JeecgController<CommonImports
|
||||
*/
|
||||
@AutoLog(value = "编辑")
|
||||
@Operation(summary = "编辑", description = "编辑")
|
||||
@RequiresPermissions("common:common_exports_item:edit")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody CommonImportsDetail CommonImportsDetail) {
|
||||
commonImportsDetailService.updateById(CommonImportsDetail);
|
||||
@@ -113,7 +113,7 @@ public class CommonImportsDetailController extends JeecgController<CommonImports
|
||||
*/
|
||||
@AutoLog(value = "通过id删除")
|
||||
@Operation(summary = "通过id删除", description = "通过id删除")
|
||||
@RequiresPermissions("common:common_exports_item:delete")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
commonImportsDetailService.removeById(id);
|
||||
@@ -128,7 +128,7 @@ public class CommonImportsDetailController extends JeecgController<CommonImports
|
||||
*/
|
||||
@AutoLog(value = "批量删除")
|
||||
@Operation(summary = "批量删除", description = "批量删除")
|
||||
@RequiresPermissions("common:common_exports_item:deleteBatch")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.commonImportsDetailService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -180,7 +180,7 @@ public class CommonImportsDetailController extends JeecgController<CommonImports
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_item:importExcel")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, CommonImportsDetail.class);
|
||||
|
||||
+6
-6
@@ -26,7 +26,7 @@ import java.util.Arrays;
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
*/
|
||||
//@Tag(name = "common_exports_item")
|
||||
//@Tag(name = "QH_COM_EXPORTS_ITEM")
|
||||
@RestController
|
||||
//@RequestMapping("/sys/common/commonImportsInfo")
|
||||
@Slf4j
|
||||
@@ -64,7 +64,7 @@ public class CommonImportsInfoController extends JeecgController<CommonImportsIn
|
||||
*/
|
||||
@AutoLog(value = "添加")
|
||||
@Operation(summary = "添加", description = "添加")
|
||||
@RequiresPermissions("common:common_exports_item:add")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody CommonImportsInfo commonImportsInfo) {
|
||||
commonImportsInfoService.save(commonImportsInfo);
|
||||
@@ -79,7 +79,7 @@ public class CommonImportsInfoController extends JeecgController<CommonImportsIn
|
||||
*/
|
||||
@AutoLog(value = "编辑")
|
||||
@Operation(summary = "编辑", description = "编辑")
|
||||
@RequiresPermissions("common:common_exports_item:edit")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody CommonImportsInfo commonImportsInfo) {
|
||||
commonImportsInfoService.updateById(commonImportsInfo);
|
||||
@@ -137,10 +137,10 @@ public class CommonImportsInfoController extends JeecgController<CommonImportsIn
|
||||
* @param request
|
||||
* @param commonImportsInfo
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_item:exportXls")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, CommonImportsInfo commonImportsInfo) {
|
||||
return super.exportXls(request, commonImportsInfo, CommonImportsInfo.class, "common_exports_item");
|
||||
return super.exportXls(request, commonImportsInfo, CommonImportsInfo.class, "QH_COM_EXPORTS_ITEM");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -150,7 +150,7 @@ public class CommonImportsInfoController extends JeecgController<CommonImportsIn
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("common:common_exports_item:importExcel")
|
||||
@RequiresPermissions("common:QH_COM_EXPORTS_ITEM:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, CommonImportsInfo.class);
|
||||
|
||||
+2
-2
@@ -22,10 +22,10 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("common_imports")
|
||||
@TableName("QH_COM_IMPORTS")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "common_imports对象", description = "common_imports")
|
||||
@Schema(title = "common_imports对象", description = "QH_COM_IMPORTS")
|
||||
public class CommonImports implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+2
-2
@@ -20,10 +20,10 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("common_imports_detail")
|
||||
@TableName("QH_COM_IMPORTS_DETAIL")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "common_imports_detail对象", description = "common_imports_detail")
|
||||
@Schema(title = "common_imports_detail对象", description = "QH_COM_IMPORTS_DETAIL")
|
||||
public class CommonImportsDetail implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+2
-2
@@ -22,10 +22,10 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("common_exports_item")
|
||||
@TableName("QH_COM_EXPORTS_ITEM")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "common_exports_item对象", description = "common_exports_item")
|
||||
@Schema(title = "common_exports_item对象", description = "QH_COM_EXPORTS_ITEM")
|
||||
public class CommonImportsInfo implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.jeecg.modules.imports.entity.CommonImportsDetail;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.jeecg.modules.imports.entity.CommonImportsInfo;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.jeecg.modules.imports.entity.CommonImports;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import org.jeecg.modules.imports.entity.CommonImportsDetail;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import org.jeecg.modules.imports.entity.CommonImportsInfo;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import org.jeecgframework.poi.excel.entity.ImportParams;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import org.jeecg.modules.imports.service.ICommonImportsDetailService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ import org.jeecg.modules.imports.service.ICommonImportsInfoService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ import java.util.Objects;
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
/**
|
||||
* @Description: common_exports_item
|
||||
* @Description: QH_COM_EXPORTS_ITEM
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-05-29
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import java.util.List;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("health_user_employee_ex")
|
||||
@TableName("QH_HLT_USER_EMPLOYEE_EX")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "health_user_employee_ex对象", description = "员工")
|
||||
|
||||
@@ -24,7 +24,7 @@ import java.util.Objects;
|
||||
* @Since 2019-01-22
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_depart")
|
||||
@TableName("QH_SYS_DEPART")
|
||||
public class SysDepart implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@@ -26,6 +26,7 @@ import java.util.*;
|
||||
* @Author scott
|
||||
* @since 2018-12-20
|
||||
*/
|
||||
@TableName("QH_SYS_USER")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@@ -197,8 +198,8 @@ public class SysUser implements Serializable {
|
||||
/**
|
||||
* 负责部门
|
||||
*/
|
||||
@Excel(name = "负责部门", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
||||
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
||||
@Excel(name = "负责部门", width = 15, dictTable = "QH_SYS_DEPART", dicText = "depart_name", dicCode = "id")
|
||||
@Dict(dictTable = "QH_SYS_DEPART", dicText = "depart_name", dicCode = "id")
|
||||
private String departIds;
|
||||
|
||||
@TableField(exist = false)
|
||||
|
||||
+3
-3
@@ -13,16 +13,16 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: sys_user_emergency_contact
|
||||
* @Description: QH_SYS_USR_EMERG_CONTACT
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-07-03
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_user_emergency_contact")
|
||||
@TableName("QH_SYS_USR_EMERG_CONTACT")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "sys_user_emergency_contact对象", description = "sys_user_emergency_contact")
|
||||
@Schema(title = "sys_user_emergency_contact对象", description = "QH_SYS_USR_EMERG_CONTACT")
|
||||
public class SysUserEmergencyContact implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import java.util.Date;
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "user_data_record_bwh")
|
||||
@TableName("QH_USR_DATA_RCD_BWH")
|
||||
public class UserDataRecordBWH implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ import java.util.List;
|
||||
@ToString
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "user_data_record_bmi")
|
||||
@TableName("QH_USR_DATA_RCD_BMI")
|
||||
public class UserDataRecordBmi implements Serializable {
|
||||
public static final String COL_ID = "id";
|
||||
public static final String COL_USER_ID = "user_id";
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@ import javax.validation.constraints.NotBlank;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: sys_user_emergency_contact
|
||||
* @Description: QH_SYS_USR_EMERG_CONTACT
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-07-03
|
||||
* @Version: V1.0
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("sys_sms")
|
||||
@TableName("QH_SYS_SMS")
|
||||
public class SysMessage extends JeecgEntity {
|
||||
/**
|
||||
* 推送内容
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@TableName("sys_sms_template")
|
||||
@TableName("QH_SYS_SMS_TEMPLATE")
|
||||
public class SysMessageTemplate extends JeecgEntity {
|
||||
/**
|
||||
* 模板CODE
|
||||
|
||||
+1
-1
@@ -20,6 +20,6 @@ public interface SysMessageTemplateMapper extends BaseMapper<SysMessageTemplate>
|
||||
* @param code 模板CODE
|
||||
* @return List<SysMessageTemplate>
|
||||
*/
|
||||
@Select("SELECT * FROM sys_sms_template WHERE template_code = #{code}")
|
||||
@Select("SELECT * FROM QH_SYS_SMS_TEMPLATE WHERE template_code = #{code}")
|
||||
List<SysMessageTemplate> selectByCode(String code);
|
||||
}
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import java.io.Serializable;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_quartz_job")
|
||||
@TableName("QH_SYS_QUARTZ_JOB")
|
||||
public class QuartzJob implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -3,6 +3,6 @@
|
||||
<mapper namespace="org.jeecg.modules.quartz.mapper.QuartzJobMapper">
|
||||
<!-- 根据jobClassName查询 -->
|
||||
<select id="findByJobClassName" resultType="org.jeecg.modules.quartz.entity.QuartzJob">
|
||||
select * from sys_quartz_job where job_class_name = #{jobClassName}
|
||||
select * from QH_SYS_QUARTZ_JOB where job_class_name = #{jobClassName}
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ import java.util.Date;
|
||||
@ToString
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "user_weight_bind")
|
||||
@TableName("QH_USR_WEIGHT_BIND")
|
||||
public class UserWeightBind implements Serializable {
|
||||
public static final String COL_ID = "id";
|
||||
public static final String COL_USER_ID = "user_id";
|
||||
|
||||
+6
-6
@@ -21,8 +21,8 @@ public interface UserDataRecordBmiMapper extends MPJBaseMapper<UserDataRecordBmi
|
||||
* @param dateTimeStr 时间offset
|
||||
*/
|
||||
@Select("SELECT record.* " +
|
||||
"FROM user_data_record_bmi record " +
|
||||
"JOIN ( SELECT user_id, MAX( data_date ) AS latest_date FROM user_data_record_bmi WHERE data_date>= #{dateTimeStr} GROUP BY user_id ) temp " +
|
||||
"FROM QH_USR_DATA_RCD_BMI record " +
|
||||
"JOIN ( SELECT user_id, MAX( data_date ) AS latest_date FROM QH_USR_DATA_RCD_BMI WHERE data_date>= #{dateTimeStr} GROUP BY user_id ) temp " +
|
||||
"ON record.user_id = temp.user_id AND record.data_date = temp.latest_date;")
|
||||
List<UserDataRecordBmi> queryAllUserNewRecord(@Param("dateTimeStr") String dateTimeStr);
|
||||
|
||||
@@ -31,7 +31,7 @@ public interface UserDataRecordBmiMapper extends MPJBaseMapper<UserDataRecordBmi
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
@Select("SELECT * from user_data_record_bmi where user_id = #{userId} ORDER BY data_date DESC FETCH FIRST 1 ROWS ONLY")
|
||||
@Select("SELECT * from QH_USR_DATA_RCD_BMI where user_id = #{userId} ORDER BY data_date DESC FETCH FIRST 1 ROWS ONLY")
|
||||
UserDataRecordBmi queryUserNewRecord(@Param("userId") String userId);
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ public interface UserDataRecordBmiMapper extends MPJBaseMapper<UserDataRecordBmi
|
||||
* @param userId
|
||||
* @return
|
||||
*/
|
||||
@Select("SELECT fat_rate from user_data_record_bmi where user_id = #{userId} and fat_rate is not null ORDER BY data_date DESC FETCH FIRST 1 ROWS ONLY")
|
||||
@Select("SELECT fat_rate from QH_USR_DATA_RCD_BMI where user_id = #{userId} and fat_rate is not null ORDER BY data_date DESC FETCH FIRST 1 ROWS ONLY")
|
||||
BigDecimal fatRateLatest(@Param("userId") String userId);
|
||||
|
||||
/**
|
||||
@@ -48,8 +48,8 @@ public interface UserDataRecordBmiMapper extends MPJBaseMapper<UserDataRecordBmi
|
||||
* @return
|
||||
*/
|
||||
@Select(" <script> " +
|
||||
" SELECT t.* FROM user_data_record_bmi t " +
|
||||
" INNER JOIN ( SELECT user_id, MAX( data_date ) AS data_date FROM user_data_record_bmi " +
|
||||
" SELECT t.* FROM QH_USR_DATA_RCD_BMI t " +
|
||||
" INNER JOIN ( SELECT user_id, MAX( data_date ) AS data_date FROM QH_USR_DATA_RCD_BMI " +
|
||||
" where user_id in <foreach item='item' index='index' collection='userIds' open='(' separator=',' close=')'> #{item} </foreach> GROUP BY user_id ) dt " +
|
||||
" ON t.user_id = dt.user_id AND t.data_date = dt.data_date " +
|
||||
" </script> ")
|
||||
|
||||
+1
-1
@@ -116,7 +116,7 @@
|
||||
|
||||
|
||||
<select id="selectWrapper" resultType="org.jeecg.modules.system.entity.DetailVO">
|
||||
SELECT * FROM remote_weight_manufacturer_one one LEFT JOIN sys_user su ON one.card_number = su.id_card
|
||||
SELECT * FROM remote_weight_manufacturer_one one LEFT JOIN QH_SYS_USER su ON one.card_number = su.id_card
|
||||
<where>
|
||||
<if test="dto.code != null and dto.code != ''">
|
||||
AND one.device_code = #{dto.code}
|
||||
|
||||
+8
-8
@@ -3,7 +3,7 @@
|
||||
<mapper namespace="org.jeecg.modules.remote.mapper.UserDataRecordBmiMapper">
|
||||
<resultMap id="BaseResultMap" type="org.jeecg.bean.entity.UserDataRecordBmi">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table user_data_record_bmi-->
|
||||
<!--@Table QH_USR_DATA_RCD_BMI-->
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="height" jdbcType="DECIMAL" property="height" />
|
||||
@@ -22,8 +22,8 @@
|
||||
SELECT
|
||||
t1.*
|
||||
FROM
|
||||
user_data_record_bmi t1
|
||||
RIGHT JOIN ( SELECT user_id, max( create_time ) maxTime FROM user_data_record_bmi
|
||||
QH_USR_DATA_RCD_BMI t1
|
||||
RIGHT JOIN ( SELECT user_id, max( create_time ) maxTime FROM QH_USR_DATA_RCD_BMI
|
||||
<where>
|
||||
<if test="userIds != null and userIds.size() > 0">
|
||||
AND user_id in
|
||||
@@ -44,11 +44,11 @@
|
||||
<select id="userFatRateLatest" resultType="org.jeecg.bean.entity.UserDataRecordBmi">
|
||||
SELECT t1.user_id,
|
||||
t1.fat_rate
|
||||
FROM user_data_record_bmi t1
|
||||
FROM QH_USR_DATA_RCD_BMI t1
|
||||
RIGHT JOIN
|
||||
( SELECT user_id,
|
||||
max(create_time) maxTime
|
||||
FROM user_data_record_bmi
|
||||
FROM QH_USR_DATA_RCD_BMI
|
||||
<where>
|
||||
AND fat_rate IS NOT NULL
|
||||
<if test="userIds != null and userIds.size() > 0">
|
||||
@@ -67,7 +67,7 @@
|
||||
DISTINCT
|
||||
user_id
|
||||
FROM
|
||||
user_data_record_bmi
|
||||
QH_USR_DATA_RCD_BMI
|
||||
<where>
|
||||
and weight is not null
|
||||
and data_source in ('2','4')
|
||||
@@ -81,8 +81,8 @@
|
||||
|
||||
<select id="dayMinWeight" resultType="org.jeecg.bean.entity.UserDataRecordBmi">
|
||||
SELECT *
|
||||
FROM user_data_record_bmi
|
||||
WHERE TRUNC(data_date) = (SELECT MAX(TRUNC(data_date)) FROM user_data_record_bmi where user_id = #{userId})
|
||||
FROM QH_USR_DATA_RCD_BMI
|
||||
WHERE TRUNC(data_date) = (SELECT MAX(TRUNC(data_date)) FROM QH_USR_DATA_RCD_BMI where user_id = #{userId})
|
||||
and user_id = #{userId}
|
||||
ORDER BY weight ASC
|
||||
FETCH FIRST 1 ROWS ONLY
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
<mapper namespace="org.jeecg.modules.remote.mapper.UserWeightBindMapper">
|
||||
<resultMap id="BaseResultMap" type="org.jeecg.modules.remote.entity.UserWeightBind">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table user_weight_bind-->
|
||||
<!--@Table QH_USR_WEIGHT_BIND-->
|
||||
<id column="id" jdbcType="VARCHAR" property="id" />
|
||||
<result column="user_id" jdbcType="VARCHAR" property="userId" />
|
||||
<result column="device_fact" jdbcType="VARCHAR" property="deviceFact" />
|
||||
|
||||
+1
-1
@@ -48,7 +48,7 @@ public class DuplicateCheckController {
|
||||
Long num = null;
|
||||
|
||||
log.debug("----duplicate check------:" + duplicateCheckVo.toString());
|
||||
//关联表字典(举例:sys_user,realname,id)
|
||||
//关联表字典(举例:QH_SYS_USER,realname,id)
|
||||
//SQL注入校验(只限制非法串改数据库)
|
||||
final String[] sqlInjCheck = {duplicateCheckVo.getTableName(), duplicateCheckVo.getFieldName()};
|
||||
SqlInjectionUtil.filterContent(sqlInjCheck);
|
||||
|
||||
+21
-21
@@ -25,12 +25,12 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: health_consult_resource
|
||||
* @Description: QH_HLT_CONSULT_RESOURCE
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-18
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "health_consult_resource")
|
||||
@Tag(name = "QH_HLT_CONSULT_RESOURCE")
|
||||
@RestController
|
||||
@RequestMapping("/sys/healthConsultResource")
|
||||
@Slf4j
|
||||
@@ -51,8 +51,8 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_consult_resource-分页列表查询")
|
||||
@Operation(summary = "health_consult_resource-分页列表查询", description = "health_consult_resource-分页列表查询")
|
||||
//@AutoLog(value = "QH_HLT_CONSULT_RESOURCE-分页列表查询")
|
||||
@Operation(summary = "QH_HLT_CONSULT_RESOURCE-分页列表查询", description = "QH_HLT_CONSULT_RESOURCE-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<HealthConsultResource>> queryPageList(HealthConsultResource healthConsultResource,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -71,9 +71,9 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param healthConsultResource
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_consult_resource-添加")
|
||||
@Operation(summary = "health_consult_resource-添加", description = "health_consult_resource-添加")
|
||||
@RequiresPermissions("system:health_consult_resource:add")
|
||||
@AutoLog(value = "QH_HLT_CONSULT_RESOURCE-添加")
|
||||
@Operation(summary = "QH_HLT_CONSULT_RESOURCE-添加", description = "QH_HLT_CONSULT_RESOURCE-添加")
|
||||
@RequiresPermissions("system:QH_HLT_CONSULT_RESOURCE:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody HealthConsultResource healthConsultResource) {
|
||||
healthConsultResourceService.save(healthConsultResource);
|
||||
@@ -86,9 +86,9 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param healthConsultResource
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_consult_resource-编辑")
|
||||
@Operation(summary = "health_consult_resource-编辑", description = "health_consult_resource-编辑")
|
||||
@RequiresPermissions("system:health_consult_resource:edit")
|
||||
@AutoLog(value = "QH_HLT_CONSULT_RESOURCE-编辑")
|
||||
@Operation(summary = "QH_HLT_CONSULT_RESOURCE-编辑", description = "QH_HLT_CONSULT_RESOURCE-编辑")
|
||||
@RequiresPermissions("system:QH_HLT_CONSULT_RESOURCE:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody HealthConsultResource healthConsultResource) {
|
||||
healthConsultResourceService.updateById(healthConsultResource);
|
||||
@@ -101,9 +101,9 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_consult_resource-通过id删除")
|
||||
@Operation(summary = "health_consult_resource-通过id删除", description = "health_consult_resource-通过id删除")
|
||||
@RequiresPermissions("system:health_consult_resource:delete")
|
||||
@AutoLog(value = "QH_HLT_CONSULT_RESOURCE-通过id删除")
|
||||
@Operation(summary = "QH_HLT_CONSULT_RESOURCE-通过id删除", description = "QH_HLT_CONSULT_RESOURCE-通过id删除")
|
||||
@RequiresPermissions("system:QH_HLT_CONSULT_RESOURCE:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
healthConsultResourceService.removeById(id);
|
||||
@@ -116,9 +116,9 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_consult_resource-批量删除")
|
||||
@Operation(summary = "health_consult_resource-批量删除", description = "health_consult_resource-批量删除")
|
||||
@RequiresPermissions("system:health_consult_resource:deleteBatch")
|
||||
@AutoLog(value = "QH_HLT_CONSULT_RESOURCE-批量删除")
|
||||
@Operation(summary = "QH_HLT_CONSULT_RESOURCE-批量删除", description = "QH_HLT_CONSULT_RESOURCE-批量删除")
|
||||
@RequiresPermissions("system:QH_HLT_CONSULT_RESOURCE:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.healthConsultResourceService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -131,8 +131,8 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_consult_resource-通过id查询")
|
||||
@Operation(summary = "health_consult_resource-通过id查询", description = "health_consult_resource-通过id查询")
|
||||
//@AutoLog(value = "QH_HLT_CONSULT_RESOURCE-通过id查询")
|
||||
@Operation(summary = "QH_HLT_CONSULT_RESOURCE-通过id查询", description = "QH_HLT_CONSULT_RESOURCE-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<HealthConsultResource> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
HealthConsultResource healthConsultResource = healthConsultResourceService.getById(id);
|
||||
@@ -148,10 +148,10 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param request
|
||||
* @param healthConsultResource
|
||||
*/
|
||||
@RequiresPermissions("system:health_consult_resource:exportXls")
|
||||
@RequiresPermissions("system:QH_HLT_CONSULT_RESOURCE:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, HealthConsultResource healthConsultResource) {
|
||||
return super.exportXls(request, healthConsultResource, HealthConsultResource.class, "health_consult_resource");
|
||||
return super.exportXls(request, healthConsultResource, HealthConsultResource.class, "QH_HLT_CONSULT_RESOURCE");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -161,7 +161,7 @@ public class HealthConsultResourceController extends JeecgController<HealthConsu
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:health_consult_resource:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_CONSULT_RESOURCE:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, HealthConsultResource.class);
|
||||
|
||||
+21
-21
@@ -22,12 +22,12 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @Description: health_holiday
|
||||
* @Description: QH_HLT_HOLIDAY
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-24
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "health_holiday")
|
||||
@Tag(name = "QH_HLT_HOLIDAY")
|
||||
@RestController
|
||||
@RequestMapping("/system/healthHoliday")
|
||||
@Slf4j
|
||||
@@ -44,8 +44,8 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_holiday-分页列表查询")
|
||||
@Operation(summary = "health_holiday-分页列表查询", description = "health_holiday-分页列表查询")
|
||||
//@AutoLog(value = "QH_HLT_HOLIDAY-分页列表查询")
|
||||
@Operation(summary = "QH_HLT_HOLIDAY-分页列表查询", description = "QH_HLT_HOLIDAY-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<HealthHoliday>> queryPageList(HealthHoliday healthHoliday,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -63,9 +63,9 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param healthHoliday
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_holiday-添加")
|
||||
@Operation(summary = "health_holiday-添加", description = "health_holiday-添加")
|
||||
@RequiresPermissions("system:health_holiday:add")
|
||||
@AutoLog(value = "QH_HLT_HOLIDAY-添加")
|
||||
@Operation(summary = "QH_HLT_HOLIDAY-添加", description = "QH_HLT_HOLIDAY-添加")
|
||||
@RequiresPermissions("system:QH_HLT_HOLIDAY:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody HealthHoliday healthHoliday) {
|
||||
healthHolidayService.save(healthHoliday);
|
||||
@@ -78,9 +78,9 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param healthHoliday
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_holiday-编辑")
|
||||
@Operation(summary = "health_holiday-编辑", description = "health_holiday-编辑")
|
||||
@RequiresPermissions("system:health_holiday:edit")
|
||||
@AutoLog(value = "QH_HLT_HOLIDAY-编辑")
|
||||
@Operation(summary = "QH_HLT_HOLIDAY-编辑", description = "QH_HLT_HOLIDAY-编辑")
|
||||
@RequiresPermissions("system:QH_HLT_HOLIDAY:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody HealthHoliday healthHoliday) {
|
||||
healthHolidayService.updateById(healthHoliday);
|
||||
@@ -93,9 +93,9 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_holiday-通过id删除")
|
||||
@Operation(summary = "health_holiday-通过id删除", description = "health_holiday-通过id删除")
|
||||
@RequiresPermissions("system:health_holiday:delete")
|
||||
@AutoLog(value = "QH_HLT_HOLIDAY-通过id删除")
|
||||
@Operation(summary = "QH_HLT_HOLIDAY-通过id删除", description = "QH_HLT_HOLIDAY-通过id删除")
|
||||
@RequiresPermissions("system:QH_HLT_HOLIDAY:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
healthHolidayService.removeById(id);
|
||||
@@ -108,9 +108,9 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_holiday-批量删除")
|
||||
@Operation(summary = "health_holiday-批量删除", description = "health_holiday-批量删除")
|
||||
@RequiresPermissions("system:health_holiday:deleteBatch")
|
||||
@AutoLog(value = "QH_HLT_HOLIDAY-批量删除")
|
||||
@Operation(summary = "QH_HLT_HOLIDAY-批量删除", description = "QH_HLT_HOLIDAY-批量删除")
|
||||
@RequiresPermissions("system:QH_HLT_HOLIDAY:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.healthHolidayService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -123,8 +123,8 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_holiday-通过id查询")
|
||||
@Operation(summary = "health_holiday-通过id查询", description = "health_holiday-通过id查询")
|
||||
//@AutoLog(value = "QH_HLT_HOLIDAY-通过id查询")
|
||||
@Operation(summary = "QH_HLT_HOLIDAY-通过id查询", description = "QH_HLT_HOLIDAY-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<HealthHoliday> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
HealthHoliday healthHoliday = healthHolidayService.getById(id);
|
||||
@@ -140,10 +140,10 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param request
|
||||
* @param healthHoliday
|
||||
*/
|
||||
@RequiresPermissions("system:health_holiday:exportXls")
|
||||
@RequiresPermissions("system:QH_HLT_HOLIDAY:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, HealthHoliday healthHoliday) {
|
||||
return super.exportXls(request, healthHoliday, HealthHoliday.class, "health_holiday");
|
||||
return super.exportXls(request, healthHoliday, HealthHoliday.class, "QH_HLT_HOLIDAY");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -153,7 +153,7 @@ public class HealthHolidayController extends JeecgController<HealthHoliday, IHea
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:health_holiday:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_HOLIDAY:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, HealthHoliday.class);
|
||||
|
||||
+22
-22
@@ -30,12 +30,12 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description: health_user_doctor_ex
|
||||
* @Description: QH_HLT_DOCTOR_EX
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "health_user_doctor_ex")
|
||||
@Tag(name = "QH_HLT_DOCTOR_EX")
|
||||
@RestController
|
||||
@RequestMapping("/sys/healthUserDoctorEx")
|
||||
@Slf4j
|
||||
@@ -62,9 +62,9 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_user_doctor_ex-分页列表查询")
|
||||
@Operation(summary = "health_user_doctor_ex-分页列表查询", description = "health_user_doctor_ex-分页列表查询")
|
||||
@RequiresPermissions("system:health_user_doctor_ex:list")
|
||||
//@AutoLog(value = "QH_HLT_DOCTOR_EX-分页列表查询")
|
||||
@Operation(summary = "QH_HLT_DOCTOR_EX-分页列表查询", description = "QH_HLT_DOCTOR_EX-分页列表查询")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:list")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<HealthUserDoctorEx>> queryPageList(HealthUserDoctorEx healthUserDoctorEx,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -105,9 +105,9 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_doctor_ex-添加")
|
||||
@Operation(summary = "health_user_doctor_ex-添加", description = "health_user_doctor_ex-添加")
|
||||
@RequiresPermissions("system:health_user_doctor_ex:add")
|
||||
@AutoLog(value = "QH_HLT_DOCTOR_EX-添加")
|
||||
@Operation(summary = "QH_HLT_DOCTOR_EX-添加", description = "QH_HLT_DOCTOR_EX-添加")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody @Validated HealthUserDoctorExAndUser data) {
|
||||
|
||||
@@ -120,9 +120,9 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param healthUserDoctorEx
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_doctor_ex-编辑")
|
||||
@Operation(summary = "health_user_doctor_ex-编辑", description = "health_user_doctor_ex-编辑")
|
||||
@RequiresPermissions("system:health_user_doctor_ex:edit")
|
||||
@AutoLog(value = "QH_HLT_DOCTOR_EX-编辑")
|
||||
@Operation(summary = "QH_HLT_DOCTOR_EX-编辑", description = "QH_HLT_DOCTOR_EX-编辑")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody @Validated HealthUserDoctorExAndUser data) {
|
||||
healthUserDoctorExService.updateByIdAndUser(data);
|
||||
@@ -135,9 +135,9 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_doctor_ex-通过id删除")
|
||||
@Operation(summary = "health_user_doctor_ex-通过id删除", description = "health_user_doctor_ex-通过id删除")
|
||||
@RequiresPermissions("system:health_user_doctor_ex:delete")
|
||||
@AutoLog(value = "QH_HLT_DOCTOR_EX-通过id删除")
|
||||
@Operation(summary = "QH_HLT_DOCTOR_EX-通过id删除", description = "QH_HLT_DOCTOR_EX-通过id删除")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
healthUserDoctorExService.removeById(id);
|
||||
@@ -150,9 +150,9 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_doctor_ex-批量删除")
|
||||
@Operation(summary = "health_user_doctor_ex-批量删除", description = "health_user_doctor_ex-批量删除")
|
||||
@RequiresPermissions("system:health_user_doctor_ex:deleteBatch")
|
||||
@AutoLog(value = "QH_HLT_DOCTOR_EX-批量删除")
|
||||
@Operation(summary = "QH_HLT_DOCTOR_EX-批量删除", description = "QH_HLT_DOCTOR_EX-批量删除")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.healthUserDoctorExService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -165,8 +165,8 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_user_doctor_ex-通过id查询")
|
||||
@Operation(summary = "health_user_doctor_ex-通过id查询", description = "health_user_doctor_ex-通过id查询")
|
||||
//@AutoLog(value = "QH_HLT_DOCTOR_EX-通过id查询")
|
||||
@Operation(summary = "QH_HLT_DOCTOR_EX-通过id查询", description = "QH_HLT_DOCTOR_EX-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<Map<String, Object>> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
HealthUserDoctorEx healthUserDoctorEx = healthUserDoctorExService.getById(id);
|
||||
@@ -191,10 +191,10 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param request
|
||||
* @param healthUserDoctorEx
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_doctor_ex:exportXls")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, HealthUserDoctorEx healthUserDoctorEx) {
|
||||
return super.exportXls(request, healthUserDoctorEx, HealthUserDoctorEx.class, "health_user_doctor_ex");
|
||||
return super.exportXls(request, healthUserDoctorEx, HealthUserDoctorEx.class, "QH_HLT_DOCTOR_EX");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -204,7 +204,7 @@ public class HealthUserDoctorExController extends JeecgController<HealthUserDoct
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_doctor_ex:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_DOCTOR_EX:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, HealthUserDoctorEx.class);
|
||||
|
||||
+12
-12
@@ -202,7 +202,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
*/
|
||||
@AutoLog(value = "员工-添加")
|
||||
@Operation(summary = "员工-添加", description = "员工-添加")
|
||||
@RequiresPermissions("system:health_user_employee_ex:add")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody @Validated UserEmployee userEmployee) {
|
||||
return healthUserEmployeeExService.addUserInfo(userEmployee);
|
||||
@@ -211,7 +211,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
/**
|
||||
* 添加部门管理员
|
||||
*/
|
||||
// @RequiresPermissions("system:health_user_employee_ex:add_depart_manager")
|
||||
// @RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:add_depart_manager")
|
||||
@PostMapping(value = "/addDepartManager")
|
||||
public Result<String> addDepartManager(@RequestBody @Validated UserEmployee userEmployee) {
|
||||
// 密码解密
|
||||
@@ -241,7 +241,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
*/
|
||||
@AutoLog(value = "员工-编辑")
|
||||
@Operation(summary = "员工-编辑", description = "员工-编辑")
|
||||
@RequiresPermissions("system:health_user_employee_ex:edit")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody UserEmployee userEmployee) {
|
||||
//获取登录人信息
|
||||
@@ -270,7 +270,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
*/
|
||||
@AutoLog(value = "员工-通过id删除")
|
||||
@Operation(summary = "员工-通过id删除", description = "员工-通过id删除")
|
||||
@RequiresPermissions("system:health_user_employee_ex:delete")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
SysUser user = sysUserService.selectUserInfoById(id);
|
||||
@@ -300,7 +300,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
*/
|
||||
@AutoLog(value = "员工-批量删除")
|
||||
@Operation(summary = "员工-批量删除", description = "员工-批量删除")
|
||||
@RequiresPermissions("system:health_user_employee_ex:deleteBatch")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
List<String> idList = Arrays.asList(ids.split(","));
|
||||
@@ -345,7 +345,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
* @param request
|
||||
* @param userFilter
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_employee_ex:exportXls")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
// public ModelAndView exportXls(HttpServletRequest request, HealthUserEmployeeEx healthUserEmployeeEx) {
|
||||
// return super.exportXls(request, healthUserEmployeeEx, HealthUserEmployeeEx.class, "员工");
|
||||
@@ -459,7 +459,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_employee_ex:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
//判断是否有正在执行中的任务
|
||||
@@ -488,7 +488,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
return Result.OK("员工信息数据导入成功!");
|
||||
}
|
||||
|
||||
@RequiresPermissions("system:health_user_employee_ex:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:importExcel")
|
||||
@RequestMapping(value = "/checkUser", method = RequestMethod.POST)
|
||||
public Result<?> checkUserData(@RequestParam String infoId) {
|
||||
CommonImports imports = commonImportsService.getById(infoId);
|
||||
@@ -502,7 +502,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
return Result.OK("开始校验");
|
||||
}
|
||||
|
||||
@RequiresPermissions("system:health_user_employee_ex:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:importExcel")
|
||||
@RequestMapping(value = "/updateUser", method = RequestMethod.POST)
|
||||
public Result<?> updateUserData(@RequestParam String infoId) {
|
||||
CommonImports imports = commonImportsService.getById(infoId);
|
||||
@@ -542,7 +542,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
return mv;
|
||||
}
|
||||
|
||||
@RequiresPermissions("system:health_user_employee_ex:importDepartExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:importDepartExcel")
|
||||
@PostMapping("/importDepartExcel")
|
||||
public Result<?> importDepartExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
//判断是否有正在执行中的任务
|
||||
@@ -571,7 +571,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
return Result.OK("员工部门更新信息数据导入成功!");
|
||||
}
|
||||
|
||||
@RequiresPermissions("system:health_user_employee_ex:importDepartExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:importDepartExcel")
|
||||
@RequestMapping(value = "/checkDepart", method = RequestMethod.POST)
|
||||
public Result<?> checkDepartData(@RequestParam String infoId) {
|
||||
CommonImports imports = commonImportsService.getById(infoId);
|
||||
@@ -585,7 +585,7 @@ public class HealthUserEmployeeExController extends JeecgController<HealthUserEm
|
||||
return Result.OK("开始校验");
|
||||
}
|
||||
|
||||
@RequiresPermissions("system:health_user_employee_ex:importDepartExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_EMPLOYEE_EX:importDepartExcel")
|
||||
@RequestMapping(value = "/updateDepart", method = RequestMethod.POST)
|
||||
public Result<?> updateDepartData(@RequestParam String infoId) {
|
||||
CommonImports imports = commonImportsService.getById(infoId);
|
||||
|
||||
+21
-21
@@ -38,12 +38,12 @@ import java.util.List;
|
||||
/**
|
||||
* 操作人员
|
||||
*
|
||||
* @Description: health_user_operator_ex
|
||||
* @Description: QH_HLT_USER_OPERATOR_EX
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "health_user_operator_ex")
|
||||
@Tag(name = "QH_HLT_USER_OPERATOR_EX")
|
||||
@RestController
|
||||
@RequestMapping("/sys/healthUserOperatorEx")
|
||||
@Slf4j
|
||||
@@ -69,10 +69,10 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_user_operator_ex-分页列表查询")
|
||||
//@AutoLog(value = "QH_HLT_USER_OPERATOR_EX-分页列表查询")
|
||||
@Operation(summary = "操作人员", description = "操作人员")
|
||||
@GetMapping(value = "/list")
|
||||
//@RequiresPermissions("system:health_user_operator_ex:list")
|
||||
//@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:list")
|
||||
public Result<IPage<HealthUserOperatorEx>> queryPageList(HealthUserOperatorEx healthUserOperatorEx,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||
@@ -159,8 +159,8 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "专业人员添加")
|
||||
@Operation(summary = "health_user_operator_ex-添加", description = "health_user_operator_ex-添加")
|
||||
@RequiresPermissions("system:health_user_operator_ex:add")
|
||||
@Operation(summary = "QH_HLT_USER_OPERATOR_EX-添加", description = "QH_HLT_USER_OPERATOR_EX-添加")
|
||||
@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody @Validated HealthUserOperatorExAndUser data) {
|
||||
String key = RSAEncryptUtils.decrypt1(data.getSysUserModel().getPassword(), CommonConstant.PRIVATE_KEY);
|
||||
@@ -174,7 +174,7 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
|
||||
|
||||
@AutoLog(value = "操作人员添加")
|
||||
@Operation(summary = "health_user_operator_ex-添加", description = "health_user_operator_ex-添加")
|
||||
@Operation(summary = "QH_HLT_USER_OPERATOR_EX-添加", description = "QH_HLT_USER_OPERATOR_EX-添加")
|
||||
@RequiresPermissions("system:health_operator_ex:add")
|
||||
@PostMapping(value = "/addOpertor")
|
||||
public Result<String> addOpertor(@RequestBody @Validated HealthUserOperatorExAndUser data) {
|
||||
@@ -194,9 +194,9 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_operator_ex-编辑")
|
||||
@Operation(summary = "health_user_operator_ex-编辑", description = "health_user_operator_ex-编辑")
|
||||
@RequiresPermissions("system:health_user_operator_ex:edit")
|
||||
@AutoLog(value = "QH_HLT_USER_OPERATOR_EX-编辑")
|
||||
@Operation(summary = "QH_HLT_USER_OPERATOR_EX-编辑", description = "QH_HLT_USER_OPERATOR_EX-编辑")
|
||||
@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody @Validated HealthUserOperatorExAndUser data) {
|
||||
|
||||
@@ -219,9 +219,9 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_operator_ex-通过id删除")
|
||||
@Operation(summary = "health_user_operator_ex-通过id删除", description = "health_user_operator_ex-通过id删除")
|
||||
@RequiresPermissions("system:health_user_operator_ex:delete")
|
||||
@AutoLog(value = "QH_HLT_USER_OPERATOR_EX-通过id删除")
|
||||
@Operation(summary = "QH_HLT_USER_OPERATOR_EX-通过id删除", description = "QH_HLT_USER_OPERATOR_EX-通过id删除")
|
||||
@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
HealthUserOperatorEx healthUserOperatorEx = healthUserOperatorExService.getById(id);
|
||||
@@ -240,9 +240,9 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_operator_ex-批量删除")
|
||||
@Operation(summary = "health_user_operator_ex-批量删除", description = "health_user_operator_ex-批量删除")
|
||||
@RequiresPermissions("system:health_user_operator_ex:deleteBatch")
|
||||
@AutoLog(value = "QH_HLT_USER_OPERATOR_EX-批量删除")
|
||||
@Operation(summary = "QH_HLT_USER_OPERATOR_EX-批量删除", description = "QH_HLT_USER_OPERATOR_EX-批量删除")
|
||||
@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
List<HealthUserOperatorEx> list = this.healthUserOperatorExService.listByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -259,8 +259,8 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_user_operator_ex-通过id查询")
|
||||
@Operation(summary = "health_user_operator_ex-通过id查询", description = "health_user_operator_ex-通过id查询")
|
||||
//@AutoLog(value = "QH_HLT_USER_OPERATOR_EX-通过id查询")
|
||||
@Operation(summary = "QH_HLT_USER_OPERATOR_EX-通过id查询", description = "QH_HLT_USER_OPERATOR_EX-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<HealthUserOperatorExAndUser> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
|
||||
@@ -289,10 +289,10 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param request
|
||||
* @param healthUserOperatorEx
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_operator_ex:exportXls")
|
||||
@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, HealthUserOperatorEx healthUserOperatorEx) {
|
||||
return super.exportXls(request, healthUserOperatorEx, HealthUserOperatorEx.class, "health_user_operator_ex");
|
||||
return super.exportXls(request, healthUserOperatorEx, HealthUserOperatorEx.class, "QH_HLT_USER_OPERATOR_EX");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -302,7 +302,7 @@ public class HealthUserOperatorExController extends JeecgController<HealthUserOp
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_operator_ex:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_OPERATOR_EX:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, HealthUserOperatorEx.class);
|
||||
|
||||
+22
-22
@@ -28,12 +28,12 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: health_user_station_ex
|
||||
* @Description: QH_HLT_USER_STATION_EX
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "health_user_station_ex")
|
||||
@Tag(name = "QH_HLT_USER_STATION_EX")
|
||||
@RestController
|
||||
@RequestMapping("/sys/healthUserStationEx")
|
||||
@Slf4j
|
||||
@@ -63,10 +63,10 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_station_ex-分页列表查询")
|
||||
@Operation(summary = "health_user_station_ex-分页列表查询", description = "health_user_station_ex-分页列表查询")
|
||||
@AutoLog(value = "QH_HLT_USER_STATION_EX-分页列表查询")
|
||||
@Operation(summary = "QH_HLT_USER_STATION_EX-分页列表查询", description = "QH_HLT_USER_STATION_EX-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
@RequiresPermissions("system:health_user_station_ex:list")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:list")
|
||||
public Result<IPage<HealthUserStationEx>> queryPageList(HealthUserStationEx healthUserStationEx,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@RequestParam(name = "pageSize", defaultValue = "10") Integer pageSize,
|
||||
@@ -83,9 +83,9 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param healthUserStationEx
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_station_ex-添加")
|
||||
@Operation(summary = "health_user_station_ex-添加", description = "health_user_station_ex-添加")
|
||||
@RequiresPermissions("system:health_user_station_ex:add")
|
||||
@AutoLog(value = "QH_HLT_USER_STATION_EX-添加")
|
||||
@Operation(summary = "QH_HLT_USER_STATION_EX-添加", description = "QH_HLT_USER_STATION_EX-添加")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody @Validated HealthUserStationExAndUser data) {
|
||||
String key = RSAEncryptUtils.decrypt1(data.getSysUserModel().getPassword(), CommonConstant.PRIVATE_KEY);
|
||||
@@ -104,9 +104,9 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param healthUserStationEx
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_station_ex-编辑")
|
||||
@Operation(summary = "health_user_station_ex-编辑", description = "health_user_station_ex-编辑")
|
||||
@RequiresPermissions("system:health_user_station_ex:edit")
|
||||
@AutoLog(value = "QH_HLT_USER_STATION_EX-编辑")
|
||||
@Operation(summary = "QH_HLT_USER_STATION_EX-编辑", description = "QH_HLT_USER_STATION_EX-编辑")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody HealthUserStationExAndUser healthUserStationExAndUser) {
|
||||
healthUserStationExService.updateByIdAndUser(healthUserStationExAndUser);
|
||||
@@ -119,9 +119,9 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_station_ex-通过id删除")
|
||||
@Operation(summary = "health_user_station_ex-通过id删除", description = "health_user_station_ex-通过id删除")
|
||||
@RequiresPermissions("system:health_user_station_ex:delete")
|
||||
@AutoLog(value = "QH_HLT_USER_STATION_EX-通过id删除")
|
||||
@Operation(summary = "QH_HLT_USER_STATION_EX-通过id删除", description = "QH_HLT_USER_STATION_EX-通过id删除")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
healthUserStationExService.removeById(id);
|
||||
@@ -136,9 +136,9 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "health_user_station_ex-批量删除")
|
||||
@Operation(summary = "health_user_station_ex-批量删除", description = "health_user_station_ex-批量删除")
|
||||
@RequiresPermissions("system:health_user_station_ex:deleteBatch")
|
||||
@AutoLog(value = "QH_HLT_USER_STATION_EX-批量删除")
|
||||
@Operation(summary = "QH_HLT_USER_STATION_EX-批量删除", description = "QH_HLT_USER_STATION_EX-批量删除")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.healthUserStationExService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -151,8 +151,8 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "health_user_station_ex-通过id查询")
|
||||
@Operation(summary = "health_user_station_ex-通过id查询", description = "health_user_station_ex-通过id查询")
|
||||
//@AutoLog(value = "QH_HLT_USER_STATION_EX-通过id查询")
|
||||
@Operation(summary = "QH_HLT_USER_STATION_EX-通过id查询", description = "QH_HLT_USER_STATION_EX-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<HealthUserStationExAndUser> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
HealthUserStationExAndUser result = healthUserStationExService.getByIdAndUser(id);
|
||||
@@ -168,10 +168,10 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param request
|
||||
* @param healthUserStationEx
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_station_ex:exportXls")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, HealthUserStationEx healthUserStationEx) {
|
||||
return super.exportXls(request, healthUserStationEx, HealthUserStationEx.class, "health_user_station_ex");
|
||||
return super.exportXls(request, healthUserStationEx, HealthUserStationEx.class, "QH_HLT_USER_STATION_EX");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -181,7 +181,7 @@ public class HealthUserStationExController extends JeecgController<HealthUserSta
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:health_user_station_ex:importExcel")
|
||||
@RequiresPermissions("system:QH_HLT_USER_STATION_EX:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, HealthUserStationEx.class);
|
||||
|
||||
+1
-1
@@ -336,7 +336,7 @@ public class SysAnnouncementController {
|
||||
//新注册用户不看结束通知
|
||||
querySaWrapper.ge(SysAnnouncement::getEndTime, sysUser.getCreateTime());
|
||||
//update-begin--Author:liusq Date:20210108 for:[JT-424] 【开源issue】bug处理--------------------
|
||||
querySaWrapper.notInSql(SysAnnouncement::getId, "select annt_id from sys_announcement_send where user_id='" + userId + "'");
|
||||
querySaWrapper.notInSql(SysAnnouncement::getId, "select annt_id from QH_SYS_ANNOUNCEMENT_SEND where user_id='" + userId + "'");
|
||||
//update-begin--Author:liusq Date:20210108 for: [JT-424] 【开源issue】bug处理--------------------
|
||||
List<SysAnnouncement> announcements = sysAnnouncementService.list(querySaWrapper);
|
||||
if (announcements.size() > 0) {
|
||||
|
||||
+6
-6
@@ -60,7 +60,7 @@ public class SysBannerController extends JeecgController<SysBanner, ISysBannerSe
|
||||
*/
|
||||
@AutoLog(value = "轮播图-添加")
|
||||
@Operation(summary = "轮播图-添加", description = "轮播图-添加")
|
||||
@RequiresPermissions("system:sys_banner:add")
|
||||
@RequiresPermissions("system:QH_SYS_BANNER:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysBanner sysBanner) {
|
||||
sysBannerService.save(sysBanner);
|
||||
@@ -75,7 +75,7 @@ public class SysBannerController extends JeecgController<SysBanner, ISysBannerSe
|
||||
*/
|
||||
@AutoLog(value = "轮播图-编辑")
|
||||
@Operation(summary = "轮播图-编辑", description = "轮播图-编辑")
|
||||
@RequiresPermissions("system:sys_banner:edit")
|
||||
@RequiresPermissions("system:QH_SYS_BANNER:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysBanner sysBanner) {
|
||||
sysBannerService.updateById(sysBanner);
|
||||
@@ -90,7 +90,7 @@ public class SysBannerController extends JeecgController<SysBanner, ISysBannerSe
|
||||
*/
|
||||
@AutoLog(value = "轮播图-通过id删除")
|
||||
@Operation(summary = "轮播图-通过id删除", description = "轮播图-通过id删除")
|
||||
@RequiresPermissions("system:sys_banner:delete")
|
||||
@RequiresPermissions("system:QH_SYS_BANNER:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysBannerService.removeById(id);
|
||||
@@ -105,7 +105,7 @@ public class SysBannerController extends JeecgController<SysBanner, ISysBannerSe
|
||||
*/
|
||||
@AutoLog(value = "轮播图-批量删除")
|
||||
@Operation(summary = "轮播图-批量删除", description = "轮播图-批量删除")
|
||||
@RequiresPermissions("system:sys_banner:deleteBatch")
|
||||
@RequiresPermissions("system:QH_SYS_BANNER:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysBannerService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -135,7 +135,7 @@ public class SysBannerController extends JeecgController<SysBanner, ISysBannerSe
|
||||
* @param request
|
||||
* @param sysBanner
|
||||
*/
|
||||
@RequiresPermissions("system:sys_banner:exportXls")
|
||||
@RequiresPermissions("system:QH_SYS_BANNER:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysBanner sysBanner) {
|
||||
return super.exportXls(request, sysBanner, SysBanner.class, "轮播图");
|
||||
@@ -148,7 +148,7 @@ public class SysBannerController extends JeecgController<SysBanner, ISysBannerSe
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_banner:importExcel")
|
||||
@RequiresPermissions("system:QH_SYS_BANNER:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysBanner.class);
|
||||
|
||||
+6
-6
@@ -166,7 +166,7 @@ public class SysCommentController extends JeecgController<SysComment, ISysCommen
|
||||
* @return
|
||||
*/
|
||||
@Operation(summary = "系统评论回复表-添加", description = "系统评论回复表-添加")
|
||||
//@RequiresPermissions("com.renkang:sys_comment:add")
|
||||
//@RequiresPermissions("com.renkang:QH_SYS_COMMENT:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysComment sysComment) {
|
||||
sysCommentService.save(sysComment);
|
||||
@@ -181,7 +181,7 @@ public class SysCommentController extends JeecgController<SysComment, ISysCommen
|
||||
*/
|
||||
//@AutoLog(value = "系统评论回复表-编辑")
|
||||
@Operation(summary = "系统评论回复表-编辑", description = "系统评论回复表-编辑")
|
||||
//@RequiresPermissions("com.renkang:sys_comment:edit")
|
||||
//@RequiresPermissions("com.renkang:QH_SYS_COMMENT:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysComment sysComment) {
|
||||
sysCommentService.updateById(sysComment);
|
||||
@@ -196,7 +196,7 @@ public class SysCommentController extends JeecgController<SysComment, ISysCommen
|
||||
*/
|
||||
//@AutoLog(value = "系统评论回复表-通过id删除")
|
||||
@Operation(summary = "系统评论回复表-通过id删除", description = "系统评论回复表-通过id删除")
|
||||
//@RequiresPermissions("com.renkang:sys_comment:delete")
|
||||
//@RequiresPermissions("com.renkang:QH_SYS_COMMENT:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysCommentService.removeById(id);
|
||||
@@ -211,7 +211,7 @@ public class SysCommentController extends JeecgController<SysComment, ISysCommen
|
||||
*/
|
||||
//@AutoLog(value = "系统评论回复表-批量删除")
|
||||
@Operation(summary = "系统评论回复表-批量删除", description = "系统评论回复表-批量删除")
|
||||
//@RequiresPermissions("com.renkang:sys_comment:deleteBatch")
|
||||
//@RequiresPermissions("com.renkang:QH_SYS_COMMENT:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysCommentService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -241,7 +241,7 @@ public class SysCommentController extends JeecgController<SysComment, ISysCommen
|
||||
* @param request
|
||||
* @param sysComment
|
||||
*/
|
||||
//@RequiresPermissions("com.renkang:sys_comment:exportXls")
|
||||
//@RequiresPermissions("com.renkang:QH_SYS_COMMENT:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysComment sysComment) {
|
||||
return super.exportXls(request, sysComment, SysComment.class, "系统评论回复表");
|
||||
@@ -254,7 +254,7 @@ public class SysCommentController extends JeecgController<SysComment, ISysCommen
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
//@RequiresPermissions("sys_comment:importExcel")
|
||||
//@RequiresPermissions("QH_SYS_COMMENT:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysComment.class);
|
||||
|
||||
+21
-21
@@ -22,12 +22,12 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @Description: sys_config
|
||||
* @Description: QH_SYS_CONFIG
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-25
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "sys_config")
|
||||
@Tag(name = "QH_SYS_CONFIG")
|
||||
@RestController
|
||||
@RequestMapping("/system/sysConfig")
|
||||
@Slf4j
|
||||
@@ -44,8 +44,8 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_config-分页列表查询")
|
||||
@Operation(summary = "sys_config-分页列表查询", description = "sys_config-分页列表查询")
|
||||
//@AutoLog(value = "QH_SYS_CONFIG-分页列表查询")
|
||||
@Operation(summary = "QH_SYS_CONFIG-分页列表查询", description = "QH_SYS_CONFIG-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<SysConfig>> queryPageList(SysConfig sysConfig,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -72,9 +72,9 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param sysConfig
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_config-添加")
|
||||
@Operation(summary = "sys_config-添加", description = "sys_config-添加")
|
||||
// @RequiresPermissions("system:sys_config:add")
|
||||
@AutoLog(value = "QH_SYS_CONFIG-添加")
|
||||
@Operation(summary = "QH_SYS_CONFIG-添加", description = "QH_SYS_CONFIG-添加")
|
||||
// @RequiresPermissions("system:QH_SYS_CONFIG:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysConfig sysConfig) {
|
||||
sysConfig.setDelFlag(0);
|
||||
@@ -88,9 +88,9 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param sysConfig
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_config-编辑")
|
||||
@Operation(summary = "sys_config-编辑", description = "sys_config-编辑")
|
||||
// @RequiresPermissions("system:sys_config:edit")
|
||||
@AutoLog(value = "QH_SYS_CONFIG-编辑")
|
||||
@Operation(summary = "QH_SYS_CONFIG-编辑", description = "QH_SYS_CONFIG-编辑")
|
||||
// @RequiresPermissions("system:QH_SYS_CONFIG:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysConfig sysConfig) {
|
||||
sysConfigService.updateById(sysConfig);
|
||||
@@ -103,9 +103,9 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_config-通过id删除")
|
||||
@Operation(summary = "sys_config-通过id删除", description = "sys_config-通过id删除")
|
||||
// @RequiresPermissions("system:sys_config:delete")
|
||||
@AutoLog(value = "QH_SYS_CONFIG-通过id删除")
|
||||
@Operation(summary = "QH_SYS_CONFIG-通过id删除", description = "QH_SYS_CONFIG-通过id删除")
|
||||
// @RequiresPermissions("system:QH_SYS_CONFIG:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysConfigService.removeById(id);
|
||||
@@ -118,9 +118,9 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_config-批量删除")
|
||||
@Operation(summary = "sys_config-批量删除", description = "sys_config-批量删除")
|
||||
@RequiresPermissions("system:sys_config:deleteBatch")
|
||||
@AutoLog(value = "QH_SYS_CONFIG-批量删除")
|
||||
@Operation(summary = "QH_SYS_CONFIG-批量删除", description = "QH_SYS_CONFIG-批量删除")
|
||||
@RequiresPermissions("system:QH_SYS_CONFIG:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysConfigService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -133,8 +133,8 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_config-通过id查询")
|
||||
@Operation(summary = "sys_config-通过id查询", description = "sys_config-通过id查询")
|
||||
//@AutoLog(value = "QH_SYS_CONFIG-通过id查询")
|
||||
@Operation(summary = "QH_SYS_CONFIG-通过id查询", description = "QH_SYS_CONFIG-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<SysConfig> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
SysConfig sysConfig = sysConfigService.getById(id);
|
||||
@@ -150,10 +150,10 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param request
|
||||
* @param sysConfig
|
||||
*/
|
||||
@RequiresPermissions("system:sys_config:exportXls")
|
||||
@RequiresPermissions("system:QH_SYS_CONFIG:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysConfig sysConfig) {
|
||||
return super.exportXls(request, sysConfig, SysConfig.class, "sys_config");
|
||||
return super.exportXls(request, sysConfig, SysConfig.class, "QH_SYS_CONFIG");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -163,7 +163,7 @@ public class SysConfigController extends JeecgController<SysConfig, ISysConfigSe
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_config:importExcel")
|
||||
@RequiresPermissions("system:QH_SYS_CONFIG:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysConfig.class);
|
||||
|
||||
+1
-1
@@ -166,7 +166,7 @@ public class SysDictController {
|
||||
* 获取字典数据 【接口签名验证】
|
||||
*
|
||||
* @param dictCode 字典code
|
||||
* @param dictCode 表名,文本字段,code字段 | 举例:sys_user,realname,id
|
||||
* @param dictCode 表名,文本字段,code字段 | 举例:QH_SYS_USER,realname,id
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/getDictItems/{dictCode}", method = RequestMethod.GET)
|
||||
|
||||
+6
-6
@@ -67,7 +67,7 @@ public class SysMessageRemindController extends JeecgController<SysMessageRemind
|
||||
*/
|
||||
@AutoLog(value = "消息公告-添加")
|
||||
@Operation(summary = "消息公告-添加", description = "消息公告-添加")
|
||||
// @RequiresPermissions("system:sys_message_remind:add")
|
||||
// @RequiresPermissions("system:QH_SYS_MSG_REMIND:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysMessageRemind sysMessageRemind) {
|
||||
sysMessageRemindService.save(sysMessageRemind);
|
||||
@@ -86,7 +86,7 @@ public class SysMessageRemindController extends JeecgController<SysMessageRemind
|
||||
*/
|
||||
@AutoLog(value = "消息公告-编辑")
|
||||
@Operation(summary = "消息公告-编辑", description = "消息公告-编辑")
|
||||
// @RequiresPermissions("system:sys_message_remind:edit")
|
||||
// @RequiresPermissions("system:QH_SYS_MSG_REMIND:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysMessageRemind sysMessageRemind) {
|
||||
sysMessageRemindService.updateById(sysMessageRemind);
|
||||
@@ -101,7 +101,7 @@ public class SysMessageRemindController extends JeecgController<SysMessageRemind
|
||||
*/
|
||||
@AutoLog(value = "消息公告-通过id删除")
|
||||
@Operation(summary = "消息公告-通过id删除", description = "消息公告-通过id删除")
|
||||
// @RequiresPermissions("system:sys_message_remind:delete")
|
||||
// @RequiresPermissions("system:QH_SYS_MSG_REMIND:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysMessageRemindService.removeById(id);
|
||||
@@ -116,7 +116,7 @@ public class SysMessageRemindController extends JeecgController<SysMessageRemind
|
||||
*/
|
||||
@AutoLog(value = "消息公告-批量删除")
|
||||
@Operation(summary = "消息公告-批量删除", description = "消息公告-批量删除")
|
||||
// @RequiresPermissions("system:sys_message_remind:deleteBatch")
|
||||
// @RequiresPermissions("system:QH_SYS_MSG_REMIND:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysMessageRemindService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -146,7 +146,7 @@ public class SysMessageRemindController extends JeecgController<SysMessageRemind
|
||||
* @param request
|
||||
* @param sysMessageRemind
|
||||
*/
|
||||
// @RequiresPermissions("system:sys_message_remind:exportXls")
|
||||
// @RequiresPermissions("system:QH_SYS_MSG_REMIND:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysMessageRemind sysMessageRemind) {
|
||||
return super.exportXls(request, sysMessageRemind, SysMessageRemind.class, "消息公告");
|
||||
@@ -159,7 +159,7 @@ public class SysMessageRemindController extends JeecgController<SysMessageRemind
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
// @RequiresPermissions("system:sys_message_remind:importExcel")
|
||||
// @RequiresPermissions("system:QH_SYS_MSG_REMIND:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysMessageRemind.class);
|
||||
|
||||
+21
-21
@@ -22,12 +22,12 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @Description: sys_notice
|
||||
* @Description: QH_SYS_NOTICE
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-06-06
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "sys_notice")
|
||||
@Tag(name = "QH_SYS_NOTICE")
|
||||
@RestController
|
||||
@RequestMapping("/system/sysNotice")
|
||||
@Slf4j
|
||||
@@ -44,8 +44,8 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_notice-分页列表查询")
|
||||
@Operation(summary = "sys_notice-分页列表查询", description = "sys_notice-分页列表查询")
|
||||
//@AutoLog(value = "QH_SYS_NOTICE-分页列表查询")
|
||||
@Operation(summary = "QH_SYS_NOTICE-分页列表查询", description = "QH_SYS_NOTICE-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<SysNotice>> queryPageList(SysNotice sysNotice,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -63,9 +63,9 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param sysNotice
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice-添加")
|
||||
@Operation(summary = "sys_notice-添加", description = "sys_notice-添加")
|
||||
@RequiresPermissions("system:sys_notice:add")
|
||||
@AutoLog(value = "QH_SYS_NOTICE-添加")
|
||||
@Operation(summary = "QH_SYS_NOTICE-添加", description = "QH_SYS_NOTICE-添加")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysNotice sysNotice) {
|
||||
sysNoticeService.save(sysNotice);
|
||||
@@ -78,9 +78,9 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param sysNotice
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice-编辑")
|
||||
@Operation(summary = "sys_notice-编辑", description = "sys_notice-编辑")
|
||||
@RequiresPermissions("system:sys_notice:edit")
|
||||
@AutoLog(value = "QH_SYS_NOTICE-编辑")
|
||||
@Operation(summary = "QH_SYS_NOTICE-编辑", description = "QH_SYS_NOTICE-编辑")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysNotice sysNotice) {
|
||||
sysNoticeService.updateById(sysNotice);
|
||||
@@ -93,9 +93,9 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice-通过id删除")
|
||||
@Operation(summary = "sys_notice-通过id删除", description = "sys_notice-通过id删除")
|
||||
@RequiresPermissions("system:sys_notice:delete")
|
||||
@AutoLog(value = "QH_SYS_NOTICE-通过id删除")
|
||||
@Operation(summary = "QH_SYS_NOTICE-通过id删除", description = "QH_SYS_NOTICE-通过id删除")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysNoticeService.removeById(id);
|
||||
@@ -108,9 +108,9 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice-批量删除")
|
||||
@Operation(summary = "sys_notice-批量删除", description = "sys_notice-批量删除")
|
||||
@RequiresPermissions("system:sys_notice:deleteBatch")
|
||||
@AutoLog(value = "QH_SYS_NOTICE-批量删除")
|
||||
@Operation(summary = "QH_SYS_NOTICE-批量删除", description = "QH_SYS_NOTICE-批量删除")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysNoticeService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -123,8 +123,8 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_notice-通过id查询")
|
||||
@Operation(summary = "sys_notice-通过id查询", description = "sys_notice-通过id查询")
|
||||
//@AutoLog(value = "QH_SYS_NOTICE-通过id查询")
|
||||
@Operation(summary = "QH_SYS_NOTICE-通过id查询", description = "QH_SYS_NOTICE-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<SysNotice> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
SysNotice sysNotice = sysNoticeService.getById(id);
|
||||
@@ -140,10 +140,10 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param request
|
||||
* @param sysNotice
|
||||
*/
|
||||
@RequiresPermissions("system:sys_notice:exportXls")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysNotice sysNotice) {
|
||||
return super.exportXls(request, sysNotice, SysNotice.class, "sys_notice");
|
||||
return super.exportXls(request, sysNotice, SysNotice.class, "QH_SYS_NOTICE");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -153,7 +153,7 @@ public class SysNoticeController extends JeecgController<SysNotice, ISysNoticeSe
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_notice:importExcel")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysNotice.class);
|
||||
|
||||
+21
-21
@@ -22,12 +22,12 @@ import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @Description: sys_notice_read_record
|
||||
* @Description: QH_SYS_NOTICE_READ_RECORD
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-07-11
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "sys_notice_read_record")
|
||||
@Tag(name = "QH_SYS_NOTICE_READ_RECORD")
|
||||
@RestController
|
||||
@RequestMapping("/sys/sysNoticeReadRecord")
|
||||
@Slf4j
|
||||
@@ -44,8 +44,8 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_notice_read_record-分页列表查询")
|
||||
@Operation(summary = "sys_notice_read_record-分页列表查询", description = "sys_notice_read_record-分页列表查询")
|
||||
//@AutoLog(value = "QH_SYS_NOTICE_READ_RECORD-分页列表查询")
|
||||
@Operation(summary = "QH_SYS_NOTICE_READ_RECORD-分页列表查询", description = "QH_SYS_NOTICE_READ_RECORD-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<SysNoticeReadRecord>> queryPageList(SysNoticeReadRecord sysNoticeReadRecord,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -63,9 +63,9 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param sysNoticeReadRecord
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice_read_record-添加")
|
||||
@Operation(summary = "sys_notice_read_record-添加", description = "sys_notice_read_record-添加")
|
||||
@RequiresPermissions("system:sys_notice_read_record:add")
|
||||
@AutoLog(value = "QH_SYS_NOTICE_READ_RECORD-添加")
|
||||
@Operation(summary = "QH_SYS_NOTICE_READ_RECORD-添加", description = "QH_SYS_NOTICE_READ_RECORD-添加")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE_READ_RECORD:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysNoticeReadRecord sysNoticeReadRecord) {
|
||||
sysNoticeReadRecordService.save(sysNoticeReadRecord);
|
||||
@@ -78,9 +78,9 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param sysNoticeReadRecord
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice_read_record-编辑")
|
||||
@Operation(summary = "sys_notice_read_record-编辑", description = "sys_notice_read_record-编辑")
|
||||
@RequiresPermissions("system:sys_notice_read_record:edit")
|
||||
@AutoLog(value = "QH_SYS_NOTICE_READ_RECORD-编辑")
|
||||
@Operation(summary = "QH_SYS_NOTICE_READ_RECORD-编辑", description = "QH_SYS_NOTICE_READ_RECORD-编辑")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE_READ_RECORD:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysNoticeReadRecord sysNoticeReadRecord) {
|
||||
sysNoticeReadRecordService.updateById(sysNoticeReadRecord);
|
||||
@@ -93,9 +93,9 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice_read_record-通过id删除")
|
||||
@Operation(summary = "sys_notice_read_record-通过id删除", description = "sys_notice_read_record-通过id删除")
|
||||
@RequiresPermissions("system:sys_notice_read_record:delete")
|
||||
@AutoLog(value = "QH_SYS_NOTICE_READ_RECORD-通过id删除")
|
||||
@Operation(summary = "QH_SYS_NOTICE_READ_RECORD-通过id删除", description = "QH_SYS_NOTICE_READ_RECORD-通过id删除")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE_READ_RECORD:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysNoticeReadRecordService.removeById(id);
|
||||
@@ -108,9 +108,9 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_notice_read_record-批量删除")
|
||||
@Operation(summary = "sys_notice_read_record-批量删除", description = "sys_notice_read_record-批量删除")
|
||||
@RequiresPermissions("system:sys_notice_read_record:deleteBatch")
|
||||
@AutoLog(value = "QH_SYS_NOTICE_READ_RECORD-批量删除")
|
||||
@Operation(summary = "QH_SYS_NOTICE_READ_RECORD-批量删除", description = "QH_SYS_NOTICE_READ_RECORD-批量删除")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE_READ_RECORD:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysNoticeReadRecordService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -123,8 +123,8 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_notice_read_record-通过id查询")
|
||||
@Operation(summary = "sys_notice_read_record-通过id查询", description = "sys_notice_read_record-通过id查询")
|
||||
//@AutoLog(value = "QH_SYS_NOTICE_READ_RECORD-通过id查询")
|
||||
@Operation(summary = "QH_SYS_NOTICE_READ_RECORD-通过id查询", description = "QH_SYS_NOTICE_READ_RECORD-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<SysNoticeReadRecord> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
SysNoticeReadRecord sysNoticeReadRecord = sysNoticeReadRecordService.getById(id);
|
||||
@@ -140,10 +140,10 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param request
|
||||
* @param sysNoticeReadRecord
|
||||
*/
|
||||
@RequiresPermissions("system:sys_notice_read_record:exportXls")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE_READ_RECORD:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysNoticeReadRecord sysNoticeReadRecord) {
|
||||
return super.exportXls(request, sysNoticeReadRecord, SysNoticeReadRecord.class, "sys_notice_read_record");
|
||||
return super.exportXls(request, sysNoticeReadRecord, SysNoticeReadRecord.class, "QH_SYS_NOTICE_READ_RECORD");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -153,7 +153,7 @@ public class SysNoticeReadRecordController extends JeecgController<SysNoticeRead
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_notice_read_record:importExcel")
|
||||
@RequiresPermissions("system:QH_SYS_NOTICE_READ_RECORD:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysNoticeReadRecord.class);
|
||||
|
||||
+1
-1
@@ -231,7 +231,7 @@ public class SysPermissionController {
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/getUserPermissionByToken", method = RequestMethod.GET)
|
||||
//@DynamicTable(value = DynamicTableConstant.SYS_ROLE_INDEX)
|
||||
//@DynamicTable(value = DynamicTableConstant.QH_SYS_ROLE_INDEX)
|
||||
public Result<?> getUserPermissionByToken(HttpServletRequest request) {
|
||||
Result<JSONObject> result = new Result<JSONObject>();
|
||||
try {
|
||||
|
||||
+21
-21
@@ -22,12 +22,12 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: sys_position_classify
|
||||
* @Description: QH_SYS_POSITION_CLASSIFY
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-12-06
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "sys_position_classify")
|
||||
@Tag(name = "QH_SYS_POSITION_CLASSIFY")
|
||||
@RestController
|
||||
@RequestMapping("/system/sysPositionClassify")
|
||||
@Slf4j
|
||||
@@ -44,8 +44,8 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_position_classify-分页列表查询")
|
||||
@Operation(summary = "sys_position_classify-分页列表查询", description = "sys_position_classify-分页列表查询")
|
||||
//@AutoLog(value = "QH_SYS_POSITION_CLASSIFY-分页列表查询")
|
||||
@Operation(summary = "QH_SYS_POSITION_CLASSIFY-分页列表查询", description = "QH_SYS_POSITION_CLASSIFY-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<SysPositionClassify>> queryPageList(SysPositionClassify sysPositionClassify,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -74,9 +74,9 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param sysPositionClassify
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_position_classify-添加")
|
||||
@Operation(summary = "sys_position_classify-添加", description = "sys_position_classify-添加")
|
||||
// @RequiresPermissions("system:sys_position_classify:add")
|
||||
@AutoLog(value = "QH_SYS_POSITION_CLASSIFY-添加")
|
||||
@Operation(summary = "QH_SYS_POSITION_CLASSIFY-添加", description = "QH_SYS_POSITION_CLASSIFY-添加")
|
||||
// @RequiresPermissions("system:QH_SYS_POSITION_CLASSIFY:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysPositionClassify sysPositionClassify) {
|
||||
sysPositionClassifyService.save(sysPositionClassify);
|
||||
@@ -89,9 +89,9 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param sysPositionClassify
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_position_classify-编辑")
|
||||
@Operation(summary = "sys_position_classify-编辑", description = "sys_position_classify-编辑")
|
||||
// @RequiresPermissions("system:sys_position_classify:edit")
|
||||
@AutoLog(value = "QH_SYS_POSITION_CLASSIFY-编辑")
|
||||
@Operation(summary = "QH_SYS_POSITION_CLASSIFY-编辑", description = "QH_SYS_POSITION_CLASSIFY-编辑")
|
||||
// @RequiresPermissions("system:QH_SYS_POSITION_CLASSIFY:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysPositionClassify sysPositionClassify) {
|
||||
sysPositionClassifyService.updateById(sysPositionClassify);
|
||||
@@ -104,9 +104,9 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_position_classify-通过id删除")
|
||||
@Operation(summary = "sys_position_classify-通过id删除", description = "sys_position_classify-通过id删除")
|
||||
// @RequiresPermissions("system:sys_position_classify:delete")
|
||||
@AutoLog(value = "QH_SYS_POSITION_CLASSIFY-通过id删除")
|
||||
@Operation(summary = "QH_SYS_POSITION_CLASSIFY-通过id删除", description = "QH_SYS_POSITION_CLASSIFY-通过id删除")
|
||||
// @RequiresPermissions("system:QH_SYS_POSITION_CLASSIFY:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
return sysPositionClassifyService.delete(id);
|
||||
@@ -119,9 +119,9 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_position_classify-批量删除")
|
||||
@Operation(summary = "sys_position_classify-批量删除", description = "sys_position_classify-批量删除")
|
||||
// @RequiresPermissions("system:sys_position_classify:deleteBatch")
|
||||
@AutoLog(value = "QH_SYS_POSITION_CLASSIFY-批量删除")
|
||||
@Operation(summary = "QH_SYS_POSITION_CLASSIFY-批量删除", description = "QH_SYS_POSITION_CLASSIFY-批量删除")
|
||||
// @RequiresPermissions("system:QH_SYS_POSITION_CLASSIFY:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysPositionClassifyService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -134,8 +134,8 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_position_classify-通过id查询")
|
||||
@Operation(summary = "sys_position_classify-通过id查询", description = "sys_position_classify-通过id查询")
|
||||
//@AutoLog(value = "QH_SYS_POSITION_CLASSIFY-通过id查询")
|
||||
@Operation(summary = "QH_SYS_POSITION_CLASSIFY-通过id查询", description = "QH_SYS_POSITION_CLASSIFY-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<SysPositionClassify> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
SysPositionClassify sysPositionClassify = sysPositionClassifyService.getById(id);
|
||||
@@ -151,10 +151,10 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param request
|
||||
* @param sysPositionClassify
|
||||
*/
|
||||
// @RequiresPermissions("system:sys_position_classify:exportXls")
|
||||
// @RequiresPermissions("system:QH_SYS_POSITION_CLASSIFY:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysPositionClassify sysPositionClassify) {
|
||||
return super.exportXls(request, sysPositionClassify, SysPositionClassify.class, "sys_position_classify");
|
||||
return super.exportXls(request, sysPositionClassify, SysPositionClassify.class, "QH_SYS_POSITION_CLASSIFY");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -164,7 +164,7 @@ public class SysPositionClassifyController extends JeecgController<SysPositionCl
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
// @RequiresPermissions("system:sys_position_classify:importExcel")
|
||||
// @RequiresPermissions("system:QH_SYS_POSITION_CLASSIFY:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysPositionClassify.class);
|
||||
|
||||
+3
-3
@@ -67,7 +67,7 @@ public class SysRoleIndexController extends JeecgController<SysRoleIndex, ISysRo
|
||||
@AutoLog(value = "角色首页配置-添加")
|
||||
@Operation(summary = "角色首页配置-添加", description = "角色首页配置-添加")
|
||||
@PostMapping(value = "/add")
|
||||
//@DynamicTable(value = DynamicTableConstant.SYS_ROLE_INDEX)
|
||||
//@DynamicTable(value = DynamicTableConstant.QH_SYS_ROLE_INDEX)
|
||||
public Result<?> add(@RequestBody SysRoleIndex sysRoleIndex, HttpServletRequest request) {
|
||||
sysRoleIndexService.save(sysRoleIndex);
|
||||
return Result.OK("添加成功!");
|
||||
@@ -83,7 +83,7 @@ public class SysRoleIndexController extends JeecgController<SysRoleIndex, ISysRo
|
||||
@AutoLog(value = "角色首页配置-编辑")
|
||||
@Operation(summary = "角色首页配置-编辑", description = "角色首页配置-编辑")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
//@DynamicTable(value = DynamicTableConstant.SYS_ROLE_INDEX)
|
||||
//@DynamicTable(value = DynamicTableConstant.QH_SYS_ROLE_INDEX)
|
||||
public Result<?> edit(@RequestBody SysRoleIndex sysRoleIndex, HttpServletRequest request) {
|
||||
sysRoleIndexService.updateById(sysRoleIndex);
|
||||
return Result.OK("编辑成功!");
|
||||
@@ -163,7 +163,7 @@ public class SysRoleIndexController extends JeecgController<SysRoleIndex, ISysRo
|
||||
@AutoLog(value = "角色首页配置-通过code查询")
|
||||
@Operation(summary = "角色首页配置-通过code查询", description = "角色首页配置-通过code查询")
|
||||
@GetMapping(value = "/queryByCode")
|
||||
//@DynamicTable(value = DynamicTableConstant.SYS_ROLE_INDEX)
|
||||
//@DynamicTable(value = DynamicTableConstant.QH_SYS_ROLE_INDEX)
|
||||
public Result<?> queryByCode(@RequestParam(name = "roleCode", required = true) String roleCode, HttpServletRequest request) {
|
||||
SysRoleIndex sysRoleIndex = sysRoleIndexService.getOne(new LambdaQueryWrapper<SysRoleIndex>().eq(SysRoleIndex::getRoleCode, roleCode));
|
||||
return Result.OK(sysRoleIndex);
|
||||
|
||||
+21
-21
@@ -27,12 +27,12 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: sys_user_depart_change_apply
|
||||
* @Description: QH_SYS_DEPT_CHG_APPLY
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-06-02
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "sys_user_depart_change_apply")
|
||||
@Tag(name = "QH_SYS_DEPT_CHG_APPLY")
|
||||
@RestController
|
||||
@RequestMapping("/system/sysUserDepartChangeApply")
|
||||
@Slf4j
|
||||
@@ -49,8 +49,8 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_user_depart_change_apply-分页列表查询")
|
||||
@Operation(summary = "sys_user_depart_change_apply-分页列表查询", description = "sys_user_depart_change_apply-分页列表查询")
|
||||
//@AutoLog(value = "QH_SYS_DEPT_CHG_APPLY-分页列表查询")
|
||||
@Operation(summary = "QH_SYS_DEPT_CHG_APPLY-分页列表查询", description = "QH_SYS_DEPT_CHG_APPLY-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<SysUserDepartChangeApply>> queryPageList(SysUserDepartChangeApply sysUserDepartChangeApply,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -87,7 +87,7 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param changeDepartBatch data
|
||||
* @return result
|
||||
*/
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:audit")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:audit")
|
||||
@PostMapping(value = "/auditBatch")
|
||||
public Result<String> auditBatch(@RequestBody @Validated ChangeDepartBatch changeDepartBatch) {
|
||||
try {
|
||||
@@ -105,9 +105,9 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param sysUserDepartChangeApply
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_depart_change_apply-添加")
|
||||
@Operation(summary = "sys_user_depart_change_apply-添加", description = "sys_user_depart_change_apply-添加")
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:add")
|
||||
@AutoLog(value = "QH_SYS_DEPT_CHG_APPLY-添加")
|
||||
@Operation(summary = "QH_SYS_DEPT_CHG_APPLY-添加", description = "QH_SYS_DEPT_CHG_APPLY-添加")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysUserDepartChangeApply sysUserDepartChangeApply) {
|
||||
//先判断转入及转出是否为同一个单位部门
|
||||
@@ -134,9 +134,9 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param sysUserDepartChangeApply
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_depart_change_apply-编辑")
|
||||
@Operation(summary = "sys_user_depart_change_apply-编辑", description = "sys_user_depart_change_apply-编辑")
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:edit")
|
||||
@AutoLog(value = "QH_SYS_DEPT_CHG_APPLY-编辑")
|
||||
@Operation(summary = "QH_SYS_DEPT_CHG_APPLY-编辑", description = "QH_SYS_DEPT_CHG_APPLY-编辑")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysUserDepartChangeApply sysUserDepartChangeApply) {
|
||||
sysUserDepartChangeApplyService.updateById(sysUserDepartChangeApply);
|
||||
@@ -149,9 +149,9 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_depart_change_apply-通过id删除")
|
||||
@Operation(summary = "sys_user_depart_change_apply-通过id删除", description = "sys_user_depart_change_apply-通过id删除")
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:delete")
|
||||
@AutoLog(value = "QH_SYS_DEPT_CHG_APPLY-通过id删除")
|
||||
@Operation(summary = "QH_SYS_DEPT_CHG_APPLY-通过id删除", description = "QH_SYS_DEPT_CHG_APPLY-通过id删除")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysUserDepartChangeApplyService.removeById(id);
|
||||
@@ -164,9 +164,9 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_depart_change_apply-批量删除")
|
||||
@Operation(summary = "sys_user_depart_change_apply-批量删除", description = "sys_user_depart_change_apply-批量删除")
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:deleteBatch")
|
||||
@AutoLog(value = "QH_SYS_DEPT_CHG_APPLY-批量删除")
|
||||
@Operation(summary = "QH_SYS_DEPT_CHG_APPLY-批量删除", description = "QH_SYS_DEPT_CHG_APPLY-批量删除")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysUserDepartChangeApplyService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -179,8 +179,8 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_user_depart_change_apply-通过id查询")
|
||||
@Operation(summary = "sys_user_depart_change_apply-通过id查询", description = "sys_user_depart_change_apply-通过id查询")
|
||||
//@AutoLog(value = "QH_SYS_DEPT_CHG_APPLY-通过id查询")
|
||||
@Operation(summary = "QH_SYS_DEPT_CHG_APPLY-通过id查询", description = "QH_SYS_DEPT_CHG_APPLY-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<SysUserDepartChangeApply> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
SysUserDepartChangeApply sysUserDepartChangeApply = sysUserDepartChangeApplyService.getById(id);
|
||||
@@ -197,7 +197,7 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param workNo
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:exportXls")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public Result<?> exportXls(String userName, String status,String workNo) {
|
||||
return sysUserDepartChangeApplyService.exportXls(userName, status, workNo);
|
||||
@@ -210,7 +210,7 @@ public class SysUserDepartChangeApplyController extends JeecgController<SysUserD
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_user_depart_change_apply:importExcel")
|
||||
@RequiresPermissions("system:QH_SYS_DEPT_CHG_APPLY:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysUserDepartChangeApply.class);
|
||||
|
||||
+6
-6
@@ -64,7 +64,7 @@ public class SysUserDeviceController extends JeecgController<SysUserDevice, ISys
|
||||
*/
|
||||
@AutoLog(value = "用户设备-添加")
|
||||
@Operation(summary = "用户设备-添加", description = "用户设备-添加")
|
||||
@RequiresPermissions("system:sys_user_device:add")
|
||||
@RequiresPermissions("system:QH_SYS_USER_DEVICE:add")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody SysUserDevice sysUserDevice) {
|
||||
sysUserDeviceService.save(sysUserDevice);
|
||||
@@ -79,7 +79,7 @@ public class SysUserDeviceController extends JeecgController<SysUserDevice, ISys
|
||||
*/
|
||||
@AutoLog(value = "用户设备-编辑")
|
||||
@Operation(summary = "用户设备-编辑", description = "用户设备-编辑")
|
||||
@RequiresPermissions("system:sys_user_device:edit")
|
||||
@RequiresPermissions("system:QH_SYS_USER_DEVICE:edit")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysUserDevice sysUserDevice) {
|
||||
sysUserDeviceService.updateById(sysUserDevice);
|
||||
@@ -94,7 +94,7 @@ public class SysUserDeviceController extends JeecgController<SysUserDevice, ISys
|
||||
*/
|
||||
@AutoLog(value = "用户设备-通过id删除")
|
||||
@Operation(summary = "用户设备-通过id删除", description = "用户设备-通过id删除")
|
||||
@RequiresPermissions("system:sys_user_device:delete")
|
||||
@RequiresPermissions("system:QH_SYS_USER_DEVICE:delete")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name="id",required=true) String id) {
|
||||
sysUserDeviceService.removeById(id);
|
||||
@@ -109,7 +109,7 @@ public class SysUserDeviceController extends JeecgController<SysUserDevice, ISys
|
||||
*/
|
||||
@AutoLog(value = "用户设备-批量删除")
|
||||
@Operation(summary = "用户设备-批量删除", description = "用户设备-批量删除")
|
||||
@RequiresPermissions("system:sys_user_device:deleteBatch")
|
||||
@RequiresPermissions("system:QH_SYS_USER_DEVICE:deleteBatch")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
|
||||
this.sysUserDeviceService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -139,7 +139,7 @@ public class SysUserDeviceController extends JeecgController<SysUserDevice, ISys
|
||||
* @param request
|
||||
* @param sysUserDevice
|
||||
*/
|
||||
@RequiresPermissions("system:sys_user_device:exportXls")
|
||||
@RequiresPermissions("system:QH_SYS_USER_DEVICE:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysUserDevice sysUserDevice) {
|
||||
return super.exportXls(request, sysUserDevice, SysUserDevice.class, "用户设备");
|
||||
@@ -152,7 +152,7 @@ public class SysUserDeviceController extends JeecgController<SysUserDevice, ISys
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("system:sys_user_device:importExcel")
|
||||
@RequiresPermissions("system:QH_SYS_USER_DEVICE:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysUserDevice.class);
|
||||
|
||||
+18
-18
@@ -29,12 +29,12 @@ import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description: sys_user_emergency_contact
|
||||
* @Description: QH_SYS_USR_EMERG_CONTACT
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-07-03
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Tag(name = "sys_user_emergency_contact")
|
||||
@Tag(name = "QH_SYS_USR_EMERG_CONTACT")
|
||||
@RestController
|
||||
@RequestMapping("/sys/sysUserEmergencyContact")
|
||||
@Slf4j
|
||||
@@ -54,8 +54,8 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param req
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_user_emergency_contact-分页列表查询")
|
||||
@Operation(summary = "sys_user_emergency_contact-分页列表查询", description = "sys_user_emergency_contact-分页列表查询")
|
||||
//@AutoLog(value = "QH_SYS_USR_EMERG_CONTACT-分页列表查询")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-分页列表查询", description = "QH_SYS_USR_EMERG_CONTACT-分页列表查询")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<IPage<SysUserEmergencyContact>> queryPageList(SysUserEmergencyContact sysUserEmergencyContact,
|
||||
@RequestParam(name = "pageNo", defaultValue = "1") Integer pageNo,
|
||||
@@ -80,8 +80,8 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param list
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_emergency_contact-添加")
|
||||
@Operation(summary = "sys_user_emergency_contact-添加", description = "sys_user_emergency_contact-添加")
|
||||
@AutoLog(value = "QH_SYS_USR_EMERG_CONTACT-添加")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-添加", description = "QH_SYS_USR_EMERG_CONTACT-添加")
|
||||
@PostMapping(value = "/add")
|
||||
public Result<String> add(@RequestBody List<SysUserEmergencyContact> list) {
|
||||
|
||||
@@ -107,8 +107,8 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param sysUserEmergencyContact
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_emergency_contact-编辑")
|
||||
@Operation(summary = "sys_user_emergency_contact-编辑", description = "sys_user_emergency_contact-编辑")
|
||||
@AutoLog(value = "QH_SYS_USR_EMERG_CONTACT-编辑")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-编辑", description = "QH_SYS_USR_EMERG_CONTACT-编辑")
|
||||
@RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> edit(@RequestBody SysUserEmergencyContact sysUserEmergencyContact) {
|
||||
sysUserEmergencyContactService.updateById(sysUserEmergencyContact);
|
||||
@@ -121,8 +121,8 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_emergency_contact-通过id删除")
|
||||
@Operation(summary = "sys_user_emergency_contact-通过id删除", description = "sys_user_emergency_contact-通过id删除")
|
||||
@AutoLog(value = "QH_SYS_USR_EMERG_CONTACT-通过id删除")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-通过id删除", description = "QH_SYS_USR_EMERG_CONTACT-通过id删除")
|
||||
@DeleteMapping(value = "/delete")
|
||||
public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
sysUserEmergencyContactService.removeById(id);
|
||||
@@ -135,8 +135,8 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
@AutoLog(value = "sys_user_emergency_contact-批量删除")
|
||||
@Operation(summary = "sys_user_emergency_contact-批量删除", description = "sys_user_emergency_contact-批量删除")
|
||||
@AutoLog(value = "QH_SYS_USR_EMERG_CONTACT-批量删除")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-批量删除", description = "QH_SYS_USR_EMERG_CONTACT-批量删除")
|
||||
@DeleteMapping(value = "/deleteBatch")
|
||||
public Result<String> deleteBatch(@RequestParam(name = "ids", required = true) String ids) {
|
||||
this.sysUserEmergencyContactService.removeByIds(Arrays.asList(ids.split(",")));
|
||||
@@ -149,8 +149,8 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
//@AutoLog(value = "sys_user_emergency_contact-通过id查询")
|
||||
@Operation(summary = "sys_user_emergency_contact-通过id查询", description = "sys_user_emergency_contact-通过id查询")
|
||||
//@AutoLog(value = "QH_SYS_USR_EMERG_CONTACT-通过id查询")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-通过id查询", description = "QH_SYS_USR_EMERG_CONTACT-通过id查询")
|
||||
@GetMapping(value = "/queryById")
|
||||
public Result<SysUserEmergencyContact> queryById(@RequestParam(name = "id", required = true) String id) {
|
||||
SysUserEmergencyContact sysUserEmergencyContact = sysUserEmergencyContactService.getById(id);
|
||||
@@ -160,7 +160,7 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
return Result.OK(sysUserEmergencyContact);
|
||||
}
|
||||
|
||||
@Operation(summary = "sys_user_emergency_contact-通过userId查询紧急联系人", description = "sys_user_emergency_contact-通过userId查询紧急联系人")
|
||||
@Operation(summary = "QH_SYS_USR_EMERG_CONTACT-通过userId查询紧急联系人", description = "QH_SYS_USR_EMERG_CONTACT-通过userId查询紧急联系人")
|
||||
@GetMapping(value = "/queryByUserId")
|
||||
public Result<List<SysUserEmergencyContact>> queryByUserId(@RequestParam(name = "userId", required = true) String userId) {
|
||||
LambdaQueryWrapper<SysUserEmergencyContact> queryWrapper = new LambdaQueryWrapper<>();
|
||||
@@ -180,10 +180,10 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param request
|
||||
* @param sysUserEmergencyContact
|
||||
*/
|
||||
@RequiresPermissions("org.jeecg.modules.system:sys_user_emergency_contact:exportXls")
|
||||
@RequiresPermissions("org.jeecg.modules.system:QH_SYS_USR_EMERG_CONTACT:exportXls")
|
||||
@RequestMapping(value = "/exportXls")
|
||||
public ModelAndView exportXls(HttpServletRequest request, SysUserEmergencyContact sysUserEmergencyContact) {
|
||||
return super.exportXls(request, sysUserEmergencyContact, SysUserEmergencyContact.class, "sys_user_emergency_contact");
|
||||
return super.exportXls(request, sysUserEmergencyContact, SysUserEmergencyContact.class, "QH_SYS_USR_EMERG_CONTACT");
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -193,7 +193,7 @@ public class SysUserEmergencyContactController extends JeecgController<SysUserEm
|
||||
* @param response
|
||||
* @return
|
||||
*/
|
||||
@RequiresPermissions("org.jeecg.modules.system:sys_user_emergency_contact:importExcel")
|
||||
@RequiresPermissions("org.jeecg.modules.system:QH_SYS_USR_EMERG_CONTACT:importExcel")
|
||||
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
|
||||
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
|
||||
return super.importExcel(request, response, SysUserEmergencyContact.class);
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ public class DataDepartServiceImpl implements DataDepartService {
|
||||
|
||||
@Override
|
||||
public TableInfo tableStructure() {
|
||||
List<String> tableNames = Collections.singletonList("sys_depart");
|
||||
List<String> tableNames = Collections.singletonList("QH_SYS_DEPART");
|
||||
Map<String, ColumnMetaData> columnInfo = analyzeTableManager.columnInfo(tableNames, DepartDataShow.class);
|
||||
TableCreateInfo createInfo = getTableCreateInfo();
|
||||
|
||||
|
||||
+3
-3
@@ -17,16 +17,16 @@ import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: health_consult_resource
|
||||
* @Description: QH_HLT_CONSULT_RESOURCE
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-18
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("health_consult_resource")
|
||||
@TableName("QH_HLT_CONSULT_RESOURCE")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "health_consult_resource对象", description = "health_consult_resource")
|
||||
@Schema(title = "health_consult_resource对象", description = "QH_HLT_CONSULT_RESOURCE")
|
||||
public class HealthConsultResource implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import lombok.experimental.Accessors;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
@Data
|
||||
@TableName("health_consult_resource")
|
||||
@TableName("QH_HLT_CONSULT_RESOURCE")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "医院列表", description = "医院列表")
|
||||
|
||||
+3
-3
@@ -15,16 +15,16 @@ import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: health_holiday
|
||||
* @Description: QH_HLT_HOLIDAY
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-24
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("health_holiday")
|
||||
@TableName("QH_HLT_HOLIDAY")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "health_holiday对象", description = "health_holiday")
|
||||
@Schema(title = "health_holiday对象", description = "QH_HLT_HOLIDAY")
|
||||
public class HealthHoliday implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+3
-3
@@ -13,16 +13,16 @@ import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: health_user_doctor_ex
|
||||
* @Description: QH_HLT_DOCTOR_EX
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("health_user_doctor_ex")
|
||||
@TableName("QH_HLT_DOCTOR_EX")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "health_user_doctor_ex对象", description = "health_user_doctor_ex")
|
||||
@Schema(title = "health_user_doctor_ex对象", description = "QH_HLT_DOCTOR_EX")
|
||||
public class HealthUserDoctorEx implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+3
-3
@@ -13,16 +13,16 @@ import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: health_user_operator_ex
|
||||
* @Description: QH_HLT_USER_OPERATOR_EX
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("health_user_operator_ex")
|
||||
@TableName("QH_HLT_USER_OPERATOR_EX")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "health_user_operator_ex对象", description = "health_user_operator_ex")
|
||||
@Schema(title = "health_user_operator_ex对象", description = "QH_HLT_USER_OPERATOR_EX")
|
||||
public class HealthUserOperatorEx implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+3
-3
@@ -14,16 +14,16 @@ import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: health_user_station_ex
|
||||
* @Description: QH_HLT_USER_STATION_EX
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-17
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("health_user_station_ex")
|
||||
@TableName("QH_HLT_USER_STATION_EX")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "health_user_station_ex对象", description = "health_user_station_ex")
|
||||
@Schema(title = "health_user_station_ex对象", description = "QH_HLT_USER_STATION_EX")
|
||||
public class HealthUserStationEx implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@Data
|
||||
@TableName("health_user_station_ex")
|
||||
@TableName("QH_HLT_USER_STATION_EX")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "驻场人员列表", description = "驻场人员列表")
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import java.util.Date;
|
||||
* @since 2025-04-28 13:43:53
|
||||
*/
|
||||
@Data
|
||||
@TableName("scale_height")
|
||||
@TableName("QH_SCL_HEIGHT")
|
||||
public class ScaleHeight implements ListFilter<ScaleHeight> {
|
||||
/**
|
||||
* 主键
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import java.util.Date;
|
||||
* @since 2025-05-15 15:03:16
|
||||
*/
|
||||
@Data
|
||||
@TableName("scale_personal")
|
||||
@TableName("QH_SCL_PERSONAL")
|
||||
public class ScalePersonal implements Serializable {
|
||||
private static final long serialVersionUID = 656558068844880223L;
|
||||
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import java.io.Serializable;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_announcement")
|
||||
@TableName("QH_SYS_ANNOUNCEMENT")
|
||||
public class SysAnnouncement implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import java.io.Serializable;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_announcement_send")
|
||||
@TableName("QH_SYS_ANNOUNCEMENT_SEND")
|
||||
public class SysAnnouncementSend implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_banner")
|
||||
@TableName("QH_SYS_BANNER")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "sys_banner对象", description = "轮播图")
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@ import java.io.Serializable;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_category")
|
||||
@TableName("QH_SYS_CATEGORY")
|
||||
public class SysCategory implements Serializable, Comparable<SysCategory> {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
||||
|
||||
@Data
|
||||
@TableName("sys_category")
|
||||
@TableName("QH_SYS_CATEGORY")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "科室", description = "科室")
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_check_rule")
|
||||
@TableName("QH_SYS_CHECK_RULE")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_check_rule对象", description = "编码校验规则")
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_comment")
|
||||
@TableName("QH_SYS_COMMENT")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "sys_comment对象", description = "系统评论回复表")
|
||||
|
||||
+3
-3
@@ -16,16 +16,16 @@ import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description: sys_config
|
||||
* @Description: QH_SYS_CONFIG
|
||||
* @Author: jeecg-boot
|
||||
* @Date: 2023-04-25
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_config")
|
||||
@TableName("QH_SYS_CONFIG")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "sys_config对象", description = "sys_config")
|
||||
@Schema(title = "sys_config对象", description = "QH_SYS_CONFIG")
|
||||
public class SysConfig implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
+2
@@ -2,6 +2,7 @@ package org.jeecg.modules.system.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
@@ -15,6 +16,7 @@ import java.util.Date;
|
||||
* @Description: 系统数据日志
|
||||
* @author: jeecg-boot
|
||||
*/
|
||||
@TableName("QH_SYS_DATA_LOG")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_data_source")
|
||||
@TableName("QH_SYS_DATA_SOURCE")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_data_source对象", description = "多数据源管理")
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_depart_permission")
|
||||
@TableName("QH_SYS_DEPART_PERMISSION")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_depart_permission对象", description = "部门权限表")
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_depart_role")
|
||||
@TableName("QH_SYS_DEPART_ROLE")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_depart_role对象", description = "部门角色")
|
||||
@@ -36,7 +36,7 @@ public class SysDepartRole {
|
||||
*/
|
||||
@Excel(name = "部门id", width = 15)
|
||||
@Schema(title = "部门id")
|
||||
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
||||
@Dict(dictTable = "QH_SYS_DEPART", dicText = "depart_name", dicCode = "id")
|
||||
private java.lang.String departId;
|
||||
/**
|
||||
* 部门角色名称
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_depart_role_permission")
|
||||
@TableName("QH_SYS_DEPT_ROLE_PERM")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_depart_role_permission对象", description = "部门角色权限")
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_depart_role_user")
|
||||
@TableName("QH_SYS_DEPART_ROLE_USER")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_depart_role_user对象", description = "部门角色人员信息")
|
||||
|
||||
+2
@@ -3,6 +3,7 @@ package org.jeecg.modules.system.entity;
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
@@ -18,6 +19,7 @@ import java.util.Date;
|
||||
* @Author zhangweijian
|
||||
* @since 2018-12-28
|
||||
*/
|
||||
@TableName("QH_SYS_DICT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
|
||||
+2
@@ -2,6 +2,7 @@ package org.jeecg.modules.system.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.experimental.Accessors;
|
||||
@@ -19,6 +20,7 @@ import java.util.Date;
|
||||
* @Author zhangweijian
|
||||
* @since 2018-12-28
|
||||
*/
|
||||
@TableName("QH_SYS_DICT_ITEM")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
|
||||
+2
-2
@@ -22,7 +22,7 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_files")
|
||||
@TableName("QH_SYS_FILES")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_files对象", description = "知识库-文档管理")
|
||||
@@ -50,7 +50,7 @@ public class SysFiles {
|
||||
* 创建人登录名称
|
||||
*/
|
||||
@Excel(name = "创建人登录名称", width = 15)
|
||||
@Dict(dicCode = "username", dicText = "realname", dictTable = "sys_user")
|
||||
@Dict(dicCode = "username", dicText = "realname", dictTable = "QH_SYS_USER")
|
||||
@Schema(title = "创建人登录名称")
|
||||
private String createBy;
|
||||
/**
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ import org.springframework.format.annotation.DateTimeFormat;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_fill_rule")
|
||||
@TableName("QH_SYS_FILL_RULE")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_fill_rule对象", description = "填值规则")
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_form_file")
|
||||
@TableName("QH_SYS_FORM_FILE")
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Accessors(chain = true)
|
||||
@Schema(title = "sys_form_file对象", description = "表单评论文件")
|
||||
|
||||
+1
-1
@@ -22,7 +22,7 @@ import java.util.Date;
|
||||
* @Version: V1.0
|
||||
*/
|
||||
@Data
|
||||
@TableName("sys_gateway_route")
|
||||
@TableName("QH_SYS_GATEWAY_ROUTE")
|
||||
@Accessors(chain = true)
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(title = "sys_gateway_route对象", description = "gateway路由管理")
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ import java.util.Date;
|
||||
@Builder
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@TableName(value = "sys_ios_redeem")
|
||||
@TableName("QH_SYS_IOS_REDEEM")
|
||||
public class SysIosRedeem implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
/**
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user