CaiWuXiTong/app/Models/Business/JstOrderLabelPlantingRule.php
qiuxiang d877735507 聚水潭订单标签明细:新增「是否种菜订单」列
下单时间后面新增「是否种菜订单」列,逐行按(公司 + 标签)匹配财务维护的映射表:命中为是、未命中为否。
- 新表 jst_order_label_planting_rules + 模型 + 缓存服务,导入命令 jst-order-labels:import-planting-rules(读「判断种菜单.xlsx」)
- 导出 CSV 同步新增该列,页面/导出同口径
- 本地构建通过;改动/新增 PHP 文件 php -l 通过
2026-10-07 11:14:04 +08:00

20 lines
377 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 JstOrderLabelPlantingRule extends Model
{
protected $table = 'jst_order_label_planting_rules';
protected $fillable = [
'company_id',
'label',
'is_planting',
];
}