|
@@ -80,7 +80,8 @@ public interface JianYanJianChaDao {
|
|
|
" confirm_id,\n" +
|
|
|
" quantity,\n" +
|
|
|
" inspect_stuff_name = (select rtrim(name) from jy_zd_sample with (NOLOCK) where code = inspect_stuff),\n" +
|
|
|
- " req_dept_name = (select rtrim(name) from zd_unit_code where code = req_dept),\n" +
|
|
|
+ " req_dept_name = (select rtrim(name) from zd_unit_code where code = req_dept)," +
|
|
|
+ " req_ward_name = (select rtrim(name) from zd_unit_code where code = req_ward),\n" +
|
|
|
" req_doctor_name = (select rtrim(name) from a_employee_mi where code = req_doctor),\n" +
|
|
|
" case\n" +
|
|
|
" when req_type = '2' then (select rtrim(class)\n" +
|
|
@@ -351,7 +352,8 @@ public interface JianYanJianChaDao {
|
|
|
" req_doctor, " +
|
|
|
" req_doctor_name= (select rtrim(name) from a_employee_mi with (NOLOCK) where code = req_doctor), " +
|
|
|
" req_dept, " +
|
|
|
- " req_dept_name = (select rtrim(name) from zd_unit_code with (NOLOCK) where code = req_dept), " +
|
|
|
+ " req_dept_name = (select rtrim(name) from zd_unit_code with (NOLOCK) where code = req_dept)," +
|
|
|
+ " req_ward_name = (select rtrim(name) from zd_unit_code where code = req_ward), " +
|
|
|
" exec_dept, " +
|
|
|
" exec_dept_name = (select rtrim(name) from zd_unit_code with (NOLOCK) where code = exec_dept), " +
|
|
|
" req_date, " +
|
|
@@ -372,7 +374,6 @@ public interface JianYanJianChaDao {
|
|
|
"group by a.code, a.name ")
|
|
|
IPage<JcZdClass> jianYanFenLei(IPage<JcZdClass> page);
|
|
|
|
|
|
-
|
|
|
@Select("select rtrim(code) as code,name from jy_zd_sample with (NOLOCK) " +
|
|
|
"where (name like #{name} " +
|
|
|
" or py_code like #{name} " +
|
|
@@ -584,5 +585,4 @@ public interface JianYanJianChaDao {
|
|
|
List<JyJcCheckItemDto> selectJyJcCheckItemDto(@Param("ew") QueryWrapper<?> queryWrapper, @Param("tableName") String tableName);
|
|
|
|
|
|
|
|
|
-
|
|
|
}
|