zhoupeng 1 год назад
Родитель
Сommit
0c22259b26

+ 1 - 1
industry-system/industry-da/src/main/resources/mapper/DeviceLedgerDao.xml

@@ -73,7 +73,7 @@
         insert into t_device_ledger_item(device_ledger_id, item_id ,sort_num)
         values
         <foreach collection="itemIdList" item="itemId" index="index" separator=",">
-            (#{deviceLedgerId}, #{itemId}, #{sortNum})
+            (#{deviceLedgerId}, #{itemId}, 0)
         </foreach>
     </insert>