dingxin 5 년 전
부모
커밋
9255bd2e33

+ 1
- 1
pom.xml 파일 보기

@@ -203,7 +203,7 @@
203 203
 				<includes>
204 204
 					<include>application.yml</include>
205 205
 					<include>application-${profiles.active}.yml</include>
206
-					<include>mapper/*.xml</include>
206
+					<include>mapper/**/*.xml</include>
207 207
 				</includes>
208 208
 			</resource>
209 209
 		</resources>

+ 1
- 1
src/main/java/com/huiju/estateagents/controller/TaBuildingDynamicController.java 파일 보기

@@ -322,7 +322,7 @@ public class TaBuildingDynamicController extends BaseController {
322 322
                        customerQueryWrapper.eq("person_id",enlist.getPersonId());
323 323
                        customerQueryWrapper.eq("building_id",enlist.getBuildingId());
324 324
                        TaRecommendCustomer recommendCustomer = recommendCustomerService.getOne(customerQueryWrapper);
325
-                       if (recommendCustomer.getStatus().equals(CommConstant.CUSTOMER_REPORT)){
325
+                       if (null != recommendCustomer&&recommendCustomer.getStatus().equals(CommConstant.CUSTOMER_REPORT)){
326 326
                            System.out.println("验证3");
327 327
                            recommendCustomer.setStatus(CommConstant.CUSTOMER_VISITE);
328 328
                            recommendCustomer.setArrivalDate(LocalDateTime.now());

+ 1
- 1
src/main/java/com/huiju/estateagents/service/impl/TdCityServiceImpl.java 파일 보기

@@ -42,7 +42,7 @@ public class TdCityServiceImpl extends ServiceImpl<TdCityMapper, TdCity> impleme
42 42
      * 根据经纬度获取城市详情信息
43 43
      *
44 44
      * @param location
45
-     * @return
45
+     * @return  
46 46
      */
47 47
     @Override
48 48
     public TdCity getLocationCity(String location) {

+ 1
- 1
src/main/resources/mapper/statistic/TsCustomerStatisticDailyMapper.xml 파일 보기

@@ -51,7 +51,6 @@
51 51
         GROUP BY
52 52
             c.org_id,c.realty_consultant
53 53
     </select>
54
-
55 54
     <select id="getDailyList" resultType="com.huiju.estateagents.statistic.entity.TsCustomerStatisticDaily">
56 55
         SELECT
57 56
           *
@@ -65,4 +64,5 @@
65 64
         AND date_format( create_date, '%Y-%m-%d' ) &lt;= date_format( #{nowDate}, '%Y-%m-%d' )
66 65
         order by `day`
67 66
     </select>
67
+
68 68
 </mapper>