|
@@ -312,10 +312,10 @@ class orderSn
|
|
|
return $prefix . $id;
|
|
return $prefix . $id;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- //盆栽采购订单号 ssh 20220405
|
|
|
|
|
|
|
+ //成品有效编号1-开头 ssh 20220405
|
|
|
public static function getGoodsSn()
|
|
public static function getGoodsSn()
|
|
|
{
|
|
{
|
|
|
- $prefix = 'G';
|
|
|
|
|
|
|
+ $prefix = '1-';
|
|
|
$respond = GoodsSnClass::add(['id' => null]);
|
|
$respond = GoodsSnClass::add(['id' => null]);
|
|
|
$id = $respond['id'] ?? 0;
|
|
$id = $respond['id'] ?? 0;
|
|
|
if (empty($id)) {
|
|
if (empty($id)) {
|