{
  "status": "pass",
  "lane": "C",
  "mode": "green",
  "marker": "CDXBC10D40C472BB8",
  "date": "2061-01-27",
  "source": {
    "/application/p/controller/Bill.php": "8d99ea508e165d694a156d43420cb98f3a809a0fb9a120716e4f9dd90a4b9cf2",
    "/application/p/logic/Bill.php": "fa5de5c3aef2d8a62b3f7c29a12f81c42a28e701fb8cf2d2db739b1f84a86fa4",
    "/application/model/Bill.php": "daa8f7181928d06b53e57504f229eaf04088e3ea7eaccfad55c07d091db03c18",
    "/application/model/Cater.php": "8d98dc0c54769b6e476be2bba86971debc63ba0c1b3475e8f6f338b17e73c892"
  },
  "natural_before": {
    "sha": "73f7319b730dada9409c6d833dba61937dddff20161e7a15dd386249380b6dc1",
    "recipe_rows": 112
  },
  "cli_no_meal_response": {
    "code": 0,
    "message": "添加成功",
    "data": ""
  },
  "owned_log_id": 431,
  "checks": {
    "underflow_fixed": true,
    "replace": true,
    "repeat_save": true,
    "clear": true,
    "repeat_clear": true,
    "no_meal_real_service": true,
    "final_clear": true,
    "other_restaurant_exactly_unchanged": true,
    "never_negative": true
  },
  "samples": {
    "underflow_save": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    },
    "replace": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    },
    "repeat_save": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    },
    "clear": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    },
    "repeat_clear": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    },
    "no_meal_setup": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    },
    "final_clear": {
      "http": 200,
      "body": {
        "code": 0,
        "message": "添加成功",
        "data": ""
      },
      "mysql_1690": false
    }
  },
  "states": {
    "initial": {
      "dishes": [
        {
          "uuid": "CDXBC10D40C472BB8A",
          "menu_quantity": 0,
          "attribute": 0
        },
        {
          "uuid": "CDXBC10D40C472BB8B",
          "menu_quantity": 0,
          "attribute": 0
        }
      ],
      "recipes": [
        {
          "id": 77599,
          "uuid": "CDXBC10D40C472BB8R",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 7
        },
        {
          "id": 77600,
          "uuid": "CDXBC10D40C472BB8S",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 2,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 11
        }
      ],
      "log": [
        {
          "id": 431,
          "menu_date": "2061-01-27",
          "version": 17,
          "is_delete": 0,
          "create_time": "2026-10-10 11:05:49.000000",
          "update_time": "2026-10-10 11:05:49.774916"
        }
      ]
    },
    "underflow_save": {
      "dishes": [
        {
          "uuid": "CDXBC10D40C472BB8A",
          "menu_quantity": 2,
          "attribute": 1
        },
        {
          "uuid": "CDXBC10D40C472BB8B",
          "menu_quantity": 0,
          "attribute": 0
        }
      ],
      "recipes": [
        {
          "id": 77601,
          "uuid": "4B8DCDC3-5524-0CF8-90B6-AE34504ECD9F",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "1",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 7
        },
        {
          "id": 77600,
          "uuid": "CDXBC10D40C472BB8S",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 2,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 11
        }
      ],
      "log": [
        {
          "id": 431,
          "menu_date": "2061-01-27",
          "version": 18,
          "is_delete": 0,
          "create_time": "2026-10-10 11:05:49.000000",
          "update_time": "2026-10-10 11:05:49.774916"
        }
      ]
    },
    "replace": {
      "dishes": [
        {
          "uuid": "CDXBC10D40C472BB8A",
          "menu_quantity": 1,
          "attribute": 1
        },
        {
          "uuid": "CDXBC10D40C472BB8B",
          "menu_quantity": 2,
          "attribute": 1
        }
      ],
      "recipes": [
        {
          "id": 77602,
          "uuid": "27476638-D847-2191-01AF-27304949CA20",
          "dishes_uuid": "CDXBC10D40C472BB8B",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:50.000000",
          "create_by": "1",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 0
        },
        {
          "id": 77603,
          "uuid": "3BF8D47A-CF43-CCC8-C659-2B620378F1D8",
          "dishes_uuid": "CDXBC10D40C472BB8B",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:50.000000",
          "create_by": "1",
          "meal_times": 2,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 0
        },
        {
          "id": 77600,
          "uuid": "CDXBC10D40C472BB8S",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 2,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 11
        }
      ],
      "log": [
        {
          "id": 431,
          "menu_date": "2061-01-27",
          "version": 19,
          "is_delete": 0,
          "create_time": "2026-10-10 11:05:49.000000",
          "update_time": "2026-10-10 11:05:49.774916"
        }
      ]
    },
    "repeat_save": {
      "dishes": [
        {
          "uuid": "CDXBC10D40C472BB8A",
          "menu_quantity": 1,
          "attribute": 1
        },
        {
          "uuid": "CDXBC10D40C472BB8B",
          "menu_quantity": 2,
          "attribute": 1
        }
      ],
      "recipes": [
        {
          "id": 77605,
          "uuid": "15459B46-9A75-5A28-3882-CFD28EB7065B",
          "dishes_uuid": "CDXBC10D40C472BB8B",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:50.000000",
          "create_by": "1",
          "meal_times": 2,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 0
        },
        {
          "id": 77600,
          "uuid": "CDXBC10D40C472BB8S",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 2,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 11
        },
        {
          "id": 77604,
          "uuid": "E561E4F0-D16D-9117-2F5E-0C803672DF00",
          "dishes_uuid": "CDXBC10D40C472BB8B",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:50.000000",
          "create_by": "1",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 0
        }
      ],
      "log": [
        {
          "id": 431,
          "menu_date": "2061-01-27",
          "version": 20,
          "is_delete": 0,
          "create_time": "2026-10-10 11:05:49.000000",
          "update_time": "2026-10-10 11:05:49.774916"
        }
      ]
    },
    "clear": {
      "dishes": [
        {
          "uuid": "CDXBC10D40C472BB8A",
          "menu_quantity": 1,
          "attribute": 1
        },
        {
          "uuid": "CDXBC10D40C472BB8B",
          "menu_quantity": 0,
          "attribute": 1
        }
      ],
      "recipes": [
        {
          "id": 77600,
          "uuid": "CDXBC10D40C472BB8S",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 2,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 11
        }
      ],
      "log": [
        {
          "id": 431,
          "menu_date": "2061-01-27",
          "version": 21,
          "is_delete": 0,
          "create_time": "2026-10-10 11:05:49.000000",
          "update_time": "2026-10-10 11:05:49.774916"
        }
      ]
    },
    "no_meal": {
      "dishes": [
        {
          "uuid": "CDXBC10D40C472BB8A",
          "menu_quantity": 2,
          "attribute": 1
        },
        {
          "uuid": "CDXBC10D40C472BB8B",
          "menu_quantity": 1,
          "attribute": 1
        }
      ],
      "recipes": [
        {
          "id": 77608,
          "uuid": "873D92DF-5A28-E461-60F4-DD7BF950513B",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:50.000000",
          "create_by": "1",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 0
        },
        {
          "id": 77607,
          "uuid": "C188AE50-61C4-7DC8-4716-6CA2449E864A",
          "dishes_uuid": "CDXBC10D40C472BB8B",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:50.000000",
          "create_by": "1",
          "meal_times": 2,
          "type": 1,
          "restaurant_id": 1,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 0
        },
        {
          "id": 77600,
          "uuid": "CDXBC10D40C472BB8S",
          "dishes_uuid": "CDXBC10D40C472BB8A",
          "menu_date": "2061-01-27",
          "create_time": "2026-10-10 11:05:49.000000",
          "create_by": "CDXBC10D40C472BB8",
          "meal_times": 1,
          "type": 1,
          "restaurant_id": 2,
          "zp_planid": 0,
          "device_code": null,
          "zp_is_synchro": 0,
          "limit_num": 11
        }
      ],
      "log": [
        {
          "id": 431,
          "menu_date": "2061-01-27",
          "version": 24,
          "is_delete": 0,
          "create_time": "2026-10-10 11:05:49.000000",
          "update_time": "2026-10-10 11:05:49.774916"
        }
      ]
    }
  },
  "natural_after": {
    "sha": "73f7319b730dada9409c6d833dba61937dddff20161e7a15dd386249380b6dc1",
    "recipe_rows": 112
  },
  "natural_unchanged": true
}
