半月无霜 4 роки тому
батько
коміт
ededfd0d6f

+ 14 - 14
ymall/pom.xml

@@ -32,20 +32,20 @@
       <!--<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>-->
     <!--</dependency>-->
 
-    <!--client -->
-    <dependency>
-      <groupId>org.springframework.cloud</groupId>
-      <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
-    </dependency>
-    <!--configs -->
-    <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>
+<!--    &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 - 1
ymall/src/main/java/com/liangjian11/ymall/mapper/UserAccountBankMapper.java

@@ -1,7 +1,7 @@
 package com.liangjian11.ymall.mapper;
 
+
 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
-import com.liangjian11.ymall.model.UserAccount;
 import com.liangjian11.ymall.model.UserAccountBank;
 
 public interface UserAccountBankMapper extends BaseMapper<UserAccountBank> {

+ 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);

+ 1 - 1
ymall/src/main/resources/mapper/UserAccountBankMapper.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.liangjian11.ymall.mapper.video.TagTypeMapper">
+<mapper namespace="com.liangjian11.ymall.mapper.UserAccountBankMapper">
 
   <resultMap id="baseMap" type="com.liangjian11.ymall.model.UserAccountBank">
     <id property="id" column="id" />