|
@@ -191,7 +191,7 @@ class ItemClass extends BaseClass
|
|
|
public static function getShowList($where, $custom)
|
|
public static function getShowList($where, $custom)
|
|
|
{
|
|
{
|
|
|
$level = isset($custom->level) ? $custom->level : 1;
|
|
$level = isset($custom->level) ? $custom->level : 1;
|
|
|
- $field = 'id,cover,name,cost,itemId,classId,property,skPrice,variety,price,hjPrice,discountPrice,hjDiscountPrice,stock,stockWarning,presell,ratioType,smallRatio,smallUnit,bigUnit,ratio';
|
|
|
|
|
|
|
+ $field = 'id,cover,name,cost,itemId,classId,property,skPrice,variety,price,hjPrice,discountPrice,hjDiscountPrice,stock,stockWarning,presell,ratioType,smallRatio,smallUnit,bigUnit,ratio,hjAddPrice,addPrice';
|
|
|
$list = self::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
$list = self::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], $field);
|
|
|
if (empty($list)) {
|
|
if (empty($list)) {
|
|
|
return $list;
|
|
return $list;
|