修改承载力xml文件
This commit is contained in:
parent
165ad3c716
commit
86254acc19
|
|
@ -113,11 +113,11 @@
|
||||||
order by resource_set_id desc
|
order by resource_set_id desc
|
||||||
</select>
|
</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 bns_czl_tm_resource_set set is_enable = #{isEnable} where resource_set_id = #{resourceSetId}
|
||||||
</update>
|
</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
|
update bns_czl_tm_resource_set
|
||||||
<set>
|
<set>
|
||||||
<if test="resourceName !=null and resourceName !=''">
|
<if test="resourceName !=null and resourceName !=''">
|
||||||
|
|
@ -141,19 +141,19 @@
|
||||||
|
|
||||||
</update>
|
</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}
|
update bns_czl_tm_resource_manage set manage_num = #{manageNum}
|
||||||
where manage_id = #{manageId}
|
where manage_id = #{manageId}
|
||||||
|
|
||||||
</update>
|
</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_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_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 bns_czl_tm_team_person set is_active = '0'where manage_resource_id = #{resourceSetId};
|
||||||
</update>
|
</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 bns_czl_sys_data_dict set is_active = '0' where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|
@ -177,7 +177,7 @@
|
||||||
where manage_resource_id = #{resourceSetId}
|
where manage_resource_id = #{resourceSetId}
|
||||||
</select>
|
</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
|
update bns_czl_sys_data_dict
|
||||||
<set>
|
<set>
|
||||||
<if test="dictKey !=null and dictKey "></if>
|
<if test="dictKey !=null and dictKey "></if>
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
limit #{offset}, #{limit}
|
limit #{offset}, #{limit}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<update bns_czl_id="update">
|
<update id="update">
|
||||||
update bns_czl_t_dict t
|
update bns_czl_t_dict t
|
||||||
<set>
|
<set>
|
||||||
<if test="type != null">
|
<if test="type != null">
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@
|
||||||
values ( #{name},#{parentId},'1',now())
|
values ( #{name},#{parentId},'1',now())
|
||||||
</insert>
|
</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
|
update bns_czl_pm_device_type
|
||||||
<set>
|
<set>
|
||||||
<if test="name != null">
|
<if test="name != null">
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
where ID = #{id}
|
where ID = #{id}
|
||||||
</update>
|
</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 bns_czl_pm_device_type set IS_ACTIVE = 0 WHERE ID = #{id}
|
||||||
</update>
|
</update>
|
||||||
<select id="findCompanyInfo" resultType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean" >
|
<select id="findCompanyInfo" resultType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean" parameterType="com.bonus.hn.bearing.capacity.backstage.manager.entity.OrgBean" >
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@
|
||||||
WHERE phone = #{phone} and is_active = '1'
|
WHERE phone = #{phone} and is_active = '1'
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update bns_czl_id="update">
|
<update id="update">
|
||||||
update bns_czl_sys_user t
|
update bns_czl_sys_user t
|
||||||
<set>
|
<set>
|
||||||
<if test="username != null">
|
<if test="username != null">
|
||||||
|
|
@ -205,7 +205,7 @@
|
||||||
</set>
|
</set>
|
||||||
where t.id = #{id}
|
where t.id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<update bns_czl_id="updateInfo">
|
<update id="updateInfo">
|
||||||
update bns_czl_sys_user
|
update bns_czl_sys_user
|
||||||
<set>
|
<set>
|
||||||
<if test="username != null">
|
<if test="username != null">
|
||||||
|
|
@ -223,20 +223,20 @@
|
||||||
</set>
|
</set>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<update bns_czl_id="updateRoleUser">
|
<update id="updateRoleUser">
|
||||||
UPDATE bns_czl_sys_role_user
|
UPDATE bns_czl_sys_role_user
|
||||||
SET
|
SET
|
||||||
roleId = #{roleId}
|
roleId = #{roleId}
|
||||||
WHERE
|
WHERE
|
||||||
userId = #{id};
|
userId = #{id};
|
||||||
</update>
|
</update>
|
||||||
<update bns_czl_id="resetPassword">
|
<update id="resetPassword">
|
||||||
update bns_czl_sys_user set password = #{password} where id = #{id}
|
update bns_czl_sys_user set password = #{password} where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<update bns_czl_id="updateSwitchListen">
|
<update id="updateSwitchListen">
|
||||||
update bns_czl_sys_user set status = #{status} where id = #{id}
|
update bns_czl_sys_user set status = #{status} where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
<update bns_czl_id="updateMyInfo">
|
<update id="updateMyInfo">
|
||||||
update bns_czl_sys_user
|
update bns_czl_sys_user
|
||||||
<set>
|
<set>
|
||||||
<if test="username != null">
|
<if test="username != null">
|
||||||
|
|
@ -254,7 +254,7 @@
|
||||||
</set>
|
</set>
|
||||||
where phone = #{phone}
|
where phone = #{phone}
|
||||||
</update>
|
</update>
|
||||||
<update bns_czl_id="updateLonLat">
|
<update id="updateLonLat">
|
||||||
update bns_czl_bm_tower set lon = #{lon},lat = #{lat} where tower_id = #{id}
|
update bns_czl_bm_tower set lon = #{lon},lat = #{lat} where tower_id = #{id}
|
||||||
</update>
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue