|
@@ -57,9 +57,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="teamSerialNo != null "> and team_serial_no = #{teamSerialNo}</if>
|
|
|
<if test="teamLeader != null and teamLeader != ''"> and team_leader = #{teamLeader}</if>
|
|
|
<if test="teamLeaderPhone != null and teamLeaderPhone != ''"> and team_leader_phone = #{teamLeaderPhone}</if>
|
|
|
- <if test="construcCarNumber != null and construcCarNumber != ''"> and construc_car_number = #{construcCarNumber}</if>
|
|
|
<if test="arrestPoint != null and arrestPoint != ''"> and arrest_point = #{arrestPoint}</if>
|
|
|
</where>
|
|
|
+ order by team_serial_no
|
|
|
</select>
|
|
|
|
|
|
<select id="selectPdmConstructTeamById" parameterType="Long" resultMap="PdmConstructTeamResult">
|
|
@@ -118,7 +118,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="teamSerialNo != null">team_serial_no = #{teamSerialNo},</if>
|
|
|
<if test="teamLeader != null">team_leader = #{teamLeader},</if>
|
|
|
<if test="teamLeaderPhone != null">team_leader_phone = #{teamLeaderPhone},</if>
|
|
|
- <if test="construcCarNumber != null">construc_car_number = #{construcCarNumber,typeHandler=com.ruoyi.common.handler.ConvertCommaSeparatedStrToListTypeHandler},</if>
|
|
|
+ construc_car_number = #{construcCarNumber,typeHandler=com.ruoyi.common.handler.ConvertCommaSeparatedStrToListTypeHandler},
|
|
|
<if test="arrestPoint != null">arrest_point = #{arrestPoint},</if>
|
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
@@ -139,4 +139,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
#{id}
|
|
|
</foreach>
|
|
|
</delete>
|
|
|
+ <delete id="clean">
|
|
|
+ TRUNCATE TABLE pdm_construct_team
|
|
|
+ </delete>
|
|
|
</mapper>
|