xuankuang_dml_20230904.sql 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. -- ----------------------------
  2. -- 增加库位对应wcs库位信息
  3. -- ----------------------------
  4. update base_location_info set userdefine4 = '0110S' where row_index = 1 and row_no = 10 and shift_no = 1;
  5. update base_location_info set userdefine4 = '0205S' where row_index = 2 and row_no = 5 and shift_no = 1;
  6. update base_location_info set userdefine4 = '0206S' where row_index = 2 and row_no = 6 and shift_no = 1;
  7. update base_location_info set userdefine4 = '0207S' where row_index = 2 and row_no = 7 and shift_no = 1;
  8. update base_location_info set userdefine4 = '0208S' where row_index = 2 and row_no = 8 and shift_no = 1;
  9. update base_location_info set userdefine4 = '0210S' where row_index = 2 and row_no = 10 and shift_no = 1;
  10. update base_location_info set userdefine4 = '0301S' where row_index = 3 and row_no = 1 and shift_no = 1;
  11. update base_location_info set userdefine4 = '0302S' where row_index = 3 and row_no = 2 and shift_no = 1;
  12. update base_location_info set userdefine4 = '0303S' where row_index = 3 and row_no = 3 and shift_no = 1;
  13. update base_location_info set userdefine4 = '0305S' where row_index = 3 and row_no = 5 and shift_no = 1;
  14. update base_location_info set userdefine4 = '0306S' where row_index = 3 and row_no = 6 and shift_no = 1;
  15. update base_location_info set userdefine4 = '0307S' where row_index = 3 and row_no = 7 and shift_no = 1;
  16. update base_location_info set userdefine4 = '0308S' where row_index = 3 and row_no = 8 and shift_no = 1;
  17. update base_location_info set userdefine4 = '0310S' where row_index = 3 and row_no = 10 and shift_no = 1;
  18. update base_location_info set userdefine4 = '0401S' where row_index = 4 and row_no = 1 and shift_no = 1;
  19. update base_location_info set userdefine4 = '0402S' where row_index = 4 and row_no = 2 and shift_no = 1;
  20. update base_location_info set userdefine4 = '0403S' where row_index = 4 and row_no = 3 and shift_no = 1;
  21. update base_location_info set userdefine4 = '0405S' where row_index = 4 and row_no = 5 and shift_no = 1;
  22. update base_location_info set userdefine4 = '0406S' where row_index = 4 and row_no = 6 and shift_no = 1;
  23. update base_location_info set userdefine4 = '0407S' where row_index = 4 and row_no = 7 and shift_no = 1;
  24. update base_location_info set userdefine4 = '0408S' where row_index = 4 and row_no = 8 and shift_no = 1;
  25. update base_location_info set userdefine4 = '0410S' where row_index = 4 and row_no = 10 and shift_no = 1;
  26. update base_location_info set userdefine4 = '0503S' where row_index = 5 and row_no = 3 and shift_no = 1;
  27. update base_location_info set userdefine4 = '0505S' where row_index = 5 and row_no = 5 and shift_no = 1;
  28. update base_location_info set userdefine4 = '0506S' where row_index = 5 and row_no = 6 and shift_no = 1;
  29. update base_location_info set userdefine4 = '0507S' where row_index = 5 and row_no = 7 and shift_no = 1;
  30. update base_location_info set userdefine4 = '0508S' where row_index = 5 and row_no = 8 and shift_no = 1;
  31. update base_location_info set userdefine4 = '0510S' where row_index = 5 and row_no = 10 and shift_no = 1;
  32. update base_location_info set userdefine4 = '0603S' where row_index = 6 and row_no = 3 and shift_no = 1;
  33. update base_location_info set userdefine4 = '0605S' where row_index = 6 and row_no = 5 and shift_no = 1;
  34. update base_location_info set userdefine4 = '0606S' where row_index = 6 and row_no = 6 and shift_no = 1;
  35. update base_location_info set userdefine4 = '0607S' where row_index = 6 and row_no = 7 and shift_no = 1;
  36. update base_location_info set userdefine4 = '0608S' where row_index = 6 and row_no = 8 and shift_no = 1;
  37. update base_location_info set userdefine4 = '0610S' where row_index = 6 and row_no = 10 and shift_no = 1;
  38. update base_location_info set userdefine4 = '0703S' where row_index = 7 and row_no = 3 and shift_no = 1;
  39. update base_location_info set userdefine4 = '0705S' where row_index = 7 and row_no = 5 and shift_no = 1;
  40. update base_location_info set userdefine4 = '0706S' where row_index = 7 and row_no = 6 and shift_no = 1;
  41. update base_location_info set userdefine4 = '0707S' where row_index = 7 and row_no = 7 and shift_no = 1;
  42. update base_location_info set userdefine4 = '0708S' where row_index = 7 and row_no = 8 and shift_no = 1;
  43. update base_location_info set userdefine4 = '0710S' where row_index = 7 and row_no = 10 and shift_no = 1;
  44. update base_location_info set userdefine4 = '0801S' where row_index = 8 and row_no = 1 and shift_no = 1;
  45. update base_location_info set userdefine4 = '0802S' where row_index = 8 and row_no = 2 and shift_no = 1;
  46. update base_location_info set userdefine4 = '0803S' where row_index = 8 and row_no = 3 and shift_no = 1;
  47. update base_location_info set userdefine4 = '0805S' where row_index = 8 and row_no = 5 and shift_no = 1;
  48. update base_location_info set userdefine4 = '0806S' where row_index = 8 and row_no = 6 and shift_no = 1;
  49. update base_location_info set userdefine4 = '0807S' where row_index = 8 and row_no = 7 and shift_no = 1;
  50. update base_location_info set userdefine4 = '0808S' where row_index = 8 and row_no = 8 and shift_no = 1;
  51. update base_location_info set userdefine4 = '0810S' where row_index = 8 and row_no = 10 and shift_no = 1;
  52. update base_location_info set userdefine4 = '0901S' where row_index = 9 and row_no = 1 and shift_no = 1;
  53. update base_location_info set userdefine4 = '0902S' where row_index = 9 and row_no = 2 and shift_no = 1;
  54. update base_location_info set userdefine4 = '0903S' where row_index = 9 and row_no = 3 and shift_no = 1;
  55. update base_location_info set userdefine4 = '0905S' where row_index = 9 and row_no = 5 and shift_no = 1;
  56. update base_location_info set userdefine4 = '0906S' where row_index = 9 and row_no = 6 and shift_no = 1;
  57. update base_location_info set userdefine4 = '0907S' where row_index = 9 and row_no = 7 and shift_no = 1;
  58. update base_location_info set userdefine4 = '0908S' where row_index = 9 and row_no = 8 and shift_no = 1;
  59. update base_location_info set userdefine4 = '0910S' where row_index = 9 and row_no = 10 and shift_no = 1;
  60. update base_location_info set userdefine4 = '1005S' where row_index = 10 and row_no = 5 and shift_no = 1;
  61. update base_location_info set userdefine4 = '1006S' where row_index = 10 and row_no = 6 and shift_no = 1;
  62. update base_location_info set userdefine4 = '1007S' where row_index = 10 and row_no = 7 and shift_no = 1;
  63. update base_location_info set userdefine4 = '1008S' where row_index = 10 and row_no = 8 and shift_no = 1;
  64. update base_location_info set userdefine4 = '1010S' where row_index = 10 and row_no = 10 and shift_no = 1;
  65. update base_location_info set userdefine4 = '1110S' where row_index = 11 and row_no = 10 and shift_no = 1;
  66. update base_location_info set userdefine4 = '1205S' where row_index = 12 and row_no = 5 and shift_no = 1;
  67. update base_location_info set userdefine4 = '1206S' where row_index = 12 and row_no = 6 and shift_no = 1;
  68. update base_location_info set userdefine4 = '1207S' where row_index = 12 and row_no = 7 and shift_no = 1;
  69. update base_location_info set userdefine4 = '1208S' where row_index = 12 and row_no = 8 and shift_no = 1;
  70. update base_location_info set userdefine4 = '1210S' where row_index = 12 and row_no = 10 and shift_no = 1;
  71. update base_location_info set userdefine4 = '1303S' where row_index = 13 and row_no = 3 and shift_no = 1;
  72. update base_location_info set userdefine4 = '1305S' where row_index = 13 and row_no = 5 and shift_no = 1;
  73. update base_location_info set userdefine4 = '1306S' where row_index = 13 and row_no = 6 and shift_no = 1;
  74. update base_location_info set userdefine4 = '1307S' where row_index = 13 and row_no = 7 and shift_no = 1;
  75. update base_location_info set userdefine4 = '1308S' where row_index = 13 and row_no = 8 and shift_no = 1;
  76. update base_location_info set userdefine4 = '1310S' where row_index = 13 and row_no = 10 and shift_no = 1;
  77. update base_location_info set userdefine4 = '1405S' where row_index = 14 and row_no = 5 and shift_no = 1;
  78. update base_location_info set userdefine4 = '1406S' where row_index = 14 and row_no = 6 and shift_no = 1;
  79. update base_location_info set userdefine4 = '1407S' where row_index = 14 and row_no = 7 and shift_no = 1;
  80. update base_location_info set userdefine4 = '1408S' where row_index = 14 and row_no = 8 and shift_no = 1;
  81. update base_location_info set userdefine4 = '1410S' where row_index = 14 and row_no = 10 and shift_no = 1;
  82. update base_location_info set userdefine4 = '0110S' where row_index = 1 and row_no = 10 and shift_no = 2;
  83. update base_location_info set userdefine4 = '0205S' where row_index = 2 and row_no = 5 and shift_no = 2;
  84. update base_location_info set userdefine4 = '0206S' where row_index = 2 and row_no = 6 and shift_no = 2;
  85. update base_location_info set userdefine4 = '0207S' where row_index = 2 and row_no = 7 and shift_no = 2;
  86. update base_location_info set userdefine4 = '0208S' where row_index = 2 and row_no = 8 and shift_no = 2;
  87. update base_location_info set userdefine4 = '0210S' where row_index = 2 and row_no = 10 and shift_no = 2;
  88. update base_location_info set userdefine4 = '0301S' where row_index = 3 and row_no = 1 and shift_no = 2;
  89. update base_location_info set userdefine4 = '0302S' where row_index = 3 and row_no = 2 and shift_no = 2;
  90. update base_location_info set userdefine4 = '0303S' where row_index = 3 and row_no = 3 and shift_no = 2;
  91. update base_location_info set userdefine4 = '0305S' where row_index = 3 and row_no = 5 and shift_no = 2;
  92. update base_location_info set userdefine4 = '0306S' where row_index = 3 and row_no = 6 and shift_no = 2;
  93. update base_location_info set userdefine4 = '0307S' where row_index = 3 and row_no = 7 and shift_no = 2;
  94. update base_location_info set userdefine4 = '0308S' where row_index = 3 and row_no = 8 and shift_no = 2;
  95. update base_location_info set userdefine4 = '0310S' where row_index = 3 and row_no = 10 and shift_no = 2;
  96. update base_location_info set userdefine4 = '0401S' where row_index = 4 and row_no = 1 and shift_no = 2;
  97. update base_location_info set userdefine4 = '0402S' where row_index = 4 and row_no = 2 and shift_no = 2;
  98. update base_location_info set userdefine4 = '0403S' where row_index = 4 and row_no = 3 and shift_no = 2;
  99. update base_location_info set userdefine4 = '0405S' where row_index = 4 and row_no = 5 and shift_no = 2;
  100. update base_location_info set userdefine4 = '0406S' where row_index = 4 and row_no = 6 and shift_no = 2;
  101. update base_location_info set userdefine4 = '0407S' where row_index = 4 and row_no = 7 and shift_no = 2;
  102. update base_location_info set userdefine4 = '0408S' where row_index = 4 and row_no = 8 and shift_no = 2;
  103. update base_location_info set userdefine4 = '0410S' where row_index = 4 and row_no = 10 and shift_no = 2;
  104. update base_location_info set userdefine4 = '0503S' where row_index = 5 and row_no = 3 and shift_no = 2;
  105. update base_location_info set userdefine4 = '0505S' where row_index = 5 and row_no = 5 and shift_no = 2;
  106. update base_location_info set userdefine4 = '0506S' where row_index = 5 and row_no = 6 and shift_no = 2;
  107. update base_location_info set userdefine4 = '0507S' where row_index = 5 and row_no = 7 and shift_no = 2;
  108. update base_location_info set userdefine4 = '0508S' where row_index = 5 and row_no = 8 and shift_no = 2;
  109. update base_location_info set userdefine4 = '0510S' where row_index = 5 and row_no = 10 and shift_no = 2;
  110. update base_location_info set userdefine4 = '0605S' where row_index = 6 and row_no = 5 and shift_no = 2;
  111. update base_location_info set userdefine4 = '0606S' where row_index = 6 and row_no = 6 and shift_no = 2;
  112. update base_location_info set userdefine4 = '0607S' where row_index = 6 and row_no = 7 and shift_no = 2;
  113. update base_location_info set userdefine4 = '0608S' where row_index = 6 and row_no = 8 and shift_no = 2;
  114. update base_location_info set userdefine4 = '0610S' where row_index = 6 and row_no = 10 and shift_no = 2;
  115. update base_location_info set userdefine4 = '0703S' where row_index = 7 and row_no = 3 and shift_no = 2;
  116. update base_location_info set userdefine4 = '0705S' where row_index = 7 and row_no = 5 and shift_no = 2;
  117. update base_location_info set userdefine4 = '0706S' where row_index = 7 and row_no = 6 and shift_no = 2;
  118. update base_location_info set userdefine4 = '0707S' where row_index = 7 and row_no = 7 and shift_no = 2;
  119. update base_location_info set userdefine4 = '0708S' where row_index = 7 and row_no = 8 and shift_no = 2;
  120. update base_location_info set userdefine4 = '0710S' where row_index = 7 and row_no = 10 and shift_no = 2;
  121. update base_location_info set userdefine4 = '0801S' where row_index = 8 and row_no = 1 and shift_no = 2;
  122. update base_location_info set userdefine4 = '0802S' where row_index = 8 and row_no = 2 and shift_no = 2;
  123. update base_location_info set userdefine4 = '0803S' where row_index = 8 and row_no = 3 and shift_no = 2;
  124. update base_location_info set userdefine4 = '0805S' where row_index = 8 and row_no = 5 and shift_no = 2;
  125. update base_location_info set userdefine4 = '0806S' where row_index = 8 and row_no = 6 and shift_no = 2;
  126. update base_location_info set userdefine4 = '0807S' where row_index = 8 and row_no = 7 and shift_no = 2;
  127. update base_location_info set userdefine4 = '0808S' where row_index = 8 and row_no = 8 and shift_no = 2;
  128. update base_location_info set userdefine4 = '0810S' where row_index = 8 and row_no = 10 and shift_no = 2;
  129. update base_location_info set userdefine4 = '0901S' where row_index = 9 and row_no = 1 and shift_no = 2;
  130. update base_location_info set userdefine4 = '0902S' where row_index = 9 and row_no = 2 and shift_no = 2;
  131. update base_location_info set userdefine4 = '0903S' where row_index = 9 and row_no = 3 and shift_no = 2;
  132. update base_location_info set userdefine4 = '0905S' where row_index = 9 and row_no = 5 and shift_no = 2;
  133. update base_location_info set userdefine4 = '0906S' where row_index = 9 and row_no = 6 and shift_no = 2;
  134. update base_location_info set userdefine4 = '0907S' where row_index = 9 and row_no = 7 and shift_no = 2;
  135. update base_location_info set userdefine4 = '0908S' where row_index = 9 and row_no = 8 and shift_no = 2;
  136. update base_location_info set userdefine4 = '0910S' where row_index = 9 and row_no = 10 and shift_no = 2;
  137. update base_location_info set userdefine4 = '1005S' where row_index = 10 and row_no = 5 and shift_no = 2;
  138. update base_location_info set userdefine4 = '1006S' where row_index = 10 and row_no = 6 and shift_no = 2;
  139. update base_location_info set userdefine4 = '1007S' where row_index = 10 and row_no = 7 and shift_no = 2;
  140. update base_location_info set userdefine4 = '1008S' where row_index = 10 and row_no = 8 and shift_no = 2;
  141. update base_location_info set userdefine4 = '1010S' where row_index = 10 and row_no = 10 and shift_no = 2;
  142. update base_location_info set userdefine4 = '1110S' where row_index = 11 and row_no = 10 and shift_no = 2;
  143. update base_location_info set userdefine4 = '1205S' where row_index = 12 and row_no = 5 and shift_no = 2;
  144. update base_location_info set userdefine4 = '1206S' where row_index = 12 and row_no = 6 and shift_no = 2;
  145. update base_location_info set userdefine4 = '1207S' where row_index = 12 and row_no = 7 and shift_no = 2;
  146. update base_location_info set userdefine4 = '1208S' where row_index = 12 and row_no = 8 and shift_no = 2;
  147. update base_location_info set userdefine4 = '1210S' where row_index = 12 and row_no = 10 and shift_no = 2;
  148. update base_location_info set userdefine4 = '1305S' where row_index = 13 and row_no = 5 and shift_no = 2;
  149. update base_location_info set userdefine4 = '1306S' where row_index = 13 and row_no = 6 and shift_no = 2;
  150. update base_location_info set userdefine4 = '1307S' where row_index = 13 and row_no = 7 and shift_no = 2;
  151. update base_location_info set userdefine4 = '1308S' where row_index = 13 and row_no = 8 and shift_no = 2;
  152. update base_location_info set userdefine4 = '1310S' where row_index = 13 and row_no = 10 and shift_no = 2;
  153. update base_location_info set userdefine4 = '1405S' where row_index = 14 and row_no = 5 and shift_no = 2;
  154. update base_location_info set userdefine4 = '1406S' where row_index = 14 and row_no = 6 and shift_no = 2;
  155. update base_location_info set userdefine4 = '1407S' where row_index = 14 and row_no = 7 and shift_no = 2;
  156. update base_location_info set userdefine4 = '1408S' where row_index = 14 and row_no = 8 and shift_no = 2;
  157. update base_location_info set userdefine4 = '1410S' where row_index = 14 and row_no = 10 and shift_no = 2;
  158. update base_location_info set userdefine4 = '0110S' where row_index = 1 and row_no = 10 and shift_no = 3;
  159. update base_location_info set userdefine4 = '0205S' where row_index = 2 and row_no = 5 and shift_no = 3;
  160. update base_location_info set userdefine4 = '0206S' where row_index = 2 and row_no = 6 and shift_no = 3;
  161. update base_location_info set userdefine4 = '0207S' where row_index = 2 and row_no = 7 and shift_no = 3;
  162. update base_location_info set userdefine4 = '0208S' where row_index = 2 and row_no = 8 and shift_no = 3;
  163. update base_location_info set userdefine4 = '0210S' where row_index = 2 and row_no = 10 and shift_no = 3;
  164. update base_location_info set userdefine4 = '0301S' where row_index = 3 and row_no = 1 and shift_no = 3;
  165. update base_location_info set userdefine4 = '0302S' where row_index = 3 and row_no = 2 and shift_no = 3;
  166. update base_location_info set userdefine4 = '0303S' where row_index = 3 and row_no = 3 and shift_no = 3;
  167. update base_location_info set userdefine4 = '0305S' where row_index = 3 and row_no = 5 and shift_no = 3;
  168. update base_location_info set userdefine4 = '0306S' where row_index = 3 and row_no = 6 and shift_no = 3;
  169. update base_location_info set userdefine4 = '0307S' where row_index = 3 and row_no = 7 and shift_no = 3;
  170. update base_location_info set userdefine4 = '0308S' where row_index = 3 and row_no = 8 and shift_no = 3;
  171. update base_location_info set userdefine4 = '0310S' where row_index = 3 and row_no = 10 and shift_no = 3;
  172. update base_location_info set userdefine4 = '0401S' where row_index = 4 and row_no = 1 and shift_no = 3;
  173. update base_location_info set userdefine4 = '0402S' where row_index = 4 and row_no = 2 and shift_no = 3;
  174. update base_location_info set userdefine4 = '0403S' where row_index = 4 and row_no = 3 and shift_no = 3;
  175. update base_location_info set userdefine4 = '0405S' where row_index = 4 and row_no = 5 and shift_no = 3;
  176. update base_location_info set userdefine4 = '0406S' where row_index = 4 and row_no = 6 and shift_no = 3;
  177. update base_location_info set userdefine4 = '0407S' where row_index = 4 and row_no = 7 and shift_no = 3;
  178. update base_location_info set userdefine4 = '0408S' where row_index = 4 and row_no = 8 and shift_no = 3;
  179. update base_location_info set userdefine4 = '0410S' where row_index = 4 and row_no = 10 and shift_no = 3;
  180. update base_location_info set userdefine4 = '0503S' where row_index = 5 and row_no = 3 and shift_no = 3;
  181. update base_location_info set userdefine4 = '0505S' where row_index = 5 and row_no = 5 and shift_no = 3;
  182. update base_location_info set userdefine4 = '0506S' where row_index = 5 and row_no = 6 and shift_no = 3;
  183. update base_location_info set userdefine4 = '0507S' where row_index = 5 and row_no = 7 and shift_no = 3;
  184. update base_location_info set userdefine4 = '0508S' where row_index = 5 and row_no = 8 and shift_no = 3;
  185. update base_location_info set userdefine4 = '0510S' where row_index = 5 and row_no = 10 and shift_no = 3;
  186. update base_location_info set userdefine4 = '0605S' where row_index = 6 and row_no = 5 and shift_no = 3;
  187. update base_location_info set userdefine4 = '0606S' where row_index = 6 and row_no = 6 and shift_no = 3;
  188. update base_location_info set userdefine4 = '0607S' where row_index = 6 and row_no = 7 and shift_no = 3;
  189. update base_location_info set userdefine4 = '0608S' where row_index = 6 and row_no = 8 and shift_no = 3;
  190. update base_location_info set userdefine4 = '0610S' where row_index = 6 and row_no = 10 and shift_no = 3;
  191. update base_location_info set userdefine4 = '0703S' where row_index = 7 and row_no = 3 and shift_no = 3;
  192. update base_location_info set userdefine4 = '0705S' where row_index = 7 and row_no = 5 and shift_no = 3;
  193. update base_location_info set userdefine4 = '0706S' where row_index = 7 and row_no = 6 and shift_no = 3;
  194. update base_location_info set userdefine4 = '0707S' where row_index = 7 and row_no = 7 and shift_no = 3;
  195. update base_location_info set userdefine4 = '0708S' where row_index = 7 and row_no = 8 and shift_no = 3;
  196. update base_location_info set userdefine4 = '0710S' where row_index = 7 and row_no = 10 and shift_no = 3;
  197. update base_location_info set userdefine4 = '0801S' where row_index = 8 and row_no = 1 and shift_no = 3;
  198. update base_location_info set userdefine4 = '0802S' where row_index = 8 and row_no = 2 and shift_no = 3;
  199. update base_location_info set userdefine4 = '0803S' where row_index = 8 and row_no = 3 and shift_no = 3;
  200. update base_location_info set userdefine4 = '0805S' where row_index = 8 and row_no = 5 and shift_no = 3;
  201. update base_location_info set userdefine4 = '0806S' where row_index = 8 and row_no = 6 and shift_no = 3;
  202. update base_location_info set userdefine4 = '0807S' where row_index = 8 and row_no = 7 and shift_no = 3;
  203. update base_location_info set userdefine4 = '0808S' where row_index = 8 and row_no = 8 and shift_no = 3;
  204. update base_location_info set userdefine4 = '0810S' where row_index = 8 and row_no = 10 and shift_no = 3;
  205. update base_location_info set userdefine4 = '0901S' where row_index = 9 and row_no = 1 and shift_no = 3;
  206. update base_location_info set userdefine4 = '0902S' where row_index = 9 and row_no = 2 and shift_no = 3;
  207. update base_location_info set userdefine4 = '0903S' where row_index = 9 and row_no = 3 and shift_no = 3;
  208. update base_location_info set userdefine4 = '0905S' where row_index = 9 and row_no = 5 and shift_no = 3;
  209. update base_location_info set userdefine4 = '0906S' where row_index = 9 and row_no = 6 and shift_no = 3;
  210. update base_location_info set userdefine4 = '0907S' where row_index = 9 and row_no = 7 and shift_no = 3;
  211. update base_location_info set userdefine4 = '0908S' where row_index = 9 and row_no = 8 and shift_no = 3;
  212. update base_location_info set userdefine4 = '0910S' where row_index = 9 and row_no = 10 and shift_no = 3;
  213. update base_location_info set userdefine4 = '1005S' where row_index = 10 and row_no = 5 and shift_no = 3;
  214. update base_location_info set userdefine4 = '1006S' where row_index = 10 and row_no = 6 and shift_no = 3;
  215. update base_location_info set userdefine4 = '1007S' where row_index = 10 and row_no = 7 and shift_no = 3;
  216. update base_location_info set userdefine4 = '1008S' where row_index = 10 and row_no = 8 and shift_no = 3;
  217. update base_location_info set userdefine4 = '1010S' where row_index = 10 and row_no = 10 and shift_no = 3;
  218. update base_location_info set userdefine4 = '1110S' where row_index = 11 and row_no = 10 and shift_no = 3;
  219. update base_location_info set userdefine4 = '1205S' where row_index = 12 and row_no = 5 and shift_no = 3;
  220. update base_location_info set userdefine4 = '1206S' where row_index = 12 and row_no = 6 and shift_no = 3;
  221. update base_location_info set userdefine4 = '1207S' where row_index = 12 and row_no = 7 and shift_no = 3;
  222. update base_location_info set userdefine4 = '1208S' where row_index = 12 and row_no = 8 and shift_no = 3;
  223. update base_location_info set userdefine4 = '1210S' where row_index = 12 and row_no = 10 and shift_no = 3;
  224. update base_location_info set userdefine4 = '1305S' where row_index = 13 and row_no = 5 and shift_no = 3;
  225. update base_location_info set userdefine4 = '1306S' where row_index = 13 and row_no = 6 and shift_no = 3;
  226. update base_location_info set userdefine4 = '1307S' where row_index = 13 and row_no = 7 and shift_no = 3;
  227. update base_location_info set userdefine4 = '1308S' where row_index = 13 and row_no = 8 and shift_no = 3;
  228. update base_location_info set userdefine4 = '1310S' where row_index = 13 and row_no = 10 and shift_no = 3;
  229. update base_location_info set userdefine4 = '1405S' where row_index = 14 and row_no = 5 and shift_no = 3;
  230. update base_location_info set userdefine4 = '1406S' where row_index = 14 and row_no = 6 and shift_no = 3;
  231. update base_location_info set userdefine4 = '1407S' where row_index = 14 and row_no = 7 and shift_no = 3;
  232. update base_location_info set userdefine4 = '1408S' where row_index = 14 and row_no = 8 and shift_no = 3;
  233. update base_location_info set userdefine4 = '1410S' where row_index = 14 and row_no = 10 and shift_no = 3;
  234. DELETE FROM base_location_info WHERE id = 101334;
  235. DELETE FROM base_location_info WHERE id = 101333;
  236. DELETE FROM base_location_info WHERE id = 101332;
  237. DELETE FROM base_location_info WHERE id = 101331;
  238. DELETE FROM base_location_info WHERE id = 101330;
  239. DELETE FROM base_location_info WHERE id = 100726;
  240. DELETE FROM base_location_info WHERE id = 100728;
  241. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101334, 1, 4, 'empty-pallet-06', NULL, NULL, NULL, '3', 1, NULL, NULL, '00', 'Y', '3', '2', NULL, NULL, 1, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'EMP_TRAY_BAG', '', '2023-08-22 16:41:57', 'admin', NULL, NULL);
  242. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101333, 1, 4, 'empty-pallet-05', NULL, NULL, NULL, '3', 1, NULL, NULL, '00', 'Y', '3', '2', NULL, NULL, 1, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'EMP_TRAY_BAG', '', '2023-08-22 16:41:57', 'admin', NULL, NULL);
  243. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101332, 1, 4, 'empty-pallet-04', NULL, NULL, NULL, '3', 1, NULL, NULL, '00', 'Y', '3', '2', NULL, NULL, 1, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'EMP_TRAY_BAG', '', '2023-08-22 16:41:57', 'admin', NULL, NULL);
  244. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101331, 1, 4, 'empty-pallet-03', NULL, NULL, NULL, '3', 1, NULL, NULL, '00', 'Y', '3', '2', NULL, NULL, 1, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'EMP_TRAY_BAG', '', '2023-08-21 16:27:10', 'admin', NULL, NULL);
  245. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101330, 1, 4, 'empty-pallet-02', NULL, NULL, NULL, '3', 1, NULL, NULL, '00', 'Y', '3', '2', NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'EMP_TRAY_BAG', '', '2023-08-21 16:16:38', 'Wcs', '2023-08-22 20:24:22', NULL);
  246. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100726, 1, 4, 'empty-pallet-01', NULL, NULL, NULL, '3', 1, NULL, NULL, '00', 'Y', '3', '2', NULL, NULL, 1, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'EMP_TRAY_BAG', '', '2023-03-30 17:27:01', 'admin', '2023-08-21 16:03:24', NULL);
  247. INSERT INTO `base_location_info` (`id`, `warehouse_id`, `zone_id`, `location_no`, `location_barcode`, `row_no`, `row_index`, `col_no`, `col_index`, `shift_no`, `shift_index`, `stock_status`, `is_empty`, `bind_sku`, `location_type`, `rack_id`, `agv_station`, `folded_tag`, `folded_count`, `height_limit`, `weight_limit`, `userdefine1`, `userdefine2`, `userdefine3`, `userdefine4`, `userdefine5`, `userdefine6`, `userdefine7`, `userdefine8`, `userdefine9`, `userdefine10`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100728, 1, 5, 'empty-bucket-01', NULL, NULL, NULL, '2', 1, NULL, NULL, '00', 'Y', '1', '2', NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '', '2023-03-30 17:27:53', 'NDC', '2023-08-02 20:22:23', NULL);
  248. DELETE FROM `inv_lot_loc_id` WHERE location_id = 101334;
  249. DELETE FROM `inv_lot_loc_id` WHERE location_id = 101333;
  250. DELETE FROM `inv_lot_loc_id` WHERE location_id = 101332;
  251. DELETE FROM `inv_lot_loc_id` WHERE location_id = 101331;
  252. DELETE FROM `inv_lot_loc_id` WHERE location_id = 101330;
  253. DELETE FROM `inv_lot_loc_id` WHERE location_id = 100726;
  254. INSERT INTO `inv_lot_loc_id` (`lotnum`, `location_id`, `traceid`, `customer_id`, `sku`, `qty`, `qty_each`, `qtyallocated`, `qtyallocated_each`, `qtypa`, `qtyrpin`, `qtyrpout`, `qtymvin`, `qtymvout`, `qtyonhold`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('LT2088080800888888', '101334', NULL, 'default', 'EMP_TRAY_BAG', 1.00000000, 1.00000000, 0.00000000, 0.00000000, 0.00000000, 0.000, NULL, NULL, NULL, NULL, '', NULL, 'Generator', NULL, NULL);
  255. INSERT INTO `inv_lot_loc_id` (`lotnum`, `location_id`, `traceid`, `customer_id`, `sku`, `qty`, `qty_each`, `qtyallocated`, `qtyallocated_each`, `qtypa`, `qtyrpin`, `qtyrpout`, `qtymvin`, `qtymvout`, `qtyonhold`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('LT2088081800888888', '101333', NULL, 'default', 'EMP_TRAY_BAG', 1.00000000, 1.00000000, 0.00000000, 0.00000000, 0.00000000, 0.000, NULL, NULL, NULL, NULL, '', NULL, 'Generator', NULL, NULL);
  256. INSERT INTO `inv_lot_loc_id` (`lotnum`, `location_id`, `traceid`, `customer_id`, `sku`, `qty`, `qty_each`, `qtyallocated`, `qtyallocated_each`, `qtypa`, `qtyrpin`, `qtyrpout`, `qtymvin`, `qtymvout`, `qtyonhold`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('LT2088082800888888', '101332', NULL, 'default', 'EMP_TRAY_BAG', 1.00000000, 1.00000000, 0.00000000, 0.00000000, 0.00000000, 0.000, NULL, NULL, NULL, NULL, '', NULL, 'Generator', NULL, NULL);
  257. INSERT INTO `inv_lot_loc_id` (`lotnum`, `location_id`, `traceid`, `customer_id`, `sku`, `qty`, `qty_each`, `qtyallocated`, `qtyallocated_each`, `qtypa`, `qtyrpin`, `qtyrpout`, `qtymvin`, `qtymvout`, `qtyonhold`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('LT2088083800888888', '101331', NULL, 'default', 'EMP_TRAY_BAG', 1.00000000, 1.00000000, 0.00000000, 0.00000000, 0.00000000, 0.000, NULL, NULL, NULL, NULL, '', NULL, 'Generator', NULL, NULL);
  258. INSERT INTO `inv_lot_loc_id` (`lotnum`, `location_id`, `traceid`, `customer_id`, `sku`, `qty`, `qty_each`, `qtyallocated`, `qtyallocated_each`, `qtypa`, `qtyrpin`, `qtyrpout`, `qtymvin`, `qtymvout`, `qtyonhold`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('LT2088084800888888', '101330', NULL, 'default', 'EMP_TRAY_BAG', 1.00000000, 1.00000000, 0.00000000, 0.00000000, 0.00000000, 0.000, NULL, NULL, NULL, NULL, '', NULL, 'Generator', NULL, NULL);
  259. INSERT INTO `inv_lot_loc_id` (`lotnum`, `location_id`, `traceid`, `customer_id`, `sku`, `qty`, `qty_each`, `qtyallocated`, `qtyallocated_each`, `qtypa`, `qtyrpin`, `qtyrpout`, `qtymvin`, `qtymvout`, `qtyonhold`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ('LT2088085800888888', '100726', NULL, 'default', 'EMP_TRAY_BAG', 1.00000000, 1.00000000, 0.00000000, 0.00000000, 0.00000000, 0.000, NULL, NULL, NULL, NULL, '', NULL, 'Generator', NULL, NULL);
  260. DELETE FROM `sys_config` WHERE config_id = 9;
  261. INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '桶装入库场景配置', 'storage.bucket.scene.config', '{\"bucketLocationIdList\":[100733],\"emptyPalletInvList\":[100726,101330,101331,101332,101333,101334],\"emptyPalletInvSort\":[100726,101330,101331,101332,101333,101334],\"locationZoneIdList\":[4,5],\"bucketCacheOut\":[100727],\"bucketCacheIn\":[100724,100725],\"emptyPalletTargetOut\":[100724,100725],\"emptyPalletSourceIn\":[100728],\"bucketCacheZoneIn\":[4],\"bucketCacheZoneOut\":[5]}', 'N', 'admin', '2023-08-21 16:06:47', 'admin', '2023-08-21 16:07:02', '桶装入库库位配置');
  262. DELETE FROM `sys_config` WHERE config_id = 10;
  263. INSERT INTO `sys_config` (`config_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '系统初始化仓库属性配置', 'warehouse.attribute.scene.config', '{\"row\":14,\"column\":10,\"wayRowNoList\":[4,9],\"orderRuleConfig\":\"false\"}', 'N', 'admin', '2023-09-06 22:53:21', 'admin', '2023-09-06 22:53:26', '出库建模配置');
  264. DELETE FROM `ams_hexdefine_detail` WHERE business_type = '101';
  265. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Header key', '1', NULL, '87CD', '1', '1');
  266. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Size of header', '1', NULL, '0008', '1', '2');
  267. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Size of message', '1', NULL, '000E', '1', '3');
  268. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Funcation code', '1', NULL, '0001', '1', '4');
  269. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Message type', '1', NULL, '0071', '1', '5');
  270. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Number of parameters', '1', NULL, '000A', '1', '6');
  271. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'TS Order', '1', NULL, '65', '1', '7');
  272. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'Priority', '2', NULL, 'priority', '1', '8');
  273. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'code', '1', NULL, '0001', '1', '9');
  274. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'IKEY', '2', NULL, 'iKey', '1', '10');
  275. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'LP0', '2', NULL, 'ext2', '1', '11');
  276. INSERT INTO `ams_hexdefine_detail` (`business_type`, `col_name`, `col_type`, `bind_table`, `col_val`, `val_type`, `sort_index`) VALUES ( '101', 'LP1', '2', NULL, 'ext3', '1', '12');
  277. INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (18, '搅拌槽出库单创建流程', 'DEFAULT', 'startService.agitateTankCreateOrderTask', '0/30 * * * * ?', '1', '1', '0', 'admin', '2023-09-22 13:54:21', 'admin', '2023-09-22 13:54:31', NULL);
  278. INSERT INTO `sys_job` (`job_id`, `job_name`, `job_group`, `invoke_target`, `cron_expression`, `misfire_policy`, `concurrent`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (19, '搅拌槽开始任务流程', 'DEFAULT', 'startService.agitateTankExcuteTask', '0/30 * * * * ?', '1', '1', '0', 'admin', '2023-09-22 13:54:21', 'admin', '2023-09-22 13:54:31', NULL);
  279. INSERT INTO `ams_ndc_event` (`id`, `type`, `eCode`, `locationIndex`, `lp1`, `lp2`, `lp3`, `lp4`, `display`, `displayID`, `level`) VALUES (203, 3, 702, NULL, NULL, NULL, NULL, NULL, 'agv车辆信息', NULL, NULL);