suqinyi 1 rok pred
rodič
commit
0d25cfbe8b

+ 9 - 1
common/common-entity/src/db/2023.sql

@ -220,4 +220,12 @@ ELSE
    SET result = CONCAT(ROUND((numerator / denominator) * 100, 2), '%');
END IF;
RETURN result;
END;
END;
=========================== 康复模块【开始】=================================
ALTER TABLE `base`.`wlyy_rehabilitation_patient_info`
ADD COLUMN `type` tinyint(255) NULL COMMENT '1患者家签列表 2康复下转列表' AFTER `dept_name`,
ADD COLUMN `sign_status` tinyint(255) ZEROFILL NULL COMMENT '签约状态(1已家签 0 待家签)' AFTER `type`;
=========================== 康复模块【结束】=================================

+ 2 - 2
svr/svr-visit-behind/src/main/java/com/yihu/jw/hospital/module/rehabilitation/service/RehabilitationInfoService.java

@ -658,12 +658,12 @@ public class RehabilitationInfoService  {
        JSONObject object = new JSONObject();
        List<Map<String, Object>> res = new ArrayList<>();
        //     -2未下转未加签
        //-2未下转未加签
        if ("-2".equals(isTurnDown)){
            return noDownAndNoSign(idcard,doctorCode,page,pagesize,object);
        }
        //*   未下转已家签
        //*未下转已家签
        if ("-1".equals(isTurnDown)){
            return noDownAndSign(idcard,doctorCode,page,pagesize,object);
        }