버튼 추가
Some checks failed
Close Pull Request / main (pull_request_target) Has been cancelled

This commit is contained in:
yangsh
2026-01-12 15:53:12 +09:00
parent 7a889170b6
commit b164c5b409
4 changed files with 130 additions and 0 deletions

View File

@@ -671,6 +671,25 @@ class M710Model extends Model
return $query->getResultArray();
}
// 전송요청 api 수정
public function updateSendApi($type)
{
$sql = "UPDATE v2_stop_api_save_info SET status = 'wait'
WHERE type like CONCAT(?, '%') AND status = 'stop'
";
if ($this->db->query($sql, [$type]) === false) {
return [
'success' => false,
'msg' => '저장 실패',
];
}
return [
'success' => true,
];
}
public function insert_v2_stop_api_save_info($atcl_no, $vr_sq, $type, $fax_sq)
{
$sql = "INSERT INTO v2_stop_api_save_info(atcl_no,vr_sq,type,status,stop_dt,fax_sq)" .