浏览代码

xwh修改门店短信配置功能

xwh 4 年之前
父节点
当前提交
cf5e056bde
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      kmall-admin/src/main/resources/mybatis/mapper/StoreSmsConfigDao.xml

+ 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