bug修复
This commit is contained in:
parent
a218d59449
commit
37ec7ce93a
|
|
@ -80,9 +80,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
update tb_project_depart
|
||||
<set>
|
||||
<if test="projectDepartName != null and projectDepartName != ''">depart_name = #{projectDepartName},</if>
|
||||
<if test="projectHeadName != null and projectHeadName != ''">head_name = #{projectHeadName},</if>
|
||||
<if test="contactInformation != null and contactInformation != ''">contact_information = #{contactInformation},</if>
|
||||
<if test="remarks != null">remarks = #{remarks},</if>
|
||||
head_name = #{projectHeadName},
|
||||
contact_information = #{contactInformation},
|
||||
remarks = #{remarks},
|
||||
<if test="updateBy != null and updateBy != ''">update_user = #{updateBy},</if>
|
||||
update_time = sysdate()
|
||||
</set>
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<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
|
||||
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>
|
||||
|
||||
<!--新增杆塔信息-->
|
||||
|
|
@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<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
|
||||
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>
|
||||
|
||||
<!--修改杆塔信息-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue