123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269 |
- <?php
- namespace app\api\dao\xz;
- use app\api\actions\ZskkCache;
- use app\api\dao\ZskkDefaultDao;
- use app\api\model\xz\XzModel;
- /**
- * 后台控制器基类
- * 接口方法权限 必传参数 接口返回 错误抛出 通用参数处理
- */
- class XzDao extends ZskkDefaultDao {
- protected $flag = true;
- protected $logName = "XzDao";
- protected $xz = null;
- public function __construct(XzModel $xzModel)
- {
- parent::__construct();
- $this->xz = $xzModel;
- }
- public function insertXz($data)
- {
- $info = $this->xz->insertXz($data);
- return $info;
- }
- public function checkXz($where)
- {
- $info = $this->xz->checkXz($where);
- return $info;
- }
- public function insertStudies($data)
- {
- $info = $this->xz->insertStudies($data);
- return $info;
- }
- public function insertPatient($data)
- {
- $info = $this->xz->insertPatient($data);
- return $info;
- }
- public function insertExam($data)
- {
- $info = $this->xz->insertExam($data);
- return $info;
- }
- public function updateStudies($id,$examId)
- {
- $info = $this->xz->updateStudies($id,$examId);
- return $info;
- }
- public function saveMoneyWater($data)
- {
- $info = $this->xz->saveMoneyWater($data);
- return $info;
- }
- public function updateXz($where,$updateXz)
- {
- $info = $this->xz->updateXz($where,$updateXz);
- return $info;
- }
- public function updateStatus($where,$status)
- {
- $info = $this->xz->updateStatus($where,$status);
- return $info;
- }
- public function getXzData($id)
- {
- $info = $this->xz->getXzData($id);
- return $info;
- }
- public function getExamData($id)
- {
- $info = $this->xz->getExamData($id);
- return $info;
- }
- public function getExamDataById($id)
- {
- $info = $this->xz->getExamDataById($id);
- return $info;
- }
- public function getImageInfo($study)
- {
- $info = $this->xz->getImageInfo($study);
- return $info;
- }
- public function getReport($id)
- {
- $info = $this->xz->getReport($id);
- return $info;
- }
- public function getDoctorName($id)
- {
- $info = $this->xz->getDoctorName($id);
- return $info;
- }
- public function getUid($id)
- {
- $uid = $this->xz->getUid($id);
- return $uid;
- }
- public function getAccession($id)
- {
- $info = $this->xz->getAccession($id);
- return $info;
- }
- public function checkIsSet($studyId,$studyUid='',$institution='')
- {
- $id = $this->xz->check($studyId,$studyUid,$institution);
- return $id;
- }
- public function getWaterLog($examId,$insId)
- {
- $id = $this->xz->getWaterLog($examId,$insId);
- return $id;
- }
- public function getPushInfo($id)
- {
- $data = $this->xz->getPushInfo($id);
- return $data;
- }
- public function getOpenId($ids)
- {
- $data = $this->xz->getOpenId($ids);
- return $data;
- }
- public function getInsFilmInfo($id)
- {
- $info = $this->xz->getInsFilmInfo($id);
- return $info;
- }
- public function getBodyText($body)
- {
- $info = $this->xz->getBodyText($body);
- return $info;
- }
- public function getExam($key,$value,$institutionId)
- {
- $id = $this->xz->getExam($key,$value,$institutionId);
- return $id;
- }
- public function updateExam($id,$update)
- {
- $info = $this->xz->updateExam($update,$id);
- return $info;
- }
- public function getStudyUid($id)
- {
- $id = $this->xz->getStudyUid($id);
- return $id;
- }
- public function getApiAction($id,$action)
- {
- $info = $this->xz->getApiAction($id,$action);
- return $info;
- }
- public function checkDoctor($name)
- {
- $info = $this->xz->checkDoctor($name);
- return $info;
- }
- public function getApi($id)
- {
- $info = $this->xz->getApi($id);
- return $info;
- }
- public function getInterface($ids)
- {
- $info = $this->xz->getInterface($ids);
- return $info;
- }
- public function getApis($institution,$action)
- {
- $info = $this->xz->getApis($institution,$action);
- return $info;
- }
- public function getInstitutionName($id)
- {
- $name = $this->xz->getInstitutionName($id);
- return $name;
- }
- public function getInsValue($id,$value)
- {
- $info = $this->xz->getInsValue($id,$value);
- return $info;
- }
- public function saveImageNode($info)
- {
- $info = $this->xz->saveImageNode($info);
- return $info;
- }
- public function getImageNode($where)
- {
- $info = $this->xz->getImageNode($where);
- return $info;
- }
- public function getWjwData()
- {
- $data = $this->xz->getWjwData();
- return $data;
- }
- public function getRemoteCount()
- {
- $data = $this->xz->getRemoteCount();
- return $data;
- }
- public function getYjRemote($page,$num)
- {
- $data = $this->xz->getYjRemote($page,$num);
- return $data;
- }
- public function getYjDoctor()
- {
- $data = $this->xz->getYjDoctor();
- return $data;
- }
- public function saveSms($data)
- {
- $data = $this->xz->saveSms($data);
- return $data;
- }
- public function insertSpecialLog($time, $diff)
- {
- $data = $this->xz->insertSpecialLog($time, $diff);
- return $data;
- }
- }
|