settlelogic.php 750 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: sicilon_IT
  5. * Date: 2020/3/2
  6. * Time: 11:26
  7. */
  8. namespace app\index\logic;
  9. use app\index\model\yearsettlemodel;
  10. class settlelogic{
  11. /*
  12. * 按身份证查找逻辑
  13. * 20200302
  14. */
  15. public function getsettlebysfz($arr){
  16. $year=$arr['year'];
  17. $sfzid=$arr['sfzid'];
  18. $t_settle=new yearsettlemodel();
  19. $rec=$t_settle->selinfobysfzid($year,$sfzid);
  20. return $rec;
  21. }
  22. /*
  23. * 按银行卡找逻辑
  24. * 20200302
  25. */
  26. public function getsettlebycard($arr){
  27. $year=$arr['year'];
  28. $cardno=$arr['cardno'];
  29. $t_settle=new yearsettlemodel();
  30. $rec=$t_settle->selinfobycardno($year,$cardno);
  31. return $rec;
  32. }
  33. }