20240120-ljl-routeConfig
ljl 10 months ago
parent 1101711b80
commit 76396623f6

@ -479,18 +479,7 @@ class ExpressTplService extends AbstractService {
public function getAllExpressTplList($mallId) {
$filter = ['status' => StatusConst::normal];
$expressTplList = $this->expressTplRepository->getUserExpressTplList($mallId, $filter);
$ptmdExpressList = array_filter($expressTplList, function ($value) {
return $value['expressType'] == OrderPrintConst::expressTypePtmd;
});
$dzmdExpressList = array_filter($expressTplList, function ($value) {
return $value['expressType'] == OrderPrintConst::expressTypeDzmd;
});
return [
OrderPrintConst::expressTypePtmd => array_values($ptmdExpressList),
OrderPrintConst::expressTypeDzmd => array_values($dzmdExpressList),
];
return $this->expressTplRepository->getUserExpressTplList($mallId, $filter);
}
public function getNormalSysExpressTplMap($expressType, $waybillTypes = null, $sort = null, $allColumns = false) {

Loading…
Cancel
Save