表名修改:

nu_biz_nu_customer_server 改为 nu_biz_nu_customer_care_server

nu_biz_nu_customer_server_instant 改为 nu_biz_nu_customer_care_server_instant

nu_elder_tag 改为 nu_config_elder_tag

nu_directive_package 改为 nu_config_directive_package

nu_package_directive 改为 nu_config_package_directive
This commit is contained in:
1378012178@qq.com 2025-11-11 13:24:34 +08:00
parent a05a686623
commit 26b43cf04a
5 changed files with 12 additions and 12 deletions

View File

@ -36,9 +36,9 @@ public class CanAddElderTag implements Serializable {
@TableId(type = IdType.ASSIGN_ID) @TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "id") @ApiModelProperty(value = "id")
private java.lang.String id; private java.lang.String id;
/**nu_elder_tag.id*/ /**nu_config_elder_tag.id*/
@Excel(name = "nu_elder_tag.id", width = 15) @Excel(name = "nu_config_elder_tag.id", width = 15)
@ApiModelProperty(value = "nu_elder_tag.id") @ApiModelProperty(value = "nu_config_elder_tag.id")
private java.lang.String tagId; private java.lang.String tagId;
/**标签类型 tx体型标签 qx情绪标签*/ /**标签类型 tx体型标签 qx情绪标签*/
@Excel(name = "标签类型 tx体型标签 qx情绪标签", width = 15) @Excel(name = "标签类型 tx体型标签 qx情绪标签", width = 15)

View File

@ -25,7 +25,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("nu_elder_tag") @TableName("nu_config_elder_tag")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="nu_elder_tag对象", description="长者标签") @ApiModel(value="nu_elder_tag对象", description="长者标签")

View File

@ -3,6 +3,6 @@
<mapper namespace="com.nu.modules.eldertag.mapper.ElderTagMapper"> <mapper namespace="com.nu.modules.eldertag.mapper.ElderTagMapper">
<select id="allData" resultType="com.nu.modules.eldertag.entity.ElderTag"> <select id="allData" resultType="com.nu.modules.eldertag.entity.ElderTag">
select id from nu_elder_tag select id from nu_config_elder_tag
</select> </select>
</mapper> </mapper>

View File

@ -22,7 +22,7 @@ import lombok.experimental.Accessors;
* @Version: V1.0 * @Version: V1.0
*/ */
@Data @Data
@TableName("nu_directive_package") @TableName("nu_config_directive_package")
@Accessors(chain = true) @Accessors(chain = true)
@EqualsAndHashCode(callSuper = false) @EqualsAndHashCode(callSuper = false)
@ApiModel(value="nu_directive_package对象", description="服务指令包") @ApiModel(value="nu_directive_package对象", description="服务指令包")

View File

@ -75,7 +75,7 @@
</collection> </collection>
</resultMap> </resultMap>
<update id="updateTotalDurationInt"> <update id="updateTotalDurationInt">
update nu_directive_package set total_duration = #{duration} where id = #{id} update nu_config_directive_package set total_duration = #{duration} where id = #{id}
</update> </update>
<!-- 分页查询 --> <!-- 分页查询 -->
@ -142,14 +142,14 @@
cst.type_name AS cst_type_name, cst.type_name AS cst_type_name,
insTag.instruction_name AS instruction_name insTag.instruction_name AS instruction_name
FROM FROM
(SELECT * FROM nu_directive_package (SELECT * FROM nu_config_directive_package
<where> <where>
del_flag = '0' and id in del_flag = '0' and id in
<foreach collection="ids" item="item" open="(" separator="," close=")"> <foreach collection="ids" item="item" open="(" separator="," close=")">
#{item.id} #{item.id}
</foreach> </foreach>
</where>) dp </where>) dp
LEFT JOIN nu_package_directive pd ON dp.id = pd.package_id LEFT JOIN nu_config_package_directive pd ON dp.id = pd.package_id
LEFT JOIN nu_config_service_directive csd ON pd.directive_id = csd.id LEFT JOIN nu_config_service_directive csd ON pd.directive_id = csd.id
LEFT JOIN nu_directive_body_tag bdt ON csd.id = bdt.directive_id LEFT JOIN nu_directive_body_tag bdt ON csd.id = bdt.directive_id
LEFT JOIN nu_config_body_tag cdbt ON bdt.tag_id = cdbt.id LEFT JOIN nu_config_body_tag cdbt ON bdt.tag_id = cdbt.id
@ -164,7 +164,7 @@
<!-- 查询总记录数 --> <!-- 查询总记录数 -->
<select id="queryTotal" resultType="java.lang.Long"> <select id="queryTotal" resultType="java.lang.Long">
SELECT COUNT(*) SELECT COUNT(*)
FROM nu_directive_package FROM nu_config_directive_package
<where> <where>
del_flag = '0' del_flag = '0'
<if test="directivePackage.packageName != null and directivePackage.packageName != ''"> <if test="directivePackage.packageName != null and directivePackage.packageName != ''">
@ -177,11 +177,11 @@
</select> </select>
<delete id="deleteDirectives"> <delete id="deleteDirectives">
delete from nu_package_directive where package_id = #{package.id} delete from nu_config_package_directive where package_id = #{package.id}
</delete> </delete>
<insert id="saveDirectives"> <insert id="saveDirectives">
INSERT INTO nu_package_directive (package_id, directive_id, sort) INSERT INTO nu_config_package_directive (package_id, directive_id, sort)
VALUES VALUES
<foreach collection="package.getDirectives()" item="directive" separator=","> <foreach collection="package.getDirectives()" item="directive" separator=",">
(#{package.id}, #{directive.id}, #{directive.sort}) (#{package.id}, #{directive.id}, #{directive.sort})