Browse Source

Merge branch 'dev' of suhaiwen/wlyy2.0 into dev

wangzhinan 4 years ago
parent
commit
e0705e1b14

+ 2 - 2
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/PrescriptionService.java

@ -6884,11 +6884,11 @@ public class PrescriptionService extends BaseJpaService<WlyyPrescriptionDO, Pres
    public MixEnvelop findPatientOpenId(String patientCode) {
        List<BasePatientWechatDo> basePatientWechatDo = patientWechatDao.findByWechatIdAndPatientId(wechatId, patientCode);
        if (basePatientWechatDo.isEmpty()){
            return MixEnvelop.getSuccess("居民openID不存在");
            return MixEnvelop.getSuccess("居民openID不存在",null);
        }
        String openid = basePatientWechatDo.get(0).getOpenid();
        if (StringUtils.isEmpty(openid)){
            return MixEnvelop.getSuccess("居民openID不存在");
            return MixEnvelop.getSuccess("居民openID不存在",null);
        }
        return MixEnvelop.getSuccess(IotRequestMapping.Common.message_success_find,openid);
    }

+ 1 - 1
svr/svr-base/src/main/java/com/yihu/jw/base/endpoint/saas/SaasEndpoint.java

@ -187,7 +187,7 @@ public class SaasEndpoint extends EnvelopRestEndpoint {
            @RequestParam(value = "size") int size) throws Exception {
        List<SaasDO> saasDOS = saasService.search(fields, filters, sorts, page, size);
        if (saasDOS.isEmpty()){
            return null;
            return PageEnvelop.getSuccess("无信息");
        }
        saasDOS.forEach(saas->{
            SaasTypeDictDO saasTypeDictDO = saasTypeDictService.findById(saas.getType());