数据概览增加时间
This commit is contained in:
parent
cd42848fba
commit
ddb584e47f
|
@ -85,6 +85,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="expStartTime != null and expStartTime != '' and expEndTime != null and expEndTime != ''">
|
<if test="expStartTime != null and expStartTime != '' and expEndTime != null and expEndTime != ''">
|
||||||
and DATE_FORMAT(create_time,'%Y-%m-%d') between #{expStartTime} and #{expEndTime}
|
and DATE_FORMAT(create_time,'%Y-%m-%d') between #{expStartTime} and #{expEndTime}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="expStartTime == null or expStartTime == '' or expEndTime == null or expEndTime == ''">
|
||||||
|
and DATE_FORMAT(create_time,'%Y-%m-%d') = DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 1 DAY),'%Y-%m-%d')
|
||||||
|
</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
@ -94,6 +97,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="expStartTime != null and expStartTime != '' and expEndTime != null and expEndTime != ''">
|
<if test="expStartTime != null and expStartTime != '' and expEndTime != null and expEndTime != ''">
|
||||||
and DATE_FORMAT(Integral_update_time,'%Y-%m-%d') between #{expStartTime} and #{expEndTime}
|
and DATE_FORMAT(Integral_update_time,'%Y-%m-%d') between #{expStartTime} and #{expEndTime}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="expStartTime == null or expStartTime == '' or expEndTime == null or expEndTime == ''">
|
||||||
|
and DATE_FORMAT(Integral_update_time,'%Y-%m-%d') = DATE_FORMAT(DATE_SUB(NOW(), INTERVAL 1 DAY),'%Y-%m-%d')
|
||||||
|
</if>
|
||||||
<if test="account != null">and account=#{account}</if>
|
<if test="account != null">and account=#{account}</if>
|
||||||
and update_type = '消耗账分' and agent_remark is not null
|
and update_type = '消耗账分' and agent_remark is not null
|
||||||
</where>
|
</where>
|
||||||
|
|
|
@ -206,7 +206,7 @@ export default {
|
||||||
// 是否显示弹出层
|
// 是否显示弹出层
|
||||||
open: false,
|
open: false,
|
||||||
open1: false,
|
open1: false,
|
||||||
timeRange1: ['',''],
|
timeRange1: [new Date(new Date()-(24*60*60*1000)),new Date(new Date()-(24*60*60*1000))],
|
||||||
queryParams1: {
|
queryParams1: {
|
||||||
storeId: undefined,
|
storeId: undefined,
|
||||||
storeName: undefined,
|
storeName: undefined,
|
||||||
|
@ -316,7 +316,7 @@ export default {
|
||||||
},
|
},
|
||||||
/** 重置按钮操作 */
|
/** 重置按钮操作 */
|
||||||
resetQuery() {
|
resetQuery() {
|
||||||
this.timeRange1 = ['',''];
|
this.timeRange1 = [new Date(new Date()-(24*60*60*1000)),new Date(new Date()-(24*60*60*1000))];
|
||||||
this.queryParams.account=undefined;
|
this.queryParams.account=undefined;
|
||||||
this.resetForm("queryForm");
|
this.resetForm("queryForm");
|
||||||
this.handleQuery();
|
this.handleQuery();
|
||||||
|
|
Loading…
Reference in New Issue