Procházet zdrojové kódy

Merge branch 'v3.5.1' of http://git.ycjcjy.com/zhiyuxing/estateagents into v3.5.1

weiximei před 5 roky
rodič
revize
efc414514c

+ 20
- 0
pom.xml Zobrazit soubor

@@ -108,6 +108,26 @@
108 108
 			<artifactId>guava</artifactId>
109 109
 			<version>26.0-jre</version>
110 110
 		</dependency>
111
+
112
+		<!-- https://mvnrepository.com/artifact/com.alibaba/easyexcel -->
113
+		<dependency>
114
+			<groupId>com.alibaba</groupId>
115
+			<artifactId>easyexcel</artifactId>
116
+			<version>2.0.4</version>
117
+		</dependency>
118
+
119
+		<!-- swagger2 -->
120
+		<dependency>
121
+			<groupId>io.springfox</groupId>
122
+			<artifactId>springfox-swagger2</artifactId>
123
+			<version>2.7.0</version>
124
+		</dependency>
125
+
126
+		<dependency>
127
+			<groupId>io.springfox</groupId>
128
+			<artifactId>springfox-swagger-ui</artifactId>
129
+			<version>2.7.0</version>
130
+		</dependency>
111 131
 	</dependencies>
112 132
 
113 133
 	<profiles>

+ 5
- 2
src/main/java/com/huiju/estateagents/controller/TaBuildingDynamicController.java Zobrazit soubor

@@ -310,14 +310,17 @@ public class TaBuildingDynamicController extends BaseController {
310 310
                Integer tempIsCheckin = enlist.getIsCheckin();
311 311
                enlist.setIsCheckin(CommConstant.STATUS_NORMAL);
312 312
                if(taActivityDynamicEnlistMapper.updateById(enlist)>0){
313
-                   if (tempIsCheckin.intValue() == CommConstant.STATUS_UNACCALIMED.intValue()){
313
+                   System.out.println("验证1");
314
+                   if (tempIsCheckin.equals(CommConstant.STATUS_UNACCALIMED)){
315
+                       System.out.println("验证2");
314 316
                        enlist.setEnlistId(Integer.valueOf(enlistId));
315 317
                        applicationContext.publishEvent(new EventBus(enlist,ActivityCheckin,getOrgId(request)));
316 318
                        QueryWrapper<TaRecommendCustomer> customerQueryWrapper = new QueryWrapper<>();
317 319
                        customerQueryWrapper.eq("person_id",enlist.getPersonId());
318 320
                        customerQueryWrapper.eq("building_id",enlist.getBuildingId());
319 321
                        TaRecommendCustomer recommendCustomer = recommendCustomerService.getOne(customerQueryWrapper);
320
-                       if (recommendCustomer.getStatus() < CommConstant.CUSTOMER_VISITE){
322
+                       if (recommendCustomer.getStatus().equals(CommConstant.CUSTOMER_REPORT)){
323
+                           System.out.println("验证3");
321 324
                            recommendCustomer.setStatus(CommConstant.CUSTOMER_VISITE);
322 325
                            recommendCustomer.setArrivalDate(LocalDateTime.now());
323 326
                            recommendCustomerService.updateById(recommendCustomer);