The operation time of pancreatitis should be decided according to the operation mode and intraoperative situation, which are analyzed as follows: 1. Acute pancreatitis caused by gallbladder stones and cholecystitis should be done after recovery from pancreatitis, and if the inflammation around the gallbladder is not heavy, you can choose to do laparoscopy, which can be done in about half an hour to one hour under smooth circumstances. And if the inflammation is heavy and the surrounding adhesions are strong, it may also be difficult to lumpectomy and need to perform open cholecystectomy; 2. Pancreatitis caused by intra- and extra-hepatic bile duct stones, you can choose to do endoscopic stone extraction, lumpectomy or open surgery to remove stones; 3. Acute pancreatitis should be done with ERCP stone extraction surgery, whose time is about half an hour to an hour; 4. Severe pancreatitis, do peripancreatic necrotic tissue and The removal of infected lesions is usually decided according to the extent of necrosis of necrotic tissue and the extent of infected lesions, which is usually about 1-2 hours.