migration_log_20250919_190948.txt 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205
  1. 迁移日志文件: migration_log_20250919_190948.txt
  2. 连接成功: SQLite(db.sqlite3) → PostgreSQL(wmsdb)
  3. 是否在迁移前清空 PostgreSQL 数据库?
  4. 1. 清空所有数据 (确保无重复)
  5. 2. 不清空 (可能产生重复数据)
  6. 3. 退出
  7. 警告: 此操作将清空 PostgreSQL 数据库中的所有数据!
  8. 已清空表: django_migrations
  9. 已清空表: django_content_type
  10. 已清空表: auth_permission
  11. 已清空表: auth_group
  12. 已清空表: auth_group_permissions
  13. 已清空表: auth_user
  14. 已清空表: auth_user_groups
  15. 已清空表: auth_user_user_permissions
  16. 已清空表: django_admin_log
  17. 已清空表: bounddetail
  18. 已清空表: outbounddetail
  19. 已清空表: batchlog
  20. 已清空表: boundlist
  21. 已清空表: task
  22. 已清空表: container_detail
  23. 已清空表: container_list
  24. 已清空表: container_wcs
  25. 已清空表: allocation_pre
  26. 已清空表: erp_inboundbill
  27. 已清空表: erp_outboundbill
  28. 已清空表: erp_materialdetail
  29. 已清空表: erp_outmaterialdetail
  30. 已清空表: base_location
  31. 已清空表: location
  32. 已清空表: location_container_link
  33. 已清空表: location_change_log
  34. 已清空表: allocation_history
  35. 已清空表: location_group
  36. 已清空表: location_group_location_items
  37. 已清空表: device
  38. 已清空表: boundbatch
  39. 已清空表: outbatch
  40. 已清空表: materialstatistics
  41. 已清空表: outbounddemand
  42. 已清空表: container_operation
  43. 已清空表: out_batch_detail
  44. 已清空表: container_detail_log
  45. 已清空表: batch_log_from_container_log_detail_logs
  46. 已清空表: batch_log_from_container_log
  47. 已清空表: material_change_history
  48. 已清空表: erp_inboundbilloperatelog
  49. 已清空表: erp_outboundbilloperatelog
  50. 已清空表: flowlist
  51. 已清空表: bigscreen
  52. 已清空表: django_session
  53. 已清空表: staff
  54. 已清空表: stafftype
  55. 已清空表: shelflist
  56. 已清空表: throttle
  57. 已清空表: user_profile
  58. 已清空表: baseset
  59. 已清空表: bound_business
  60. 已清空表: bound_code_type
  61. 已清空表: bound_status
  62. 已清空表: bound_type
  63. 已清空表: department
  64. 已清空表: warehouse
  65. 已清空表: product
  66. 成功清空 PostgreSQL 数据库中的所有数据
  67. 分析完成: 发现 52 个表, 依赖顺序已确定
  68. 开始迁移 52 个表
  69. 第 1 轮迁移尝试
  70. 准备迁移表: django_admin_log
  71. 检查 django_admin_log 的依赖表迁移状态...
  72. ? auth_user 尚未迁移
  73. 依赖表未完全迁移,暂时跳过 django_admin_log
  74. 准备迁移表: auth_group
  75. 表 auth_group 为空,跳过
  76. 准备迁移表: auth_user
  77. 表 auth_user 有 3 行数据需要迁移
  78. 使用主键 (id) 处理冲突
  79. 字段长度限制:
  80. password: 128 字符
  81. username: 150 字符
  82. first_name: 150 字符
  83. last_name: 150 字符
  84. email: 254 字符
  85. 成功迁移 3 行数据
  86. 准备迁移表: location_container_link
  87. 检查 location_container_link 的依赖表迁移状态...
  88. ? container_wcs 尚未迁移
  89. ? task 尚未迁移
  90. ? location 尚未迁移
  91. ? container_list 尚未迁移
  92. 依赖表未完全迁移,暂时跳过 location_container_link
  93. 准备迁移表: location_change_log
  94. 检查 location_change_log 的依赖表迁移状态...
  95. ? container_wcs 尚未迁移
  96. ? task 尚未迁移
  97. ? location 尚未迁移
  98. ? location 尚未迁移
  99. ? container_list 尚未迁移
  100. 依赖表未完全迁移,暂时跳过 location_change_log
  101. 准备迁移表: allocation_history
  102. 检查 allocation_history 的依赖表迁移状态...
  103. ? container_wcs 尚未迁移
  104. ? task 尚未迁移
  105. ? location 尚未迁移
  106. ? location 尚未迁移
  107. ? container_list 尚未迁移
  108. 依赖表未完全迁移,暂时跳过 allocation_history
  109. 准备迁移表: task
  110. 检查 task 的依赖表迁移状态...
  111. ? container_wcs 尚未迁移
  112. ? container_detail 尚未迁移
  113. ? bounddetail 尚未迁移
  114. 依赖表未完全迁移,暂时跳过 task
  115. 准备迁移表: bounddetail
  116. 检查 bounddetail 的依赖表迁移状态...
  117. ? boundlist 尚未迁移
  118. ? boundbatch 尚未迁移
  119. 依赖表未完全迁移,暂时跳过 bounddetail
  120. 准备迁移表: Outbounddetail
  121. 检查 Outbounddetail 的依赖表迁移状态...
  122. ? boundlist 尚未迁移
  123. ? boundbatch 尚未迁移
  124. ? outbatch 尚未迁移
  125. 依赖表未完全迁移,暂时跳过 Outbounddetail
  126. 准备迁移表: allocation_pre
  127. 表 allocation_pre 有 202 行数据需要迁移
  128. 使用主键 (id) 处理冲突
  129. 字段长度限制:
  130. batch_number: 255 字符
  131. 成功迁移 202 行数据
  132. 准备迁移表: base_location
  133. 表 base_location 有 1 行数据需要迁移
  134. 使用主键 (id) 处理冲突
  135. 成功迁移 1 行数据
  136. 准备迁移表: location_group_location_items
  137. 检查 location_group_location_items 的依赖表迁移状态...
  138. ? location 尚未迁移
  139. ? location_group 尚未迁移
  140. 依赖表未完全迁移,暂时跳过 location_group_location_items
  141. 准备迁移表: device
  142. 检查 device 的依赖表迁移状态...
  143. ? location 尚未迁移
  144. 依赖表未完全迁移,暂时跳过 device
  145. 准备迁移表: location
  146. 表 location 有 1351 行数据需要迁移
  147. 使用主键 (id) 处理冲突
  148. 字段长度限制:
  149. warehouse_code: 255 字符
  150. warehouse_name: 255 字符
  151. shelf_type: 255 字符
  152. location_code: 20 字符
  153. location_group: 20 字符
  154. location_type: 3 字符
  155. status: 20 字符
  156. coordinate: 50 字符
  157. 成功迁移 1351 行数据
  158. 准备迁移表: container_wcs
  159. 检查 container_wcs 的依赖表迁移状态...
  160. ? boundlist 尚未迁移
  161. ? outbatch 尚未迁移
  162. ? boundbatch 尚未迁移
  163. 依赖表未完全迁移,暂时跳过 container_wcs
  164. 准备迁移表: outbatch
  165. 检查 outbatch 的依赖表迁移状态...
  166. ? boundlist 尚未迁移
  167. ? erp_outmaterialdetail 尚未迁移
  168. ? boundbatch 尚未迁移
  169. 依赖表未完全迁移,暂时跳过 outbatch
  170. 准备迁移表: outbounddemand
  171. 检查 outbounddemand 的依赖表迁移状态...
  172. ? boundlist 尚未迁移
  173. 依赖表未完全迁移,暂时跳过 outbounddemand
  174. 准备迁移表: out_batch_detail
  175. 检查 out_batch_detail 的依赖表迁移状态...
  176. ? boundlist 尚未迁移
  177. ? container_detail 尚未迁移
  178. ? container_list 尚未迁移
  179. 依赖表未完全迁移,暂时跳过 out_batch_detail
  180. 准备迁移表: batch_log_from_container_log_detail_logs
  181. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  182. ? container_detail_log 尚未迁移
  183. ? batch_log_from_container_log 尚未迁移
  184. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  185. 准备迁移表: material_change_history
  186. 检查 material_change_history 的依赖表迁移状态...
  187. ? materialstatistics 尚未迁移
  188. ? batch_log_from_container_log 尚未迁移
  189. 依赖表未完全迁移,暂时跳过 material_change_history
  190. 准备迁移表: batch_log_from_container_log
  191. 检查 batch_log_from_container_log 的依赖表迁移状态...
  192. ? boundlist 尚未迁移
  193. ? boundbatch 尚未迁移
  194. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log
  195. 准备迁移表: boundlist
  196. 检查 boundlist 的依赖表迁移状态...
  197. ? erp_outboundbill 尚未迁移
  198. ? erp_inboundbill 尚未迁移
  199. 依赖表未完全迁移,暂时跳过 boundlist
  200. 准备迁移表: erp_inboundbilloperatelog
  201. 检查 erp_inboundbilloperatelog 的依赖表迁移状态...
  202. ? erp_inboundbill 尚未迁移
  203. 依赖表未完全迁移,暂时跳过 erp_inboundbilloperatelog
  204. 准备迁移表: erp_outboundbilloperatelog
  205. 检查 erp_outboundbilloperatelog 的依赖表迁移状态...
  206. ? erp_outboundbill 尚未迁移
  207. 依赖表未完全迁移,暂时跳过 erp_outboundbilloperatelog
  208. 准备迁移表: django_session
  209. 表 django_session 有 203 行数据需要迁移
  210. 使用主键 (session_key) 处理冲突
  211. 字段长度限制:
  212. session_key: 40 字符
  213. 成功迁移 203 行数据
  214. 准备迁移表: staff
  215. 表 staff 有 3 行数据需要迁移
  216. 使用主键 (id) 处理冲突
  217. 字段长度限制:
  218. staff_name: 255 字符
  219. staff_type: 255 字符
  220. openid: 255 字符
  221. appid: 100 字符
  222. 成功迁移 3 行数据
  223. 准备迁移表: stafftype
  224. 表 stafftype 有 7 行数据需要迁移
  225. 使用主键 (id) 处理冲突
  226. 字段长度限制:
  227. staff_type: 255 字符
  228. openid: 255 字符
  229. creater: 255 字符
  230. 成功迁移 7 行数据
  231. 准备迁移表: throttle
  232. 表 throttle 有 5 行数据需要迁移
  233. 使用主键 (id) 处理冲突
  234. 字段长度限制:
  235. openid: 255 字符
  236. appid: 255 字符
  237. ip: 255 字符
  238. method: 18 字符
  239. t_code: 255 字符
  240. 成功迁移 5 行数据
  241. 准备迁移表: user_profile
  242. 表 user_profile 有 3 行数据需要迁移
  243. 使用主键 (id) 处理冲突
  244. 字段长度限制:
  245. name: 80 字符
  246. openid: 100 字符
  247. appid: 100 字符
  248. t_code: 100 字符
  249. ip: 100 字符
  250. avatar: 100 字符
  251. 成功迁移 3 行数据
  252. 准备迁移表: baseset
  253. 表 baseset 有 2 行数据需要迁移
  254. 使用主键 (id) 处理冲突
  255. 字段长度限制:
  256. set_name: 255 字符
  257. set_value: 9999 字符
  258. set_desc: 255 字符
  259. 成功迁移 2 行数据
  260. 准备迁移表: bound_business
  261. 表 bound_business 有 1 行数据需要迁移
  262. 使用主键 (id) 处理冲突
  263. 字段长度限制:
  264. bound_bs_code: 255 字符
  265. bound_bs_name: 255 字符
  266. creater: 255 字符
  267. openid: 255 字符
  268. 成功迁移 1 行数据
  269. 准备迁移表: bound_code_type
  270. 表 bound_code_type 有 1 行数据需要迁移
  271. 使用主键 (id) 处理冲突
  272. 字段长度限制:
  273. bound_code_type_code: 255 字符
  274. bound_code_type_name: 255 字符
  275. creater: 255 字符
  276. openid: 255 字符
  277. 成功迁移 1 行数据
  278. 准备迁移表: bound_status
  279. 表 bound_status 有 3 行数据需要迁移
  280. 使用主键 (id) 处理冲突
  281. 字段长度限制:
  282. bound_status_name: 255 字符
  283. creater: 255 字符
  284. openid: 255 字符
  285. 成功迁移 3 行数据
  286. 准备迁移表: bound_type
  287. 表 bound_type 有 1 行数据需要迁移
  288. 使用主键 (id) 处理冲突
  289. 字段长度限制:
  290. bound_type_code: 255 字符
  291. bound_type_name: 255 字符
  292. creater: 255 字符
  293. openid: 255 字符
  294. 成功迁移 1 行数据
  295. 准备迁移表: department
  296. 表 department 有 37 行数据需要迁移
  297. 使用主键 (id) 处理冲突
  298. 字段长度限制:
  299. department_code: 255 字符
  300. department_name: 255 字符
  301. department_contact: 255 字符
  302. department_manager: 255 字符
  303. creater: 255 字符
  304. openid: 255 字符
  305. 成功迁移 37 行数据
  306. 准备迁移表: warehouse
  307. 表 warehouse 有 1 行数据需要迁移
  308. 使用主键 (id) 处理冲突
  309. 字段长度限制:
  310. warehouse_code: 255 字符
  311. warehouse_name: 255 字符
  312. warehouse_city: 255 字符
  313. warehouse_address: 255 字符
  314. warehouse_contact: 255 字符
  315. warehouse_manager: 255 字符
  316. creater: 255 字符
  317. openid: 255 字符
  318. 成功迁移 1 行数据
  319. 准备迁移表: product
  320. 表 product 有 196 行数据需要迁移
  321. 使用主键 (id) 处理冲突
  322. 字段长度限制:
  323. product_code: 255 字符
  324. product_name: 255 字符
  325. product_std: 255 字符
  326. product_unit: 255 字符
  327. product_package: 255 字符
  328. creater: 255 字符
  329. 成功迁移 196 行数据
  330. 准备迁移表: location_group
  331. 表 location_group 有 321 行数据需要迁移
  332. 使用主键 (id) 处理冲突
  333. 字段长度限制:
  334. warehouse_code: 50 字符
  335. group_name: 50 字符
  336. group_type: 50 字符
  337. group_code: 50 字符
  338. status: 20 字符
  339. current_batch: 50 字符
  340. current_goods_code: 50 字符
  341. 成功迁移 321 行数据
  342. 准备迁移表: batchlog
  343. 检查 batchlog 的依赖表迁移状态...
  344. ? boundbatch 尚未迁移
  345. 依赖表未完全迁移,暂时跳过 batchlog
  346. 准备迁移表: container_detail_log
  347. 检查 container_detail_log 的依赖表迁移状态...
  348. ? container_detail 尚未迁移
  349. 依赖表未完全迁移,暂时跳过 container_detail_log
  350. 准备迁移表: container_detail
  351. 检查 container_detail 的依赖表迁移状态...
  352. ? container_list 尚未迁移
  353. ? boundbatch 尚未迁移
  354. 依赖表未完全迁移,暂时跳过 container_detail
  355. 准备迁移表: container_operation
  356. 检查 container_operation 的依赖表迁移状态...
  357. ? container_list 尚未迁移
  358. ? boundbatch 尚未迁移
  359. 依赖表未完全迁移,暂时跳过 container_operation
  360. 准备迁移表: boundbatch
  361. 检查 boundbatch 的依赖表迁移状态...
  362. ? erp_materialdetail 尚未迁移
  363. 依赖表未完全迁移,暂时跳过 boundbatch
  364. 准备迁移表: erp_outmaterialdetail
  365. 检查 erp_outmaterialdetail 的依赖表迁移状态...
  366. ? erp_outboundbill 尚未迁移
  367. ? erp_materialdetail 尚未迁移
  368. 依赖表未完全迁移,暂时跳过 erp_outmaterialdetail
  369. 准备迁移表: erp_materialdetail
  370. 检查 erp_materialdetail 的依赖表迁移状态...
  371. ? erp_inboundbill 尚未迁移
  372. 依赖表未完全迁移,暂时跳过 erp_materialdetail
  373. 准备迁移表: flowlist
  374. 表 flowlist 有 189 行数据需要迁移
  375. 使用主键 (id) 处理冲突
  376. 字段长度限制:
  377. document_number: 20 字符
  378. document_type: 20 字符
  379. business_type: 20 字符
  380. iout_type: 255 字符
  381. department: 255 字符
  382. warehouse_code: 20 字符
  383. warehouse_name: 255 字符
  384. goods_code: 255 字符
  385. goods_desc: 255 字符
  386. goods_std: 255 字符
  387. goods_batch: 255 字符
  388. in_batch: 255 字符
  389. out_batch: 255 字符
  390. goods_unit: 255 字符
  391. goods_notes: 255 字符
  392. creator: 255 字符
  393. 成功迁移 189 行数据
  394. 准备迁移表: shelflist
  395. 表 shelflist 为空,跳过
  396. 准备迁移表: materialstatistics
  397. 表 materialstatistics 有 16 行数据需要迁移
  398. 使用主键 (id) 处理冲突
  399. 字段长度限制:
  400. goods_code: 255 字符
  401. goods_desc: 255 字符
  402. goods_std: 255 字符
  403. goods_unit: 255 字符
  404. 成功迁移 16 行数据
  405. 准备迁移表: bigscreen
  406. 表 bigscreen 有 27 行数据需要迁移
  407. 使用主键 (id) 处理冲突
  408. 成功迁移 27 行数据
  409. 准备迁移表: container_list
  410. 表 container_list 有 352 行数据需要迁移
  411. 使用主键 (id) 处理冲突
  412. 字段长度限制:
  413. current_location: 50 字符
  414. target_location: 50 字符
  415. 成功迁移 352 行数据
  416. 准备迁移表: erp_inboundbill
  417. 表 erp_inboundbill 有 81 行数据需要迁移
  418. 使用主键 (billId) 处理冲突
  419. 字段长度限制:
  420. number: 50 字符
  421. date: 50 字符
  422. department: 100 字符
  423. warehouse: 100 字符
  424. creater: 50 字符
  425. erp_audit_id: 1000 字符
  426. erp_save_id: 1000 字符
  427. 成功迁移 81 行数据
  428. 准备迁移表: erp_outboundbill
  429. 表 erp_outboundbill 有 112 行数据需要迁移
  430. 使用主键 (billId) 处理冲突
  431. 字段长度限制:
  432. number: 50 字符
  433. date: 50 字符
  434. department: 10 字符
  435. warehouse: 10 字符
  436. creater: 50 字符
  437. erp_audit_id: 1000 字符
  438. erp_save_id: 1000 字符
  439. 成功迁移 112 行数据
  440. 本轮迁移后仍有 26 个表未成功迁移
  441. 第 2 轮迁移尝试
  442. 准备迁移表: django_admin_log
  443. 检查 django_admin_log 的依赖表迁移状态...
  444. ✓ auth_user 已迁移
  445. 表 django_admin_log 为空,跳过
  446. 准备迁移表: location_container_link
  447. 检查 location_container_link 的依赖表迁移状态...
  448. ? container_wcs 尚未迁移
  449. ? task 尚未迁移
  450. ✓ location 已迁移
  451. ✓ container_list 已迁移
  452. 依赖表未完全迁移,暂时跳过 location_container_link
  453. 准备迁移表: location_change_log
  454. 检查 location_change_log 的依赖表迁移状态...
  455. ? container_wcs 尚未迁移
  456. ? task 尚未迁移
  457. ✓ location 已迁移
  458. ✓ location 已迁移
  459. ✓ container_list 已迁移
  460. 依赖表未完全迁移,暂时跳过 location_change_log
  461. 准备迁移表: allocation_history
  462. 检查 allocation_history 的依赖表迁移状态...
  463. ? container_wcs 尚未迁移
  464. ? task 尚未迁移
  465. ✓ location 已迁移
  466. ✓ location 已迁移
  467. ✓ container_list 已迁移
  468. 依赖表未完全迁移,暂时跳过 allocation_history
  469. 准备迁移表: task
  470. 检查 task 的依赖表迁移状态...
  471. ? container_wcs 尚未迁移
  472. ? container_detail 尚未迁移
  473. ? bounddetail 尚未迁移
  474. 依赖表未完全迁移,暂时跳过 task
  475. 准备迁移表: bounddetail
  476. 检查 bounddetail 的依赖表迁移状态...
  477. ? boundlist 尚未迁移
  478. ? boundbatch 尚未迁移
  479. 依赖表未完全迁移,暂时跳过 bounddetail
  480. 准备迁移表: Outbounddetail
  481. 检查 Outbounddetail 的依赖表迁移状态...
  482. ? boundlist 尚未迁移
  483. ? boundbatch 尚未迁移
  484. ? outbatch 尚未迁移
  485. 依赖表未完全迁移,暂时跳过 Outbounddetail
  486. 准备迁移表: location_group_location_items
  487. 检查 location_group_location_items 的依赖表迁移状态...
  488. ✓ location 已迁移
  489. ✓ location_group 已迁移
  490. 表 location_group_location_items 有 1020 行数据需要迁移
  491. 使用主键 (id) 处理冲突
  492. 成功迁移 1020 行数据
  493. 准备迁移表: device
  494. 检查 device 的依赖表迁移状态...
  495. ✓ location 已迁移
  496. 表 device 有 2 行数据需要迁移
  497. 使用主键 (id) 处理冲突
  498. 字段长度限制:
  499. device_id: 255 字符
  500. device_name: 255 字符
  501. device_type: 255 字符
  502. ip_address: 255 字符
  503. status: 255 字符
  504. mode: 255 字符
  505. warehouse_code: 255 字符
  506. 成功迁移 2 行数据
  507. 准备迁移表: container_wcs
  508. 检查 container_wcs 的依赖表迁移状态...
  509. ? boundlist 尚未迁移
  510. ? outbatch 尚未迁移
  511. ? boundbatch 尚未迁移
  512. 依赖表未完全迁移,暂时跳过 container_wcs
  513. 准备迁移表: outbatch
  514. 检查 outbatch 的依赖表迁移状态...
  515. ? boundlist 尚未迁移
  516. ? erp_outmaterialdetail 尚未迁移
  517. ? boundbatch 尚未迁移
  518. 依赖表未完全迁移,暂时跳过 outbatch
  519. 准备迁移表: outbounddemand
  520. 检查 outbounddemand 的依赖表迁移状态...
  521. ? boundlist 尚未迁移
  522. 依赖表未完全迁移,暂时跳过 outbounddemand
  523. 准备迁移表: out_batch_detail
  524. 检查 out_batch_detail 的依赖表迁移状态...
  525. ? boundlist 尚未迁移
  526. ? container_detail 尚未迁移
  527. ✓ container_list 已迁移
  528. 依赖表未完全迁移,暂时跳过 out_batch_detail
  529. 准备迁移表: batch_log_from_container_log_detail_logs
  530. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  531. ? container_detail_log 尚未迁移
  532. ? batch_log_from_container_log 尚未迁移
  533. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  534. 准备迁移表: material_change_history
  535. 检查 material_change_history 的依赖表迁移状态...
  536. ✓ materialstatistics 已迁移
  537. ? batch_log_from_container_log 尚未迁移
  538. 依赖表未完全迁移,暂时跳过 material_change_history
  539. 准备迁移表: batch_log_from_container_log
  540. 检查 batch_log_from_container_log 的依赖表迁移状态...
  541. ? boundlist 尚未迁移
  542. ? boundbatch 尚未迁移
  543. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log
  544. 准备迁移表: boundlist
  545. 检查 boundlist 的依赖表迁移状态...
  546. ✓ erp_outboundbill 已迁移
  547. ✓ erp_inboundbill 已迁移
  548. 表 boundlist 有 236 行数据需要迁移
  549. 使用主键 (id) 处理冲突
  550. 字段长度限制:
  551. bound_month: 255 字符
  552. bound_code: 255 字符
  553. bound_code_type: 255 字符
  554. bound_bs_type: 255 字符
  555. bound_type: 255 字符
  556. bound_desc: 255 字符
  557. bound_department: 255 字符
  558. bound_status: 255 字符
  559. note: 255 字符
  560. creater: 255 字符
  561. openid: 255 字符
  562. 成功迁移 236 行数据
  563. 准备迁移表: erp_inboundbilloperatelog
  564. 检查 erp_inboundbilloperatelog 的依赖表迁移状态...
  565. ✓ erp_inboundbill 已迁移
  566. 表 erp_inboundbilloperatelog 有 222 行数据需要迁移
  567. 使用主键 (id) 处理冲突
  568. 字段长度限制:
  569. log_type: 20 字符
  570. 成功迁移 222 行数据
  571. 准备迁移表: erp_outboundbilloperatelog
  572. 检查 erp_outboundbilloperatelog 的依赖表迁移状态...
  573. ✓ erp_outboundbill 已迁移
  574. 表 erp_outboundbilloperatelog 有 162 行数据需要迁移
  575. 使用主键 (id) 处理冲突
  576. 字段长度限制:
  577. log_type: 20 字符
  578. 成功迁移 162 行数据
  579. 准备迁移表: batchlog
  580. 检查 batchlog 的依赖表迁移状态...
  581. ? boundbatch 尚未迁移
  582. 依赖表未完全迁移,暂时跳过 batchlog
  583. 准备迁移表: container_detail_log
  584. 检查 container_detail_log 的依赖表迁移状态...
  585. ? container_detail 尚未迁移
  586. 依赖表未完全迁移,暂时跳过 container_detail_log
  587. 准备迁移表: container_detail
  588. 检查 container_detail 的依赖表迁移状态...
  589. ✓ container_list 已迁移
  590. ? boundbatch 尚未迁移
  591. 依赖表未完全迁移,暂时跳过 container_detail
  592. 准备迁移表: container_operation
  593. 检查 container_operation 的依赖表迁移状态...
  594. ✓ container_list 已迁移
  595. ? boundbatch 尚未迁移
  596. 依赖表未完全迁移,暂时跳过 container_operation
  597. 准备迁移表: boundbatch
  598. 检查 boundbatch 的依赖表迁移状态...
  599. ? erp_materialdetail 尚未迁移
  600. 依赖表未完全迁移,暂时跳过 boundbatch
  601. 准备迁移表: erp_outmaterialdetail
  602. 检查 erp_outmaterialdetail 的依赖表迁移状态...
  603. ✓ erp_outboundbill 已迁移
  604. ? erp_materialdetail 尚未迁移
  605. 依赖表未完全迁移,暂时跳过 erp_outmaterialdetail
  606. 准备迁移表: erp_materialdetail
  607. 检查 erp_materialdetail 的依赖表迁移状态...
  608. ✓ erp_inboundbill 已迁移
  609. 表 erp_materialdetail 有 121 行数据需要迁移
  610. 使用主键 (id) 处理冲突
  611. 字段长度限制:
  612. production_batch: 50 字符
  613. goods_code: 20 字符
  614. goods_name: 100 字符
  615. goods_std: 50 字符
  616. goods_unit: 20 字符
  617. material_batch_order: 20 字符
  618. material_goods_code: 20 字符
  619. 成功迁移 121 行数据
  620. 本轮迁移后仍有 19 个表未成功迁移
  621. 第 3 轮迁移尝试
  622. 准备迁移表: location_container_link
  623. 检查 location_container_link 的依赖表迁移状态...
  624. ? container_wcs 尚未迁移
  625. ? task 尚未迁移
  626. ✓ location 已迁移
  627. ✓ container_list 已迁移
  628. 依赖表未完全迁移,暂时跳过 location_container_link
  629. 准备迁移表: location_change_log
  630. 检查 location_change_log 的依赖表迁移状态...
  631. ? container_wcs 尚未迁移
  632. ? task 尚未迁移
  633. ✓ location 已迁移
  634. ✓ location 已迁移
  635. ✓ container_list 已迁移
  636. 依赖表未完全迁移,暂时跳过 location_change_log
  637. 准备迁移表: allocation_history
  638. 检查 allocation_history 的依赖表迁移状态...
  639. ? container_wcs 尚未迁移
  640. ? task 尚未迁移
  641. ✓ location 已迁移
  642. ✓ location 已迁移
  643. ✓ container_list 已迁移
  644. 依赖表未完全迁移,暂时跳过 allocation_history
  645. 准备迁移表: task
  646. 检查 task 的依赖表迁移状态...
  647. ? container_wcs 尚未迁移
  648. ? container_detail 尚未迁移
  649. ? bounddetail 尚未迁移
  650. 依赖表未完全迁移,暂时跳过 task
  651. 准备迁移表: bounddetail
  652. 检查 bounddetail 的依赖表迁移状态...
  653. ✓ boundlist 已迁移
  654. ? boundbatch 尚未迁移
  655. 依赖表未完全迁移,暂时跳过 bounddetail
  656. 准备迁移表: Outbounddetail
  657. 检查 Outbounddetail 的依赖表迁移状态...
  658. ✓ boundlist 已迁移
  659. ? boundbatch 尚未迁移
  660. ? outbatch 尚未迁移
  661. 依赖表未完全迁移,暂时跳过 Outbounddetail
  662. 准备迁移表: container_wcs
  663. 检查 container_wcs 的依赖表迁移状态...
  664. ✓ boundlist 已迁移
  665. ? outbatch 尚未迁移
  666. ? boundbatch 尚未迁移
  667. 依赖表未完全迁移,暂时跳过 container_wcs
  668. 准备迁移表: outbatch
  669. 检查 outbatch 的依赖表迁移状态...
  670. ✓ boundlist 已迁移
  671. ? erp_outmaterialdetail 尚未迁移
  672. ? boundbatch 尚未迁移
  673. 依赖表未完全迁移,暂时跳过 outbatch
  674. 准备迁移表: outbounddemand
  675. 检查 outbounddemand 的依赖表迁移状态...
  676. ✓ boundlist 已迁移
  677. 表 outbounddemand 为空,跳过
  678. 准备迁移表: out_batch_detail
  679. 检查 out_batch_detail 的依赖表迁移状态...
  680. ✓ boundlist 已迁移
  681. ? container_detail 尚未迁移
  682. ✓ container_list 已迁移
  683. 依赖表未完全迁移,暂时跳过 out_batch_detail
  684. 准备迁移表: batch_log_from_container_log_detail_logs
  685. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  686. ? container_detail_log 尚未迁移
  687. ? batch_log_from_container_log 尚未迁移
  688. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  689. 准备迁移表: material_change_history
  690. 检查 material_change_history 的依赖表迁移状态...
  691. ✓ materialstatistics 已迁移
  692. ? batch_log_from_container_log 尚未迁移
  693. 依赖表未完全迁移,暂时跳过 material_change_history
  694. 准备迁移表: batch_log_from_container_log
  695. 检查 batch_log_from_container_log 的依赖表迁移状态...
  696. ✓ boundlist 已迁移
  697. ? boundbatch 尚未迁移
  698. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log
  699. 准备迁移表: batchlog
  700. 检查 batchlog 的依赖表迁移状态...
  701. ? boundbatch 尚未迁移
  702. 依赖表未完全迁移,暂时跳过 batchlog
  703. 准备迁移表: container_detail_log
  704. 检查 container_detail_log 的依赖表迁移状态...
  705. ? container_detail 尚未迁移
  706. 依赖表未完全迁移,暂时跳过 container_detail_log
  707. 准备迁移表: container_detail
  708. 检查 container_detail 的依赖表迁移状态...
  709. ✓ container_list 已迁移
  710. ? boundbatch 尚未迁移
  711. 依赖表未完全迁移,暂时跳过 container_detail
  712. 准备迁移表: container_operation
  713. 检查 container_operation 的依赖表迁移状态...
  714. ✓ container_list 已迁移
  715. ? boundbatch 尚未迁移
  716. 依赖表未完全迁移,暂时跳过 container_operation
  717. 准备迁移表: boundbatch
  718. 检查 boundbatch 的依赖表迁移状态...
  719. ✓ erp_materialdetail 已迁移
  720. 表 boundbatch 有 200 行数据需要迁移
  721. 使用主键 (id) 处理冲突
  722. 字段长度限制:
  723. bound_number: 255 字符
  724. bound_month: 255 字符
  725. warehouse_code: 255 字符
  726. warehouse_name: 255 字符
  727. goods_code: 255 字符
  728. goods_desc: 255 字符
  729. goods_std: 255 字符
  730. goods_unit: 255 字符
  731. note: 255 字符
  732. creater: 255 字符
  733. openid: 255 字符
  734. sourced_number: 255 字符
  735. goods_package: 255 字符
  736. check_user: 255 字符
  737. 成功迁移 200 行数据
  738. 准备迁移表: erp_outmaterialdetail
  739. 检查 erp_outmaterialdetail 的依赖表迁移状态...
  740. ✓ erp_outboundbill 已迁移
  741. ✓ erp_materialdetail 已迁移
  742. 表 erp_outmaterialdetail 有 148 行数据需要迁移
  743. 使用主键 (id) 处理冲突
  744. 字段长度限制:
  745. production_batch: 50 字符
  746. goods_code: 20 字符
  747. goods_name: 100 字符
  748. goods_unit: 20 字符
  749. material_batch_order: 20 字符
  750. material_goods_code: 20 字符
  751. 成功迁移 148 行数据
  752. 本轮迁移后仍有 16 个表未成功迁移
  753. 第 4 轮迁移尝试
  754. 准备迁移表: location_container_link
  755. 检查 location_container_link 的依赖表迁移状态...
  756. ? container_wcs 尚未迁移
  757. ? task 尚未迁移
  758. ✓ location 已迁移
  759. ✓ container_list 已迁移
  760. 依赖表未完全迁移,暂时跳过 location_container_link
  761. 准备迁移表: location_change_log
  762. 检查 location_change_log 的依赖表迁移状态...
  763. ? container_wcs 尚未迁移
  764. ? task 尚未迁移
  765. ✓ location 已迁移
  766. ✓ location 已迁移
  767. ✓ container_list 已迁移
  768. 依赖表未完全迁移,暂时跳过 location_change_log
  769. 准备迁移表: allocation_history
  770. 检查 allocation_history 的依赖表迁移状态...
  771. ? container_wcs 尚未迁移
  772. ? task 尚未迁移
  773. ✓ location 已迁移
  774. ✓ location 已迁移
  775. ✓ container_list 已迁移
  776. 依赖表未完全迁移,暂时跳过 allocation_history
  777. 准备迁移表: task
  778. 检查 task 的依赖表迁移状态...
  779. ? container_wcs 尚未迁移
  780. ? container_detail 尚未迁移
  781. ? bounddetail 尚未迁移
  782. 依赖表未完全迁移,暂时跳过 task
  783. 准备迁移表: bounddetail
  784. 检查 bounddetail 的依赖表迁移状态...
  785. ✓ boundlist 已迁移
  786. ✓ boundbatch 已迁移
  787. 表 bounddetail 有 200 行数据需要迁移
  788. 使用主键 (id) 处理冲突
  789. 字段长度限制:
  790. detail_code: 255 字符
  791. creater: 255 字符
  792. openid: 255 字符
  793. 成功迁移 200 行数据
  794. 准备迁移表: Outbounddetail
  795. 检查 Outbounddetail 的依赖表迁移状态...
  796. ✓ boundlist 已迁移
  797. ✓ boundbatch 已迁移
  798. ? outbatch 尚未迁移
  799. 依赖表未完全迁移,暂时跳过 Outbounddetail
  800. 准备迁移表: container_wcs
  801. 检查 container_wcs 的依赖表迁移状态...
  802. ✓ boundlist 已迁移
  803. ? outbatch 尚未迁移
  804. ✓ boundbatch 已迁移
  805. 依赖表未完全迁移,暂时跳过 container_wcs
  806. 准备迁移表: outbatch
  807. 检查 outbatch 的依赖表迁移状态...
  808. ✓ boundlist 已迁移
  809. ✓ erp_outmaterialdetail 已迁移
  810. ✓ boundbatch 已迁移
  811. 表 outbatch 有 180 行数据需要迁移
  812. 使用主键 (id) 处理冲突
  813. 字段长度限制:
  814. out_number: 255 字符
  815. out_note: 255 字符
  816. warehouse_code: 255 字符
  817. warehouse_name: 255 字符
  818. goods_code: 255 字符
  819. goods_desc: 255 字符
  820. goods_std: 255 字符
  821. goods_unit: 255 字符
  822. creater: 255 字符
  823. openid: 255 字符
  824. 成功迁移 180 行数据
  825. 准备迁移表: out_batch_detail
  826. 检查 out_batch_detail 的依赖表迁移状态...
  827. ✓ boundlist 已迁移
  828. ? container_detail 尚未迁移
  829. ✓ container_list 已迁移
  830. 依赖表未完全迁移,暂时跳过 out_batch_detail
  831. 准备迁移表: batch_log_from_container_log_detail_logs
  832. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  833. ? container_detail_log 尚未迁移
  834. ? batch_log_from_container_log 尚未迁移
  835. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  836. 准备迁移表: material_change_history
  837. 检查 material_change_history 的依赖表迁移状态...
  838. ✓ materialstatistics 已迁移
  839. ? batch_log_from_container_log 尚未迁移
  840. 依赖表未完全迁移,暂时跳过 material_change_history
  841. 准备迁移表: batch_log_from_container_log
  842. 检查 batch_log_from_container_log 的依赖表迁移状态...
  843. ✓ boundlist 已迁移
  844. ✓ boundbatch 已迁移
  845. 表 batch_log_from_container_log 有 164 行数据需要迁移
  846. 使用主键 (id) 处理冲突
  847. 字段长度限制:
  848. log_type: 20 字符
  849. goods_code: 50 字符
  850. goods_desc: 100 字符
  851. goods_std: 50 字符
  852. goods_unit: 50 字符
  853. 成功迁移 164 行数据
  854. 准备迁移表: batchlog
  855. 检查 batchlog 的依赖表迁移状态...
  856. ✓ boundbatch 已迁移
  857. 表 batchlog 有 2316 行数据需要迁移
  858. 使用主键 (id) 处理冲突
  859. 字段长度限制:
  860. goods_code: 255 字符
  861. goods_desc: 255 字符
  862. log_content: 255 字符
  863. creater: 255 字符
  864. openid: 255 字符
  865. 成功迁移 2316 行数据
  866. 准备迁移表: container_detail_log
  867. 检查 container_detail_log 的依赖表迁移状态...
  868. ? container_detail 尚未迁移
  869. 依赖表未完全迁移,暂时跳过 container_detail_log
  870. 准备迁移表: container_detail
  871. 检查 container_detail 的依赖表迁移状态...
  872. ✓ container_list 已迁移
  873. ✓ boundbatch 已迁移
  874. 表 container_detail 有 6689 行数据需要迁移
  875. 使用主键 (id) 处理冲突
  876. 字段长度限制:
  877. goods_code: 50 字符
  878. goods_desc: 100 字符
  879. creater: 50 字符
  880. 成功迁移 6689 行数据
  881. 准备迁移表: container_operation
  882. 检查 container_operation 的依赖表迁移状态...
  883. ✓ container_list 已迁移
  884. ✓ boundbatch 已迁移
  885. 表 container_operation 有 1436 行数据需要迁移
  886. 使用主键 (id) 处理冲突
  887. 字段长度限制:
  888. operation_type: 20 字符
  889. goods_code: 50 字符
  890. goods_desc: 100 字符
  891. operator: 50 字符
  892. from_location: 50 字符
  893. to_location: 50 字符
  894. 成功迁移 1436 行数据
  895. 本轮迁移后仍有 10 个表未成功迁移
  896. 第 5 轮迁移尝试
  897. 准备迁移表: location_container_link
  898. 检查 location_container_link 的依赖表迁移状态...
  899. ? container_wcs 尚未迁移
  900. ? task 尚未迁移
  901. ✓ location 已迁移
  902. ✓ container_list 已迁移
  903. 依赖表未完全迁移,暂时跳过 location_container_link
  904. 准备迁移表: location_change_log
  905. 检查 location_change_log 的依赖表迁移状态...
  906. ? container_wcs 尚未迁移
  907. ? task 尚未迁移
  908. ✓ location 已迁移
  909. ✓ location 已迁移
  910. ✓ container_list 已迁移
  911. 依赖表未完全迁移,暂时跳过 location_change_log
  912. 准备迁移表: allocation_history
  913. 检查 allocation_history 的依赖表迁移状态...
  914. ? container_wcs 尚未迁移
  915. ? task 尚未迁移
  916. ✓ location 已迁移
  917. ✓ location 已迁移
  918. ✓ container_list 已迁移
  919. 依赖表未完全迁移,暂时跳过 allocation_history
  920. 准备迁移表: task
  921. 检查 task 的依赖表迁移状态...
  922. ? container_wcs 尚未迁移
  923. ✓ container_detail 已迁移
  924. ✓ bounddetail 已迁移
  925. 依赖表未完全迁移,暂时跳过 task
  926. 准备迁移表: Outbounddetail
  927. 检查 Outbounddetail 的依赖表迁移状态...
  928. ✓ boundlist 已迁移
  929. ✓ boundbatch 已迁移
  930. ✓ outbatch 已迁移
  931. 表 Outbounddetail 有 180 行数据需要迁移
  932. 使用主键 (id) 处理冲突
  933. 字段长度限制:
  934. detail_code: 255 字符
  935. creater: 255 字符
  936. openid: 255 字符
  937. 成功迁移 180 行数据
  938. 准备迁移表: container_wcs
  939. 检查 container_wcs 的依赖表迁移状态...
  940. ✓ boundlist 已迁移
  941. ✓ outbatch 已迁移
  942. ✓ boundbatch 已迁移
  943. 表 container_wcs 有 1188 行数据需要迁移
  944. 使用主键 (id) 处理冲突
  945. 字段长度限制:
  946. taskid: 50 字符
  947. tasktype: 50 字符
  948. container: 50 字符
  949. current_location: 50 字符
  950. target_location: 50 字符
  951. batch_number: 50 字符
  952. 成功迁移 1188 行数据
  953. 准备迁移表: out_batch_detail
  954. 检查 out_batch_detail 的依赖表迁移状态...
  955. ✓ boundlist 已迁移
  956. ✓ container_detail 已迁移
  957. ✓ container_list 已迁移
  958. 表 out_batch_detail 有 3517 行数据需要迁移
  959. 使用主键 (id) 处理冲突
  960. 成功迁移 3517 行数据
  961. 准备迁移表: batch_log_from_container_log_detail_logs
  962. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  963. ? container_detail_log 尚未迁移
  964. ✓ batch_log_from_container_log 已迁移
  965. 依赖表未完全迁移,暂时跳过 batch_log_from_container_log_detail_logs
  966. 准备迁移表: material_change_history
  967. 检查 material_change_history 的依赖表迁移状态...
  968. ✓ materialstatistics 已迁移
  969. ✓ batch_log_from_container_log 已迁移
  970. 表 material_change_history 有 164 行数据需要迁移
  971. 使用主键 (id) 处理冲突
  972. 字段长度限制:
  973. goods_code: 50 字符
  974. goods_desc: 100 字符
  975. goods_std: 50 字符
  976. goods_unit: 50 字符
  977. change_type: 20 字符
  978. 成功迁移 164 行数据
  979. 准备迁移表: container_detail_log
  980. 检查 container_detail_log 的依赖表迁移状态...
  981. ✓ container_detail 已迁移
  982. 表 container_detail_log 有 9358 行数据需要迁移
  983. 使用主键 (id) 处理冲突
  984. 字段长度限制:
  985. log_type: 20 字符
  986. creater: 50 字符
  987. 成功迁移 9358 行数据
  988. 本轮迁移后仍有 5 个表未成功迁移
  989. 第 6 轮迁移尝试
  990. 准备迁移表: location_container_link
  991. 检查 location_container_link 的依赖表迁移状态...
  992. ✓ container_wcs 已迁移
  993. ? task 尚未迁移
  994. ✓ location 已迁移
  995. ✓ container_list 已迁移
  996. 依赖表未完全迁移,暂时跳过 location_container_link
  997. 准备迁移表: location_change_log
  998. 检查 location_change_log 的依赖表迁移状态...
  999. ✓ container_wcs 已迁移
  1000. ? task 尚未迁移
  1001. ✓ location 已迁移
  1002. ✓ location 已迁移
  1003. ✓ container_list 已迁移
  1004. 依赖表未完全迁移,暂时跳过 location_change_log
  1005. 准备迁移表: allocation_history
  1006. 检查 allocation_history 的依赖表迁移状态...
  1007. ✓ container_wcs 已迁移
  1008. ? task 尚未迁移
  1009. ✓ location 已迁移
  1010. ✓ location 已迁移
  1011. ✓ container_list 已迁移
  1012. 依赖表未完全迁移,暂时跳过 allocation_history
  1013. 准备迁移表: task
  1014. 检查 task 的依赖表迁移状态...
  1015. ✓ container_wcs 已迁移
  1016. ✓ container_detail 已迁移
  1017. ✓ bounddetail 已迁移
  1018. 表 task 有 17184 行数据需要迁移
  1019. 使用主键 (id) 处理冲突
  1020. 成功迁移 17184 行数据
  1021. 准备迁移表: batch_log_from_container_log_detail_logs
  1022. 检查 batch_log_from_container_log_detail_logs 的依赖表迁移状态...
  1023. ✓ container_detail_log 已迁移
  1024. ✓ batch_log_from_container_log 已迁移
  1025. 表 batch_log_from_container_log_detail_logs 有 3853 行数据需要迁移
  1026. 使用主键 (id) 处理冲突
  1027. 成功迁移 3853 行数据
  1028. 本轮迁移后仍有 3 个表未成功迁移
  1029. 第 7 轮迁移尝试
  1030. 准备迁移表: location_container_link
  1031. 检查 location_container_link 的依赖表迁移状态...
  1032. ✓ container_wcs 已迁移
  1033. ✓ task 已迁移
  1034. ✓ location 已迁移
  1035. ✓ container_list 已迁移
  1036. 表 location_container_link 有 367 行数据需要迁移
  1037. 使用主键 (id) 处理冲突
  1038. 字段长度限制:
  1039. operator: 50 字符
  1040. 成功迁移 367 行数据
  1041. 准备迁移表: location_change_log
  1042. 检查 location_change_log 的依赖表迁移状态...
  1043. ✓ container_wcs 已迁移
  1044. ✓ task 已迁移
  1045. ✓ location 已迁移
  1046. ✓ location 已迁移
  1047. ✓ container_list 已迁移
  1048. 表 location_change_log 为空,跳过
  1049. 准备迁移表: allocation_history
  1050. 检查 allocation_history 的依赖表迁移状态...
  1051. ✓ container_wcs 已迁移
  1052. ✓ task 已迁移
  1053. ✓ location 已迁移
  1054. ✓ location 已迁移
  1055. ✓ container_list 已迁移
  1056. 表 allocation_history 为空,跳过
  1057. 所有表迁移成功!