링크이동 수정
Some checks failed
Close Pull Request / main (pull_request_target) Has been cancelled

This commit is contained in:
yangsh
2026-02-09 11:00:15 +09:00
parent 9a27018922
commit a7dca8c5fa
7 changed files with 132 additions and 17 deletions

View File

@@ -116,6 +116,19 @@ class ReceiptModel extends Model
return $query->getResultArray();
}
public function getSrchUserInfo($usr_id)
{
$sql = "SELECT a.usr_sq, a.usr_id, b.dept_sq, b.pdept_sq FROM users a
JOIN departments b ON b.dept_sq = a.dept_sq
WHERE a.usr_id = ? AND a.use_yn = 'Y'";
$data = [$usr_id];
$query = $this->db->query($sql, $data);
$row = $query->getRowArray();
return $row;
}
/**
* 부서검색(상세)
*/