Browse Source

处方分析(新都)- 增加recId

guowei 2 years ago
parent
commit
b87b4751fb

BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/controller/statistics/vo/PrescriptionStatisticsVO.java


+ 2 - 0
cbkj_web_api/src/main/resources/mappers/statistics/PrescriptionStatisticsMapper.xml

@@ -14,6 +14,7 @@
         <result column="REC_GENDER" jdbcType="VARCHAR" property="patientGender"/>
         <result column="REC_AGE" jdbcType="VARCHAR" property="patientAge"/>
         <result column="PRE_TIME" jdbcType="VARCHAR" property="preTime"/>
+        <result column="REC_ID" jdbcType="VARCHAR" property="recId"/>
         <result column="PRE_ID" jdbcType="VARCHAR" property="preId"/>
         <result column="PRE_NO" jdbcType="VARCHAR" property="preNo"/>
         <result column="DIS_ID" jdbcType="VARCHAR" property="disId"/>
@@ -64,6 +65,7 @@
         case r.REC_GENDER when 'F' then '女' when 'M' then '男' end REC_GENDER,
         concat(r.REC_AGE1, r.REC_AGEUNIT1, r.REC_AGE2, r.REC_AGEUNIT2) REC_AGE,
         date_format(p.PRE_TIME, '%Y-%m-%d %H:%i:%s') PRE_TIME,
+        p.REC_ID,
         p.PRE_ID,
         p.PRE_NO,
         r.DIS_ID,