CaiWuXiTong/app/Models/Business/JstOrderLabel.php
qiuxiang 53cd0c3ce6 聚水潭订单标签明细:新增「货号」列,货号 X00006 的订单判为种菜订单
- 新增 jst_order_labels.item_code 迁移;导入时从商品明细镜像按 o_id 写入货号(被替换/取消的明细不计入)
- 「是否种菜订单」增加规则:货号含 X00006(信誉订单虚拟条码)直接判「是」
- 页面与导出新增货号列;新增 jst-order-labels:sync-item-codes 回填命令
- 测试:新增货号/种菜判定/回填命令用例,并修正导出表头过时断言
2026-10-10 16:06:02 +08:00

28 lines
502 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
namespace App\Models\Business;
use App\Abstracts\Model;
/**
* 账单流水数据 › 聚水潭订单标签明细(按标签拆行,一标签一行)。
*/
class JstOrderLabel extends Model
{
protected $table = 'jst_order_labels';
protected $fillable = [
'company_id',
'order_no',
'shop_name',
'ordered_at',
'label',
'item_code',
'created_from',
];
protected $casts = [
'ordered_at' => 'datetime',
];
}