收费的sql

 通过科室号码 查询 科室名称      直接数据库查询

  select a.Dept_name, a.Dept_id  from sys_dept a where a.dept_id='005001-3021' and   Unit_Id ='005001'    

 

   后台的dll层的sql

select a.Dept_name, a.Dept_id from sys_dept a where a.dept_id='"+ deptid + "' and Unit_Id ='" + UnitId + "'

posted @ 2021-01-15 10:58  龙旋风  阅读(117)  评论(8)    收藏  举报