master:修改启动指定的配置文件;
parent
8fb29a2ed3
commit
0ce777a608
24
pom.xml
24
pom.xml
|
|
@ -320,6 +320,30 @@
|
|||
</modules>
|
||||
<packaging>pom</packaging>
|
||||
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
<properties>
|
||||
<spring.profiles.active>local</spring.profiles.active>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>dev</id>
|
||||
<properties>
|
||||
<spring.profiles.active>dev</spring.profiles.active>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>prod</id>
|
||||
<properties>
|
||||
<spring.profiles.active>prod</spring.profiles.active>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
spring:
|
||||
profiles:
|
||||
active: local
|
||||
# active: prod
|
||||
active: @spring.profiles.active@
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@
|
|||
|
||||
<select id="prodSale1000List" resultType="com.ruoyi.xkt.dto.dailyStoreTag.DailyStoreTagDTO">
|
||||
SELECT
|
||||
store_id,
|
||||
store_prod_id,
|
||||
SUM(IFNULL( sale_num, 0 )) AS count
|
||||
FROM
|
||||
|
|
@ -105,6 +106,7 @@
|
|||
WHERE
|
||||
voucher_date BETWEEN #{oneMonthAgo} AND #{yesterday}
|
||||
GROUP BY
|
||||
store_id,
|
||||
store_prod_id
|
||||
HAVING
|
||||
count >= 1000
|
||||
|
|
|
|||
Loading…
Reference in New Issue