| | |
| | | and mld.update_time between #{startTime} and #{endTime} |
| | | </if> |
| | | </sql> |
| | | <update id="updateStockFreeze"> |
| | | update man_node |
| | | set status = #{status} |
| | | , update_time = getdate() |
| | | where 1=1 |
| | | and name = #{name} |
| | | </update> |
| | | |
| | | <select id="selectByUuid" resultMap="BaseResultMap"> |
| | | select * from man_node where 1=1 and uuid=#{uuid} and host_id = #{hostId} and status = 1 |
| | |
| | | </select> |
| | | <select id="getRommendLoc" resultType="java.lang.String"> |
| | | select name from man_node |
| | | where level = 3 and parent_name = 'C' |
| | | where level = 3 |
| | | and (row1 >=#{rowBeg} and row1 <= #{rowEnd}) |
| | | and (bay1 >=#{bayBeg} and bay1 <= #{bayEnd}) |
| | | and (lev1 >=#{levBeg} and lev1 <= #{levEnd}) |
| | | |
| | | </select> |
| | | |
| | | </mapper> |