Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵增煜
/
tzt-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f91b3b7a
authored
Dec 12, 2024
by
lujunyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改导入用量bug
parent
90f2b164
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
app/Admin/Extensions/ToolBar/Forms/PharmacyDosageImportForm.php
+1
-1
No files found.
app/Admin/Extensions/ToolBar/Forms/PharmacyDosageImportForm.php
View file @
f91b3b7a
...
@@ -42,7 +42,7 @@ public function handle(array $input): JsonResponse
...
@@ -42,7 +42,7 @@ public function handle(array $input): JsonResponse
},
$row
);
},
$row
);
$dosageModel
=
null
;
$dosageModel
=
null
;
if
(
isset
(
$item
[
'用法用量'
])
&&
$item
[
'用法用量'
])
{
if
(
isset
(
$item
[
'用法用量'
])
&&
$item
[
'用法用量'
])
{
$dosageModel
=
DosageModel
::
where
(
'dosage_desc'
,
$item
[
'用法用量'
])
->
first
();
$dosageModel
=
DosageModel
::
where
(
'dosage_desc'
,
$item
[
'用法用量'
])
->
where
(
'pharmacy_id'
,
$pharmacyId
)
->
first
();
}
}
if
(
!
$dosageModel
)
{
if
(
!
$dosageModel
)
{
$dosageModel
=
new
DosageModel
;
$dosageModel
=
new
DosageModel
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment