fix: 健康管理系统,首页接口代码提交。
This commit is contained in:
@@ -72,4 +72,33 @@
|
||||
order by hmb."short_name" desc
|
||||
</select>
|
||||
|
||||
<select id="selectHospitalCount" parameterType="HealthRecordDto" resultType="int">
|
||||
select
|
||||
count(distinct hospital_name)
|
||||
from
|
||||
health_doctor_record hmr
|
||||
where 1=1
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
</select>
|
||||
<select id="selectDoctorCount" parameterType="HealthRecordDto" resultType="int">
|
||||
select
|
||||
count(distinct doctor )
|
||||
from
|
||||
health_doctor_record hmr
|
||||
where 1=1
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
</select>
|
||||
|
||||
<select id="selectDistinctMedicalCount" parameterType="HealthRecordDto" resultType="int">
|
||||
select
|
||||
count(distinct medicine_id )
|
||||
from
|
||||
health_mar_record hmr
|
||||
where 1=1
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user