From 14fcda5bc8f77d6013ff057b10b19f3529a938bd Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期四, 18 九月 2025 09:00:59 +0800 Subject: [PATCH] AI对接 --- ruoyi-system/src/main/resources/mapper/system/TSysInspectionMapper.xml | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/ruoyi-system/src/main/resources/mapper/system/TSysInspectionMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TSysInspectionMapper.xml index 94f9fb8..66164fc 100644 --- a/ruoyi-system/src/main/resources/mapper/system/TSysInspectionMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/TSysInspectionMapper.xml @@ -26,6 +26,7 @@ <result column="symptom_name" property="symptomName" /> <result column="tongue_feature" property="tongueFeature" /> <result column="disease_risks" property="diseaseRisks" /> + <result column="is_pay" property="isPay" /> <result column="create_time" property="createTime" /> <result column="update_time" property="updateTime" /> <result column="create_by" property="createBy" /> @@ -35,7 +36,22 @@ <!-- 通用查询结果列 --> <sql id="Base_Column_List"> - id, app_user_id,clinic_id, inspection_info, team_code, team_name, device_code, device_name, person_name, person_sex, person_age, person_phone, person_height, person_weight, check_time, pdf_url, health_index, constitution_names, symptom_name, tongue_feature, disease_risks, create_time, update_time, create_by, update_by, disabled, create_id + id, app_user_id,clinic_id, inspection_info, team_code, team_name, device_code, device_name, person_name, + person_sex, person_age, person_phone, person_height, person_weight, check_time, pdf_url, health_index, + constitution_names, symptom_name, tongue_feature, disease_risks,is_pay, create_time, update_time, + create_by, update_by, disabled, create_id </sql> + <select id="pageList" resultType="com.ruoyi.system.vo.TSysInspectionVO"> + SELECT + <include refid="Base_Column_List"/> + FROM t_sys_inspection + <where> + <if test="query.appUserId != null and query.appUserId != ''"> + and app_user_id = #{query.appUserId} + </if> + AND disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} + </where> + ORDER BY create_time DESC + </select> </mapper> -- Gitblit v1.7.1