Pārlūkot izejas kodu

优化修改时出错

wuxw 6 gadi atpakaļ
vecāks
revīzija
b5aef78827

+ 3 - 0
java110-db/src/main/resources/mapper/hardwareAdapation/MachineTranslateServiceDaoImplMapper.xml

@@ -251,6 +251,9 @@ machine_id,machine_code,operate,type_cd,machine_translate_id,obj_id,obj_name,sta
         <if test="communityId !=null and communityId != ''">
             and t.community_id= #{communityId}
         </if>
+        <if test="objId !=null and objId != ''">
+            and t.obj_id= #{objId}
+        </if>
     </update>
 
 </mapper>