浏览代码

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

guowei 2 年之前
父节点
当前提交
b87b4751fb

二进制
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,