时间查询与倒序
This commit is contained in:
parent
e06e99e99a
commit
8f7e9f0535
|
@ -36,9 +36,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="account != null and account != ''"> and account = #{account}</if>
|
||||
<if test="platform != null and platform != ''"> and platform = #{platform}</if>
|
||||
<if test="updateType != null and updateType != ''"> and update_type = #{updateType}</if>
|
||||
<if test="integralUpdateTime != null "> and Integral_update_time = #{integralUpdateTime}</if>
|
||||
<if test="integralUpdateTime != null "> and DATE_FORMAT(Integral_update_time,'%Y-%m-%d') = DATE_FORMAT(#{integralUpdateTime},'%Y-%m-%d')</if>
|
||||
<if test="agentRemark != null and agentRemark != ''"> and agent_remark = #{agentRemark}</if>
|
||||
</where>
|
||||
ORDER BY DATE_FORMAT(Integral_update_time,'%Y-%m-%d') desc
|
||||
</select>
|
||||
|
||||
<select id="selectBusIntegralRecordList1" parameterType="BusIntegralRecord" resultMap="BusIntegralRecordResult">
|
||||
|
@ -46,7 +47,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<where>
|
||||
<if test="platform != null and platform != ''"> and platform = #{platform}</if>
|
||||
<if test="updateType != null and updateType != ''"> and update_type = #{updateType}</if>
|
||||
<if test="integralUpdateTime != null "> and Integral_update_time = #{integralUpdateTime}</if>
|
||||
<if test="integralUpdateTime != null "> and DATE_FORMAT(Integral_update_time,'%Y-%m-%d') = DATE_FORMAT(#{integralUpdateTime},'%Y-%m-%d')</if>
|
||||
<if test="agentRemark != null and agentRemark != ''"> and agent_remark = #{agentRemark}</if>
|
||||
<if test="agentAccount != null">
|
||||
and account in
|
||||
|
@ -57,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="account != null and account != ''"> and account = #{account}</if>
|
||||
</where>
|
||||
GROUP BY DATE_FORMAT(Integral_update_time,'%Y-%m-%d'),account,platform
|
||||
ORDER BY DATE_FORMAT(Integral_update_time,'%Y-%m-%d') desc
|
||||
</select>
|
||||
|
||||
<select id="selectBusIntegralRecordById" parameterType="Long" resultMap="BusIntegralRecordResult">
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="分配账户" prop="account">
|
||||
<el-input
|
||||
v-model="queryParams.account"
|
||||
placeholder="分配账户"
|
||||
clearable
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="分配账户" prop="account">-->
|
||||
<!-- <el-input-->
|
||||
<!-- v-model="queryParams.account"-->
|
||||
<!-- placeholder="分配账户"-->
|
||||
<!-- clearable-->
|
||||
<!-- @keyup.enter.native="handleQuery"-->
|
||||
<!-- />-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="变更时间" prop="integralUpdateTime">
|
||||
<el-date-picker clearable
|
||||
v-model="queryParams.integralUpdateTime"
|
||||
|
|
Loading…
Reference in New Issue