Browse Source

返回项目ID

bfyMa
zhizhi wu 3 years ago
parent
commit
c290c9d5dc
  1. 4
      src/main/resources/application.yml
  2. 16
      src/main/resources/mapper_dao/FirstAidDao.xml

4
src/main/resources/application.yml

@ -1,4 +1,4 @@
spring:
profiles:
active: pre
include: common, util-pre
active: prod
include: common, util-prod

16
src/main/resources/mapper_dao/FirstAidDao.xml

@ -8,7 +8,7 @@
<select id="querySelf" resultType="com.ccsens.carbasics.bean.vo.PatientVo$QueryPatientList">
select a.id as firstAidId, a.name, a.gender, a.age, a.data_status as dataStatus,
a.value_type as demonstrate, a.type as caseType, r1.answer as record1, r2.answer as record2,
a.project_id as projectId, m.record_user_id as recordUserId, r3.answer as probableCase,
a.id as projectId, m.record_user_id as recordUserId, r3.answer as probableCase,
IF(r4.answer = '是',1,0) AS isJmrs,
IF(r5.answer = '是',1,0) AS isXgzl
from
@ -63,7 +63,7 @@
t_qcp_first_aid
WHERE
rec_status = 0
AND project_id = #{projectId}
AND id = #{projectId}
LIMIT 1
</select>
@ -88,7 +88,7 @@
idcard,
reported,
data_status AS dataStatus,
project_id as projectId,
id as projectId,
updated_at
FROM
t_qcp_first_aid
@ -153,7 +153,7 @@
nation,
idcard,
data_status AS dataStatus,
project_id as projectId,
id as projectId,
updated_at
FROM
t_qcp_first_aid
@ -215,13 +215,13 @@
value_type,
save_type,
data_status,
project_id,
id as project_id,
hospital_id,
operator
FROM
t_qcp_first_aid
WHERE
project_id = #{projectId}
id = #{projectId}
AND rec_status = 0
</select>
@ -233,7 +233,7 @@
age,
nation,
hospital_id,
project_id
id as project_id
FROM
t_qcp_first_aid
WHERE
@ -291,7 +291,7 @@
t.idcard,
t.reported,
t.data_status,
t.project_id,
t.id AS projectId,
t.updated_at,
t1.answer AS hospitalNumber,
t2.answer AS arriveHospitalTime,

Loading…
Cancel
Save