张延森 4 years ago
parent
commit
ac97458b60
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      pom.xml
  2. 1
    1
      src/main/resources/mapper/TaHouseSettingMapper.xml

+ 1
- 1
pom.xml View File

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

+ 1
- 1
src/main/resources/mapper/TaHouseSettingMapper.xml View File

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