Browse Source

xwh修改门店短信配置功能

xwh 4 years ago
parent
commit
cf5e056bde

+ 2 - 2
kmall-admin/src/main/resources/mybatis/mapper/StoreSmsConfigDao.xml

@@ -90,8 +90,8 @@
 		`mod_time`,
 		`tstm`
 		from mall_store_sms_config
-		WHERE is_valid='0' and is_enable='0'
-		and now() BETWEEN send_start_time and send_end_time or is_enable='2'
+		WHERE is_valid='0' and (is_enable='0'
+		and now() BETWEEN send_start_time and send_end_time or is_enable='2')
 	</select>
 	<select id="queryObjectByMerchSnAndStoreId" resultType="com.kmall.admin.entity.StoreSmsConfigEntity">
 		select