服务器自动注册
This commit is contained in:
+11
@@ -331,6 +331,17 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="updaterName != null">updater_name = #{updaterName},</if>
|
||||
</trim>
|
||||
where hardware_sn = #{hardwareSn}
|
||||
<choose>
|
||||
<when test="hardwareSn != null">
|
||||
hardware_sn = #{hardwareSn}
|
||||
</when>
|
||||
<when test="clientId != null">
|
||||
client_id = #{clientId}
|
||||
</when>
|
||||
<otherwise>
|
||||
1=0 <!-- 如果两个条件都不满足,则不更新任何记录 -->
|
||||
</otherwise>
|
||||
</choose>
|
||||
</update>
|
||||
<select id="getRegistrationByIds" parameterType="String" resultMap="RmResourceRegistrationResult">
|
||||
<include refid="selectRmResourceRegistrationVo"/>
|
||||
|
||||
Reference in New Issue
Block a user