|
|
@@ -37,6 +37,8 @@
|
|
|
<result property="kdzlCallStatus" column="kdzl_call_status" />
|
|
|
<result property="processStatus" column="process_status" />
|
|
|
<result property="prescribeId" column="prescribe_id" />
|
|
|
+ <result property="templateId" column="template_id" />
|
|
|
+ <result property="jsonInfo" column="json_info" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectFsCompanyCustomerVo">
|
|
|
@@ -47,7 +49,7 @@
|
|
|
buy_count, claim_status,
|
|
|
complete_status, dept_id, dept_name,
|
|
|
kdzl_add_wechat_status, kdzl_make_status, kdzl_call_status,
|
|
|
- process_status, prescribe_id
|
|
|
+ process_status, prescribe_id, template_id, json_info
|
|
|
from fs_company_customer
|
|
|
</sql>
|
|
|
|
|
|
@@ -105,6 +107,9 @@
|
|
|
<if test="kdzlCallStatus != null and kdzlCallStatus != ''">
|
|
|
and kdzl_call_status like concat('%', #{kdzlCallStatus}, '%')
|
|
|
</if>
|
|
|
+ <if test="processStatus != null">
|
|
|
+ and process_status = #{processStatus}
|
|
|
+ </if>
|
|
|
<!-- 动态排序 -->
|
|
|
<choose>
|
|
|
<when test="sortField != null and sortField != '' and sortOrder != null and sortOrder != ''">
|
|
|
@@ -227,6 +232,8 @@
|
|
|
<if test="kdzlCallStatus != null">kdzl_call_status,</if>
|
|
|
<if test="processStatus != null">process_status,</if>
|
|
|
<if test="prescribeId != null">prescribe_id,</if>
|
|
|
+ <if test="templateId != null">template_id,</if>
|
|
|
+ <if test="jsonInfo != null">json_info,</if>
|
|
|
create_time
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
@@ -258,6 +265,8 @@
|
|
|
<if test="kdzlCallStatus != null">#{kdzlCallStatus},</if>
|
|
|
<if test="processStatus != null">#{processStatus},</if>
|
|
|
<if test="prescribeId != null">#{prescribeId},</if>
|
|
|
+ <if test="templateId != null">#{templateId},</if>
|
|
|
+ <if test="jsonInfo != null">#{jsonInfo},</if>
|
|
|
sysdate()
|
|
|
</trim>
|
|
|
</insert>
|
|
|
@@ -309,6 +318,8 @@
|
|
|
<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="templateId != null">template_id = #{templateId},</if>
|
|
|
+ <if test="jsonInfo != null">json_info = #{jsonInfo},</if>
|
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
|
update_time = sysdate()
|
|
|
</set>
|