This commit is contained in:
2025-07-03 14:16:11 +08:00
parent 1c678b0954
commit edad34ca13
7 changed files with 36 additions and 18 deletions
@@ -11,11 +11,11 @@
(select name from t_area where id=t_caseplatform_expert.city_id) expertCityName,
t_caseplatform_expert.hospital_name expertHospitalName,
t_caseplatform_fxq_sign.sign_status signStatus,
t_caseplatform_fxq_sign.sign_link signLink
t_caseplatform_fxq_sign.sign_link_pc signLinkPc
FROM t_caseplatform_case
left join t_caseplatform_user on t_caseplatform_case.user_id = t_caseplatform_user.id
left join t_caseplatform_expert on t_caseplatform_case.expert_id = t_caseplatform_expert.id
left join t_caseplatform_fxq_sign on t_caseplatform_fxq_sign.expert_id = t_caseplatform_expert.id
left join t_caseplatform_fxq_sign on t_caseplatform_fxq_sign.expert_id = t_caseplatform_case.expert_id
<where>
<!--name-->
<if test="queryForm.name != null and queryForm.name != ''">
@@ -73,9 +73,13 @@
(select name from t_area where id=t_caseplatform_expert.prov_id) expertProvName,
(select name from t_area where id=t_caseplatform_expert.city_id) expertCityName,
t_caseplatform_expert.name expertName,t_caseplatform_expert.hospital_name expertHospitalName
t_caseplatform_fxq_sign.sign_status signStatus,
t_caseplatform_fxq_sign.sign_link_pc signLinkPc
FROM t_caseplatform_case
left join t_caseplatform_user on t_caseplatform_case.user_id = t_caseplatform_user.id
left join t_caseplatform_expert on t_caseplatform_case.expert_id = t_caseplatform_expert.id
left join t_caseplatform_fxq_sign on t_caseplatform_fxq_sign.expert_id = t_caseplatform_case.expert_id
<where>
<!--name-->
<if test="queryForm.name != null and queryForm.name != ''">
@@ -116,6 +120,10 @@
<if test="queryForm.hospitalUuid != null and queryForm.hospitalUuid != ''">
AND t_caseplatform_expert.hospital_uuid =#{queryForm.hospitalUuid}
</if>
<!-- 审核时间区间 -->
<if test="queryForm.examineTime != null and queryForm.examineTime.size == 2">
AND t_caseplatform_case.examine_time BETWEEN #{queryForm.examineTime[0]} AND #{queryForm.examineTime[1]}
</if>
</where>
</select>