bug修复

This commit is contained in:
jjLv 2024-08-28 10:50:25 +08:00
parent a218d59449
commit 37ec7ce93a
2 changed files with 5 additions and 5 deletions

View File

@ -80,9 +80,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
update tb_project_depart update tb_project_depart
<set> <set>
<if test="projectDepartName != null and projectDepartName != ''">depart_name = #{projectDepartName},</if> <if test="projectDepartName != null and projectDepartName != ''">depart_name = #{projectDepartName},</if>
<if test="projectHeadName != null and projectHeadName != ''">head_name = #{projectHeadName},</if> head_name = #{projectHeadName},
<if test="contactInformation != null and contactInformation != ''">contact_information = #{contactInformation},</if> contact_information = #{contactInformation},
<if test="remarks != null">remarks = #{remarks},</if> remarks = #{remarks},
<if test="updateBy != null and updateBy != ''">update_user = #{updateBy},</if> <if test="updateBy != null and updateBy != ''">update_user = #{updateBy},</if>
update_time = sysdate() update_time = sysdate()
</set> </set>

View File

@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="isCodeExist" resultType="com.bonus.common.entity.bracelet.vo.GtVo"> <select id="isCodeExist" resultType="com.bonus.common.entity.bracelet.vo.GtVo">
select tpp.id as gtId,tpp.power_name as gtCode,tpp.lon as lon,tpp.lat as lat select tpp.id as gtId,tpp.power_name as gtCode,tpp.lon as lon,tpp.lat as lat
from tb_project_power tpp from tb_project_power tpp
where tpp.power_name = #{gtCode} and del_flag = 0 where tpp.power_name = #{gtCode} and tpp.pro_id = #{proId} and del_flag = 0
</select> </select>
<!--新增杆塔信息--> <!--新增杆塔信息-->
@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="isExist" resultType="com.bonus.common.entity.bracelet.vo.GtVo"> <select id="isExist" resultType="com.bonus.common.entity.bracelet.vo.GtVo">
select tpp.id as gtId,tpp.power_name as gtCode,tpp.lon as lon,tpp.lat as lat select tpp.id as gtId,tpp.power_name as gtCode,tpp.lon as lon,tpp.lat as lat
from tb_project_power tpp from tb_project_power tpp
where tpp.power_name = #{gtCode} and tpp.id != #{gtId} and del_flag = 0 where tpp.power_name = #{gtCode} and tpp.id != #{gtId} and tpp.pro_id = #{proId} and del_flag = 0
</select> </select>
<!--修改杆塔信息--> <!--修改杆塔信息-->