|
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.core.toolkit.Constants;
|
|
|
import org.apache.ibatis.annotations.*;
|
|
|
import thyyxxk.webserver.entity.datamodify.GetDropdownBox;
|
|
|
import thyyxxk.webserver.entity.datamodify.YzActOrder;
|
|
|
-import thyyxxk.webserver.entity.yibao.ZyActpatient;
|
|
|
import thyyxxk.webserver.entity.zhuyuanyisheng.yizhuluru.*;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
@@ -23,19 +22,6 @@ import java.util.Set;
|
|
|
@Mapper
|
|
|
public interface YiZhuLuRuDao {
|
|
|
|
|
|
- @Select("SELECT rtrim(a.inpatient_no) inpatient_no, " +
|
|
|
- " rtrim(a.name) name, " +
|
|
|
- " a.sex, " +
|
|
|
- " rtrim(a.bed_no) bed_no, " +
|
|
|
- " isnull(rtrim(a.consult_physician),'') consult_physician, " +
|
|
|
- " a.refer_physician, " +
|
|
|
- " zk_ward," +
|
|
|
- " zk_ward_name= (select rtrim(name) from zd_unit_code where code = zk_ward)" +
|
|
|
- "FROM zy_actpatient a with (NOLOCK) " +
|
|
|
- "WHERE (a.dept = #{wardCode}) " +
|
|
|
- " AND (a.ward = #{wardCode})")
|
|
|
- List<ZyActpatient> huoQuHuanZheLieBiao(String wardCode);
|
|
|
-
|
|
|
@Select("select isnull(balance,0) balance, " +
|
|
|
" total_charge, " +
|
|
|
" charge1, " +
|
|
@@ -230,7 +216,8 @@ public interface YiZhuLuRuDao {
|
|
|
" yb_flag_new," +
|
|
|
" father_flag, " +
|
|
|
" manu_name=(select name from yp_zd_manufactory with (NOLOCK) where code *= a.manu_code), " +
|
|
|
- " stock_amount=a.stock_amount " +
|
|
|
+ " stock_amount=a.stock_amount, " +
|
|
|
+ " national_code " +
|
|
|
"FROM view_yp_zd_dict_base_yf a with (NOLOCK) " +
|
|
|
"WHERE isnull(a.visible_flag_zy, '') <> '1' " +
|
|
|
" and (a.py_code like #{code} or a.name like #{code} or code like #{code}) " +
|