emt-record-time-2.0.sql 1.4 KB

123456789101112131415161718192021222324252627
  1. DELETE FROM emt_record_time;
  2. -- 企业库存信息
  3. INSERT INTO emt_record_time (data_type, last_time, this_time, creater_sn, create_time, moder_sn, mod_time) VALUES (
  4. 'ACQ_INVENTORY_INFO', '2018-02-02 00:00:00', '2018-02-02 00:00:00', '1', now(), '1', now()
  5. );
  6. -- 企业货物上下架信息
  7. -- 上架
  8. INSERT INTO emt_record_time (data_type, last_time, this_time, creater_sn, create_time, moder_sn, mod_time) VALUES (
  9. 'ACQ_SHELF_LOAD', '2018-02-02 00:00:00', '2018-02-02 00:00:00', '1', now(), '1', now()
  10. );
  11. -- 下架
  12. INSERT INTO emt_record_time (data_type, last_time, this_time, creater_sn, create_time, moder_sn, mod_time) VALUES (
  13. 'ACQ_SHELF_LOAD_DOWN', '2018-02-02 00:00:00', '2018-02-02 00:00:00', '1', now(), '1', now()
  14. );
  15. -- 企业货物在仓库的移动信息
  16. -- 上架
  17. INSERT INTO emt_record_time (data_type, last_time, this_time, creater_sn, create_time, moder_sn, mod_time) VALUES (
  18. 'ACQ_GOODS_MOVE_UP', '2018-02-02 00:00:00', '2018-02-02 00:00:00', '1', now(), '1', now()
  19. );
  20. -- 下架
  21. INSERT INTO emt_record_time (data_type, last_time, this_time, creater_sn, create_time, moder_sn, mod_time) VALUES (
  22. 'ACQ_GOODS_MOVE_DOWN', '2018-02-02 00:00:00', '2018-02-02 00:00:00', '1', now(), '1', now()
  23. );
  24. -- 库位上的货物信息
  25. INSERT INTO emt_record_time (data_type, last_time, this_time, creater_sn, create_time, moder_sn, mod_time) VALUES (
  26. 'ACQ_GOODS_ON_SEAT', '2018-02-02 00:00:00', '2018-02-02 00:00:00', '1', now(), '1', now()
  27. );