Merge branch '0418_小程序开发' of http://182.92.166.109:3000/zhuangyuanke/PostDischargePatientManage into 0418_小程序开发

This commit is contained in:
haown 2024-07-12 11:34:39 +08:00
commit e0509d1698
2 changed files with 19 additions and 2 deletions

View File

@ -109,10 +109,14 @@ public class TaskPartitionDict extends BaseEntity {
* PHONE_OUTBOUND电话外呼(默认自动人工或自动) QUESTIONNAIRE_SCALE问卷量表消息推送或人工随访
* PROPAGANDA_ARTICLE宣教文章 TEXT_REMIND文字提醒微信短信公众号
*/
@ApiModelProperty(value = "节点类型PHONE_OUTBOUND电话外呼(默认自动。人工或自动)QUESTIONNAIRE_SCALE问卷量表消息推送或人工随访\n"
+ "PROPAGANDA_ARTICLE宣教文章TEXT_REMIND文字提醒微信、短信、公众号")
@ApiModelProperty(value = "节点类型PHONE_OUTBOUND电话外呼(默认自动。人工或自动)QUESTIONNAIRE_SCALE问卷量表消息推送或人工随访PROPAGANDA_ARTICLE宣教文章TEXT_REMIND文字提醒微信、短信、公众号")
private String taskNodeType;
/**
* 应用范围;PRIVATE专用PUBLIC公共
*/
private String applyRange;
@Override
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)

View File

@ -17,6 +17,7 @@
<result property="taskPartitionContent" column="task_partition_content"/>
<result property="templateType" column="template_type"/>
<result property="taskNodeType" column="task_node_type"/>
<result property="applyRange" column="apply_range"/>
<result property="createBy" column="create_by"/>
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
@ -36,6 +37,7 @@
task_partition_content,
template_type,
task_node_type,
apply_range,
create_by,
create_time,
update_by,
@ -73,6 +75,9 @@
<if test="templateType != null and templateType != ''">
and template_type = #{templateType}
</if>
<if test="applyRange != null and applyRange != ''">
and apply_range = #{applyRange}
</if>
</where>
order by task_partition_sort
</select>
@ -117,6 +122,8 @@
</if>
<if test="templateType != null">template_type,
</if>
<if test="applyRange != null">apply_range,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="taskTypeId != null">#{taskTypeId},
@ -149,6 +156,8 @@
</if>
<if test="templateType != null">#{templateType},
</if>
<if test="applyRange != null">#{applyRange},
</if>
</trim>
</insert>
@ -200,6 +209,9 @@
<if test="taskNodeType != null">task_node_type =
#{taskNodeType},
</if>
<if test="applyRange != null">apply_range =
#{applyRange},
</if>
</trim>
where id = #{id}
</update>
@ -228,6 +240,7 @@
tpd.second_classify_describe,
tpd.execution_time,
tpd.task_partition_sort,
tpd.apply_range,
(SELECT count(1) from label_field_info where task_partition_dict_id = tpd.id) taskPartitionRemark
from task_partition_dict tpd
<where>