Home  >  Q&A  >  body text

Automatically upload new data to the database as soon as it is available

Requirement: Implement automatic uploading of data as soon as the database has data

Explanation of requirement: I have done a hospital electronic hair bleaching project before. The requirement is like this. After the outpatient fee office checks out, the database will appear. The patient's payment information is then uploaded to the provincial tax platform to generate an electronic payment. What we did before was that when there was a new payment, it was displayed on the page. The charging personnel clicked to upload, and the data was uploaded. Now they think it is too busy and it is troublesome to go to the click to upload. I asked if it can be done as soon as possible. If there is new payment data, the program will automatically detect it and upload it automatically. But to retain the function of manual click upload, you can choose to upload automatically, or you can choose not to upload automatically and manually click and generate it yourself.


PHP中文网用户-5864116PHP中文网用户-5864116478 days ago418

reply all(2)I'll reply

  • 旧梦难温&

    旧梦难温&2023-07-25 10:27:42

    Just write a queue and execute it automatically

    reply
    0
  • P粉733459990

    P粉7334599902023-07-24 11:09:09

    Write an upload script, then use Linux to do a regular task, and execute it when the time comes

    reply
    0
  • Cancelreply