Lihong@123456 5 years ago
parent
commit
54af78414f
  1. 4
      wisdomcar/src/main/resources/mapper_dao/StatisticsDao.xml

4
wisdomcar/src/main/resources/mapper_dao/StatisticsDao.xml

@ -44,7 +44,7 @@ FROM
<select id="getPointTimeHospital" parameterType="java.util.Map" resultType="com.ccsens.wisdomcar.bean.vo.StatisticsVo$PointTime">
select
ts.`name`,
MIN(tfas.duration)
MIN(tfas.duration) as time
from
t_first_aid_standard tfas left JOIN t_step ts on tfas.step_id = ts.id
where tfas.hospital_id=0 and tfas.type=1 and tfas.rec_status = 0 and ts.rec_status=0
@ -54,7 +54,7 @@ FROM
<select id="getPointTimeInternation" parameterType="java.util.Map" resultType="com.ccsens.wisdomcar.bean.vo.StatisticsVo$PointTime">
select
ts.`name`,
MIN(tfas.duration)
MIN(tfas.duration) as time
from
t_first_aid_standard tfas left JOIN t_step ts on tfas.step_id = ts.id
where tfas.hospital_id=0 and tfas.type=0 and tfas.rec_status = 0 and ts.rec_status=0

Loading…
Cancel
Save