|
@@ -45,10 +45,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="doctorRemark" column="doctor_remark" />
|
|
<result property="doctorRemark" column="doctor_remark" />
|
|
|
<result property="source" column="source" />
|
|
<result property="source" column="source" />
|
|
|
<result property="triageUserId" column="triage_user_id" />
|
|
<result property="triageUserId" column="triage_user_id" />
|
|
|
|
|
+ <result property="isUserInformation" column="is_user_information" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsInquiryOrderVo">
|
|
<sql id="selectFsInquiryOrderVo">
|
|
|
- select order_id,doctor_remark,source,triage_user_id, user_coupon_id,dept_id,company_deduct_money,company_id,company_user_id,company_user_remark,is_send_sms,package_order_id,discount_money, order_sn, title, imgs, user_id, patient_id, order_type, money, pay_money, pay_type, is_pay, doctor_id, create_time, pay_time, status, start_time, finish_time, remark, is_ping, department_id, inquiry_type, inquiry_sub_type, patient_json, is_receive, trade_no, is_audit, audit_user_id, audit_time from fs_inquiry_order
|
|
|
|
|
|
|
+ select order_id,doctor_remark,is_user_information,source,triage_user_id, user_coupon_id,dept_id,company_deduct_money,company_id,company_user_id,company_user_remark,is_send_sms,package_order_id,discount_money, order_sn, title, imgs, user_id, patient_id, order_type, money, pay_money, pay_type, is_pay, doctor_id, create_time, pay_time, status, start_time, finish_time, remark, is_ping, department_id, inquiry_type, inquiry_sub_type, patient_json, is_receive, trade_no, is_audit, audit_user_id, audit_time from fs_inquiry_order
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsInquiryOrderList" parameterType="FsInquiryOrder" resultMap="FsInquiryOrderResult">
|
|
<select id="selectFsInquiryOrderList" parameterType="FsInquiryOrder" resultMap="FsInquiryOrderResult">
|
|
@@ -80,6 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="auditUserId != null "> and audit_user_id = #{auditUserId}</if>
|
|
<if test="auditUserId != null "> and audit_user_id = #{auditUserId}</if>
|
|
|
<if test="auditTime != null "> and audit_time = #{auditTime}</if>
|
|
<if test="auditTime != null "> and audit_time = #{auditTime}</if>
|
|
|
<if test="isSendSms != null "> and is_send_sms = #{isSendSms}</if>
|
|
<if test="isSendSms != null "> and is_send_sms = #{isSendSms}</if>
|
|
|
|
|
+ <if test="isUserInformation != null "> and is_user_information = #{isUserInformation}</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
@@ -130,6 +132,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="doctorRemark != null">doctor_remark,</if>
|
|
<if test="doctorRemark != null">doctor_remark,</if>
|
|
|
<if test="source != null">source,</if>
|
|
<if test="source != null">source,</if>
|
|
|
<if test="triageUserId != null">triage_user_id,</if>
|
|
<if test="triageUserId != null">triage_user_id,</if>
|
|
|
|
|
+ <if test="isUserInformation != null">is_user_information,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="orderSn != null">#{orderSn},</if>
|
|
<if test="orderSn != null">#{orderSn},</if>
|
|
@@ -171,6 +174,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="doctorRemark != null">#{doctorRemark},</if>
|
|
<if test="doctorRemark != null">#{doctorRemark},</if>
|
|
|
<if test="source != null">#{source},</if>
|
|
<if test="source != null">#{source},</if>
|
|
|
<if test="triageUserId != null">#{triageUserId},</if>
|
|
<if test="triageUserId != null">#{triageUserId},</if>
|
|
|
|
|
+ <if test="isUserInformation != null">#{isUserInformation},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -216,6 +220,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="doctorRemark != null">doctor_remark = #{doctorRemark},</if>
|
|
<if test="doctorRemark != null">doctor_remark = #{doctorRemark},</if>
|
|
|
<if test="source != null">source = #{source},</if>
|
|
<if test="source != null">source = #{source},</if>
|
|
|
<if test="triageUserId != null">triage_user_id = #{triageUserId},</if>
|
|
<if test="triageUserId != null">triage_user_id = #{triageUserId},</if>
|
|
|
|
|
+ <if test="isUserInformation != null">is_user_information = #{isUserInformation},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where order_id = #{orderId}
|
|
where order_id = #{orderId}
|
|
|
</update>
|
|
</update>
|