Merge branch 'develop' of https://gitea.gentronhealth.com/Yajentine/his into develop

This commit is contained in:
2025-12-19 14:33:17 +08:00

View File

@@ -41,10 +41,10 @@
<if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
<choose> <choose>
<when test="ew.customSqlSegment.contains('tenant_id')"> <when test="ew.customSqlSegment.contains('tenant_id')">
${ew.customSqlSegment.replaceFirst('tenant_id', 'T1.tenant_id').replaceFirst('WHERE', 'AND')} ${ew.customSqlSegment.replaceFirst('tenant_id', 'T1.tenant_id').replaceFirst('status_enum', 'T1.status_enum').replaceFirst('WHERE', 'AND')}
</when> </when>
<otherwise> <otherwise>
${ew.customSqlSegment.replaceFirst('WHERE', 'AND')} ${ew.customSqlSegment.replaceFirst('status_enum', 'T1.status_enum').replaceFirst('WHERE', 'AND')}
</otherwise> </otherwise>
</choose> </choose>
</if> </if>