2 Commits 8ea3a8c89f ... 2fbb71078f

Auteur SHA1 Message Date
  半月无霜 2fbb71078f 合并 il y a 4 ans
  半月无霜 ededfd0d6f 医生注册修改 il y a 4 ans

+ 14 - 16
ymall/pom.xml

@@ -32,22 +32,20 @@
       <!--<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>-->
     <!--</dependency>-->
 
-    <!--client -->
-    <!--<dependency>-->
-      <!--<groupId>com.alibaba.cloud</groupId>-->
-      <!--<artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
-      <!--<version>2.2.1.RELEASE</version>-->
-    <!--</dependency>-->
-    <!--&lt;!&ndash;configs &ndash;&gt;-->
-    <!--<dependency>-->
-      <!--<groupId>org.springframework.cloud</groupId>-->
-      <!--<artifactId>spring-cloud-starter-config</artifactId>-->
-    <!--</dependency>-->
-    <!--<dependency>-->
-      <!--<groupId>com.alibaba.cloud</groupId>-->
-      <!--<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
-      <!--<version>2.2.1.RELEASE</version>-->
-    <!--</dependency>-->
+<!--    &lt;!&ndash;client &ndash;&gt;-->
+<!--    <dependency>-->
+<!--      <groupId>org.springframework.cloud</groupId>-->
+<!--      <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
+<!--    </dependency>-->
+<!--    &lt;!&ndash;configs &ndash;&gt;-->
+<!--    <dependency>-->
+<!--      <groupId>org.springframework.cloud</groupId>-->
+<!--      <artifactId>spring-cloud-starter-config</artifactId>-->
+<!--    </dependency>-->
+<!--    <dependency>-->
+<!--      <groupId>org.springframework.cloud</groupId>-->
+<!--      <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
+<!--    </dependency>-->
     <!-- feign客户端依赖 -->
     <dependency>
       <groupId>org.springframework.cloud</groupId>

+ 1 - 0
ymall/src/main/java/com/liangjian11/ymall/mapper/UserAccountBankMapper.java

@@ -1,5 +1,6 @@
 package com.liangjian11.ymall.mapper;
 
+
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.liangjian11.ymall.model.UserAccountBank;
 import org.apache.ibatis.annotations.Param;

+ 4 - 1
ymall/src/main/java/com/liangjian11/ymall/service/impl/DoctorServiceImpl.java

@@ -493,7 +493,10 @@ public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> impleme
     jsonObj.put("imgPrice", new BigDecimal("0"));
     jsonObj.put("videoLineationPrice", new BigDecimal("0"));
     jsonObj.put("videoPrice", new BigDecimal("0"));
-    jsonObj.put("joinWorkdayTime", doctor.getJoinWorkdayTime() + "-01");
+    String joinWorkdayTime = StringUtils.isBlank(doctor.getJoinWorkdayTime())
+            ? "1970-01-01"
+            : doctor.getJoinWorkdayTime() + "-01";
+    jsonObj.put("joinWorkdayTime", joinWorkdayTime);
 
     logger.debug("互联网医院:创建医生接口入参:"+jsonObj.toJSONString());
     HttpEntity<JSONObject> entity = new HttpEntity<>(jsonObj, headerMap);