소스 검색

添加工具类判断节假日

wangzhinan 2 년 전
부모
커밋
98e77554a7

+ 17 - 3
business/base-service/src/main/java/com/yihu/jw/internet/service/InternetCommonService.java

@ -53,6 +53,9 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
    private org.slf4j.Logger logger = LoggerFactory.getLogger(InternetCommonService.class);
    @Value("${wechat.id}")
    private String wxId;
    @Autowired
    private InternetUpErrorLogService internetUpErrorLogService;
    @Autowired
@ -1193,8 +1196,19 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
                String[] dept = depToSubject(info.get("dept").toString());
                // 获取监管平台唯一标识
                String visitDocCode = achNsDoctorRecord(info.get("docIdcard").toString());
                String trialDocCode ="";
                String idcard = "";
                String name = "";
                if (wxId.equalsIgnoreCase("xm_ykyy_wx")){
                    trialDocCode=  achNsDoctorRecord("350212199207200542");
                    idcard = "350212199207200542";
                    name = "陈佳佳";
                }else if (wxId.equalsIgnoreCase("xm_zsyy_wx")){
                    trialDocCode=  achNsDoctorRecord("350104197904305425");
                    idcard = "350104197904305425";
                    name="陈燕莺";
                }
                String trialDocCode =  achNsDoctorRecord("350104197904305425");
                jb.put("id_prescription", orgCode +"_"+ (String)info.get("id"));
                jb.put("pres_no",info.get("real_order")== null?"0":info.get("real_order"));
@ -1230,8 +1244,8 @@ public class InternetCommonService extends BaseJpaService<InternetUpErrorLogDO,
                jb.put("pres_doc_name", info.get("doctor_name")== null?"0":info.get("doctor_name"));
                jb.put("pres_doc_id_no", info.get("docIdcard")== null?"0":info.get("docIdcard"));
                jb.put("trial_doc_code", trialDocCode);
                jb.put("trial_doc_name", "陈燕莺");
                jb.put("trial_doc_id_no","350104197904305425");
                jb.put("trial_doc_name", name);
                jb.put("trial_doc_id_no",idcard);
        /*        jb.put("trial_doc_name", "乐女金");
                jb.put("trial_doc_id_no","362531198407290348");*/
                jb.put("diag_code", info.get("icd10"));

+ 1 - 1
svr/svr-internet-hospital-job/src/main/resources/application.yml

@ -255,7 +255,7 @@ fastDFS:
wlyy:
  url: http://www.xmtyw.cn/wlyytest/
wechat:
  id: d24d1367-7f4f-43af-910e-a0a43799e040  # base库中,wx_wechat 的id字段
  id: xm_zsyy_wx  # base库中,wx_wechat 的id字段
  flag: false #演示环境  true走Mysql数据库  false走Oracle
  ids: xm_zsyy_wx
express: