Bläddra i källkod

处方表增加医生建议相关字段

cgp 1 dag sedan
förälder
incheckning
bd3e32b04c

+ 1 - 1
fs-service/src/main/java/com/fs/his/dto/FsPrescribeDataDoctorQueryDto.java

@@ -10,7 +10,7 @@ public class FsPrescribeDataDoctorQueryDto {
     //处方状态 0待医生开方 1确认开方 -1医生拒方 */
     private Integer doctorConfirm;
 
-    /** 处方类型 1西药 2中药 */
+    /** 处方类型 1西药 2中药 3中药+西药处方*/
     private Integer prescribeType;
 
     /** 订单编号 */

+ 20 - 8
fs-service/src/main/java/com/fs/qw/vo/FsPrescribeDataScrmVO.java

@@ -12,7 +12,7 @@ public class FsPrescribeDataScrmVO implements Serializable {
     /** id */
     private Long prescribeId;
 
-    /** 处方类型 1西药 2中药 */
+    /** 处方类型 1西药 2中药 3中药+西药(有两种处方图片) */
     private Integer prescribeType;
 
     /** 订单ID */
@@ -63,22 +63,22 @@ public class FsPrescribeDataScrmVO implements Serializable {
     /** 肾功能是否异常(传值:是/否) */
     private String renalUnusual;
 
-    /** 是否是备孕/怀孕/哺乳期(传值:是 */
+    /** 是否是备孕/怀孕/哺乳期(传值:是/否) */
     private String isLactation;
 
     /** 患者电话 */
     private String patientTel;
 
-    /** 患者性别(传数字,1男 0⼥) */
+    /** 患者性别(1男 0⼥) */
     private Integer patientGender;
 
     /** 复诊凭证 */
     private String recordPic;
 
-    /** 处方图片地址 */
+    /** 中药处方图片地址 */
     private String prescribeImgUrl;
 
-    /** 处方图片存储地址 */
+    /** 西药处方图片地址 */
     private String prescribeImgStoreUrl;
 
     /** 拒绝原因 */
@@ -107,7 +107,7 @@ public class FsPrescribeDataScrmVO implements Serializable {
     /** 使用JSON */
     private String usageJson;
 
-    /** 备注 */
+    /** 医嘱建议 */
     private String remark;
 
     /** 店铺ID */
@@ -128,7 +128,7 @@ public class FsPrescribeDataScrmVO implements Serializable {
     /** 患者生日 */
     private String patientBirthday;
 
-    /** 制作类型 0-颗粒剂 1-膏方 */
+    /** 是否填写医生建议(0未填写,1已填写) */
     private Integer recipeType;
 
     /** 二维码图片 */
@@ -143,7 +143,7 @@ public class FsPrescribeDataScrmVO implements Serializable {
     /** 订单来源 */
     private Integer source;
 
-    /** 医生是否确认 0待医生开方 1确认开方 -1医生拒方 */
+    /** 医生是否确认 0待医生开方 1已开方待药师审核 -1医生拒方 */
     private Integer doctorConfirm;
 
     /** 医生开始操作时间(益寿缘从医生建议开始算) */
@@ -168,4 +168,16 @@ public class FsPrescribeDataScrmVO implements Serializable {
 
     /** 客户信息表id */
     private Long companyCustomerId;
+
+    /** 饮食运动建议 */
+    private String foodAndExerciseGuidance;
+
+    /** 治疗方面(诊断内容,建议治疗) */
+    private String healingAreaJson;
+
+    /** 注意禁忌 */
+    private String noteTaboos;
+
+    /** 舌诊、面诊、手诊 */
+    private String facialDiagnosis;
 }

+ 6 - 6
fs-service/src/main/resources/mapper/his/FsPrescribeDataScrmMapper.xml

@@ -137,12 +137,12 @@
         left join fs_company_customer fcc on pds.prescribe_id = fcc.prescribe_id
         <where>
             pds.doctor_id = #{doctorId}
-            <if test="prescribeType != null"> and prescribe_type = #{prescribeType}</if>
-            <if test="orderCode != null"> and order_code = #{orderCode}</if>
-            <if test="prescribeCode != null and prescribeCode != ''"> and prescribe_code = #{prescribeCode}</if>
-            <if test="patientName != null and patientName != ''"> and patient_name like concat('%', #{patientName}, '%')</if>
-            <if test="doctorId != null"> and doctor_id = #{doctorId}</if>
-            <if test="doctorConfirm != null"> and doctor_confirm = #{doctorConfirm}</if>
+            <if test="prescribeType != null"> and pds.prescribe_type = #{prescribeType}</if>
+            <if test="orderCode != null"> and pds.order_code = #{orderCode}</if>
+            <if test="prescribeCode != null and prescribeCode != ''"> and pds.prescribe_code = #{prescribeCode}</if>
+            <if test="patientName != null and patientName != ''"> and pds.patient_name like concat('%', #{patientName}, '%')</if>
+            <if test="doctorId != null"> and pds.doctor_id = #{doctorId}</if>
+            <if test="doctorConfirm != null"> and pds.doctor_confirm = #{doctorConfirm}</if>
         </where>
         order by create_time desc
     </select>