소스 검색

长处方

trick9191 8 년 전
부모
커밋
74700e9fdb
1개의 변경된 파일16개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      common/common-entity/src/main/java/com/yihu/wlyy/entity/patient/prescription/Prescription.java

+ 16 - 0
common/common-entity/src/main/java/com/yihu/wlyy/entity/patient/prescription/Prescription.java

@ -621,4 +621,20 @@ public class Prescription extends IdEntity {
    public void setJwRegisterFee(String jwRegisterFee) {
        this.jwRegisterFee = jwRegisterFee;
    }
    @Transient
    public String getDispensaryTypeName() {
        switch (type) {
            case 1: {
                return "自取";
            }
            case 2: {
                return "快递配送";
            }
            case 3: {
                return "健管师配送";
            }
        }
        return "";
    }
}