fix sourceJalPdf : add select id
This commit is contained in:
parent
72377948aa
commit
22442903b6
@ -85,7 +85,7 @@ if ($opts->cron) {
|
|||||||
$fileDate = date('Ymd', filectime($filePath));
|
$fileDate = date('Ymd', filectime($filePath));
|
||||||
|
|
||||||
$isInsert = false;
|
$isInsert = false;
|
||||||
$jalSql = "SELECT pdfName FROM octde.jalpdfsed WHERE pdfName=:file";
|
$jalSql = "SELECT id, pdfName FROM octde.jalpdfsed WHERE pdfName=:file";
|
||||||
$jalStmt = $conn->prepare($jalSql);
|
$jalStmt = $conn->prepare($jalSql);
|
||||||
$jalStmt->bindValue('file', $fileName);
|
$jalStmt->bindValue('file', $fileName);
|
||||||
$jalStmt->execute();
|
$jalStmt->execute();
|
||||||
|
Loading…
Reference in New Issue
Block a user