修改承载力xml文件

This commit is contained in:
lSun 2025-12-16 10:45:23 +08:00
parent 165ad3c716
commit 86254acc19
4 changed files with 16 additions and 16 deletions

View File

@ -113,11 +113,11 @@
order by resource_set_id desc
</select>
<update bns_czl_id="updateTeamSetStatus" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.ResourceSetBean" >
<update id="updateTeamSetStatus" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.ResourceSetBean" >
update bns_czl_tm_resource_set set is_enable = #{isEnable} where resource_set_id = #{resourceSetId}
</update>
<update bns_czl_id="updateResourceSet" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.ResourceSetBean">
<update id="updateResourceSet" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.ResourceSetBean">
update bns_czl_tm_resource_set
<set>
<if test="resourceName !=null and resourceName !=''">
@ -141,19 +141,19 @@
</update>
<update bns_czl_id="updateResourceManage" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.ResourceManage">
<update id="updateResourceManage" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.ResourceManage">
update bns_czl_tm_resource_manage set manage_num = #{manageNum}
where manage_id = #{manageId}
</update>
<update bns_czl_id="delTeamSet" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.StringDataBean">
<update id="delTeamSet" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.StringDataBean">
update bns_czl_tm_resource_set set is_active = '0' where resource_set_id = #{resourceSetId};
update bns_czl_tm_resource_manage set is_active = '0'where manage_resource_id = #{resourceSetId};
update bns_czl_tm_team_person set is_active = '0'where manage_resource_id = #{resourceSetId};
</update>
<update bns_czl_id="delDataDict" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.StringDataBean">
<update id="delDataDict" parameterType="com.bonus.hn.bearing.capacity.backstage.teamset.entity.StringDataBean">
update bns_czl_sys_data_dict set is_active = '0' where id = #{id}
</update>
@ -177,7 +177,7 @@
where manage_resource_id = #{resourceSetId}
</select>
<update bns_czl_id="updateDataDict" parameterType="com.bonus.hn.bearing.capacity.backstage.select.entity.DataDictBean">
<update id="updateDataDict" parameterType="com.bonus.hn.bearing.capacity.backstage.select.entity.DataDictBean">
update bns_czl_sys_data_dict
<set>
<if test="dictKey !=null and dictKey "></if>

View File

@ -33,7 +33,7 @@
limit #{offset}, #{limit}
</select>
<update bns_czl_id="update">
<update id="update">
update bns_czl_t_dict t
<set>
<if test="type != null">

View File

@ -37,7 +37,7 @@
values ( #{name},#{parentId},'1',now())
</insert>
<update bns_czl_id="updateOrg" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean">
<update id="updateOrg" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean">
update bns_czl_pm_device_type
<set>
<if test="name != null">
@ -47,7 +47,7 @@
where ID = #{id}
</update>
<update bns_czl_id="deleteOrg" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean">
<update id="deleteOrg" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean">
update bns_czl_pm_device_type set IS_ACTIVE = 0 WHERE ID = #{id}
</update>
<select id="findCompanyInfo" resultType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean" >

View File

@ -171,7 +171,7 @@
WHERE phone = #{phone} and is_active = '1'
</insert>
<update bns_czl_id="update">
<update id="update">
update bns_czl_sys_user t
<set>
<if test="username != null">
@ -205,7 +205,7 @@
</set>
where t.id = #{id}
</update>
<update bns_czl_id="updateInfo">
<update id="updateInfo">
update bns_czl_sys_user
<set>
<if test="username != null">
@ -223,20 +223,20 @@
</set>
where id = #{id}
</update>
<update bns_czl_id="updateRoleUser">
<update id="updateRoleUser">
UPDATE bns_czl_sys_role_user
SET
roleId = #{roleId}
WHERE
userId = #{id};
</update>
<update bns_czl_id="resetPassword">
<update id="resetPassword">
update bns_czl_sys_user set password = #{password} where id = #{id}
</update>
<update bns_czl_id="updateSwitchListen">
<update id="updateSwitchListen">
update bns_czl_sys_user set status = #{status} where id = #{id}
</update>
<update bns_czl_id="updateMyInfo">
<update id="updateMyInfo">
update bns_czl_sys_user
<set>
<if test="username != null">
@ -254,7 +254,7 @@
</set>
where phone = #{phone}
</update>
<update bns_czl_id="updateLonLat">
<update id="updateLonLat">
update bns_czl_bm_tower set lon = #{lon},lat = #{lat} where tower_id = #{id}
</update>
</mapper>