| | |
| | | <result column="constitution_names" property="constitutionNames" /> |
| | | <result column="symptom_name" property="symptomName" /> |
| | | <result column="tongue_feature" property="tongueFeature" /> |
| | | <result column="face_feature" property="faceFeature" /> |
| | | <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" /> |
| | |
| | | |
| | | <!-- 通用查询结果列 --> |
| | | <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,face_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> |