ソースを参照

优化修改时出错

wuxw 6 年 前
コミット
b5aef78827
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      java110-db/src/main/resources/mapper/hardwareAdapation/MachineTranslateServiceDaoImplMapper.xml

+ 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>