add check mode

final commit for spin 1
change gen order number
fix database
fix product table new insert data
fix database and re-gen entities

test old feature ok