张延森 před 4 roky
rodič
revize
ac97458b60
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 1
    1
      pom.xml
  2. 1
    1
      src/main/resources/mapper/TaHouseSettingMapper.xml

+ 1
- 1
pom.xml Zobrazit soubor

@@ -10,7 +10,7 @@
10 10
 	</parent>
11 11
 	<groupId>com.shigongli</groupId>
12 12
 	<artifactId>shigongli</artifactId>
13
-	<version>1.0.9</version>
13
+	<version>1.0.10</version>
14 14
 	<name>shigongli</name>
15 15
 	<description>ShiGongli Service</description>
16 16
 

+ 1
- 1
src/main/resources/mapper/TaHouseSettingMapper.xml Zobrazit soubor

@@ -9,7 +9,7 @@
9 9
             ta_house_setting t
10 10
         WHERE
11 11
             t.house_id = #{houseId}
12
-            AND t.`status` = 1
12
+            AND t.`status` = 0
13 13
             AND t.start_date &gt;= DATE_FORMAT( now( ), '%Y-%m-%d' ) AND t.end_date &gt;= DATE_FORMAT( now( ), '%Y-%m-%d' )
14 14
         ORDER BY t.create_date DESC
15 15
         LIMIT 1