Просмотр исходного кода

客户信息信息流程状态 处方ID

wjj 1 день назад
Родитель
Сommit
4879538da2

+ 10 - 0
fs-service/src/main/java/com/fs/qw/domain/FsCompanyCustomer.java

@@ -107,6 +107,16 @@ public class FsCompanyCustomer extends BaseEntity {
     //口袋助理-通话状态,第三方返回的纯文字描述
     private String kdzlCallStatus;
 
+    /**
+     * 流程状态  0-待完善 1-待开方 2-开方中 3-待审核 4-已开方 5-已拒方 6-已完成
+     */
+    private Integer processStatus;
+
+    /**
+     * 处方ID
+     */
+    private Long prescribeId;
+
     //以下字段(非数据库字段,用于接收查询参数)
 
     /*** 认领号码*/

+ 10 - 1
fs-service/src/main/resources/mapper/qw/FsCompanyCustomerMapper.xml

@@ -35,6 +35,8 @@
         <result property="kdzlAddWechatStatus" column="kdzl_add_wechat_status" />
         <result property="kdzlMakeStatus"      column="kdzl_make_status"      />
         <result property="kdzlCallStatus"      column="kdzl_call_status"      />
+        <result property="processStatus"       column="process_status"       />
+        <result property="prescribeId"         column="prescribe_id"         />
     </resultMap>
 
     <sql id="selectFsCompanyCustomerVo">
@@ -44,7 +46,8 @@
                create_by, create_time, update_by, update_time, remark, del_flag, import_member_id,
                buy_count, claim_status,
                complete_status, dept_id, dept_name,
-               kdzl_add_wechat_status, kdzl_make_status, kdzl_call_status
+               kdzl_add_wechat_status, kdzl_make_status, kdzl_call_status,
+               process_status, prescribe_id
         from fs_company_customer
     </sql>
 
@@ -222,6 +225,8 @@
             <if test="kdzlAddWechatStatus != null">kdzl_add_wechat_status,</if>
             <if test="kdzlMakeStatus != null">kdzl_make_status,</if>
             <if test="kdzlCallStatus != null">kdzl_call_status,</if>
+            <if test="processStatus != null">process_status,</if>
+            <if test="prescribeId != null">prescribe_id,</if>
             create_time
         </trim>
         <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -251,6 +256,8 @@
             <if test="kdzlAddWechatStatus != null">#{kdzlAddWechatStatus},</if>
             <if test="kdzlMakeStatus != null">#{kdzlMakeStatus},</if>
             <if test="kdzlCallStatus != null">#{kdzlCallStatus},</if>
+            <if test="processStatus != null">#{processStatus},</if>
+            <if test="prescribeId != null">#{prescribeId},</if>
             sysdate()
         </trim>
     </insert>
@@ -300,6 +307,8 @@
             <if test="kdzlAddWechatStatus != null">kdzl_add_wechat_status = #{kdzlAddWechatStatus},</if>
             <if test="kdzlMakeStatus != null">kdzl_make_status = #{kdzlMakeStatus},</if>
             <if test="kdzlCallStatus != null">kdzl_call_status = #{kdzlCallStatus},</if>
+            <if test="processStatus != null">process_status = #{processStatus},</if>
+            <if test="prescribeId != null">prescribe_id = #{prescribeId},</if>
             <if test="updateBy != null">update_by = #{updateBy},</if>
             update_time = sysdate()
         </set>