1; sql优化(数据库加索引)
2;mq问题排查处理(重新部署mq,后续切换) 3;登录页面去掉 默认admin
This commit is contained in:
parent
12d4d785df
commit
7e6df9e96e
|
@ -42,7 +42,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="returnVisitTime != null "> and return_visit_time = #{returnVisitTime}</if>
|
<if test="returnVisitTime != null "> and return_visit_time = #{returnVisitTime}</if>
|
||||||
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
<if test="finishTime != null "> and finish_time = #{finishTime}</if>
|
||||||
<if test="beginTime != null and endTime != null"> and return_visit_time between #{beginTime} and #{endTime}</if>
|
<if test="beginTime != null and endTime != null"> and return_visit_time between #{beginTime} and #{endTime}</if>
|
||||||
<if test="beginTime == null and endTime == null"> and date_format(return_visit_time,'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')</if>
|
|
||||||
<if test="storeList != null">
|
<if test="storeList != null">
|
||||||
and store_code in
|
and store_code in
|
||||||
<foreach collection="storeList" open="(" close=")" item="item" separator="," index="i">
|
<foreach collection="storeList" open="(" close=")" item="item" separator="," index="i">
|
||||||
|
@ -63,13 +62,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<include refid="selectBusReturnVisitInfoVo"/>
|
<include refid="selectBusReturnVisitInfoVo"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="storeCode != null and storeCode != ''"> and store_code = #{storeCode}</if>
|
<if test="storeCode != null and storeCode != ''"> and store_code = #{storeCode}</if>
|
||||||
<if test="date != null "> and DATE_FORMAT(return_visit_time,'%Y-%m-%d') = #{date}</if>
|
<if test="date != null "> and return_visit_time between CONCAT(#{date}, ' 00:00:00') AND CONCAT(#{date}, ' 23:59:59')</if>
|
||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
<select id="countByToday" resultType="java.lang.Integer">
|
<select id="countByToday" resultType="java.lang.Integer">
|
||||||
select count(id) from bus_return_visit_info
|
select count(id) from bus_return_visit_info
|
||||||
where date_format(return_visit_time,'%Y-%m-%d') = date_format(now(),'%Y-%m-%d')
|
where return_visit_time between CONCAT(CURDATE(), ' 00:00:00') AND CONCAT(CURDATE(), ' 23:59:59')
|
||||||
<if test="storeCode != null and storeCode != ''"> and store_code = #{storeCode}</if>
|
and store_code = #{storeCode}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<insert id="batchInsertVisit">
|
<insert id="batchInsertVisit">
|
||||||
|
|
|
@ -143,7 +143,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
LEFT JOIN (
|
LEFT JOIN (
|
||||||
select rv.store_code,count(rv.id) ct
|
select rv.store_code,count(rv.id) ct
|
||||||
from bus_return_visit_info rv
|
from bus_return_visit_info rv
|
||||||
where DATE_FORMAT(rv.return_visit_time,'%Y-%m-%d') = CURDATE()
|
where rv.return_visit_time between CONCAT(CURDATE(), ' 00:00:00') AND CONCAT(CURDATE(), ' 23:59:59')
|
||||||
group by rv.store_code
|
group by rv.store_code
|
||||||
) sdd ON sdd.store_code = s.store_code
|
) sdd ON sdd.store_code = s.store_code
|
||||||
where s.self_delivery_status != '3'
|
where s.self_delivery_status != '3'
|
||||||
|
@ -173,7 +173,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
ifnull(sd.score,'-') score,
|
ifnull(sd.score,'-') score,
|
||||||
#{storeBelong} bindTime
|
#{storeBelong} bindTime
|
||||||
FROM bus_store_info s
|
FROM bus_store_info s
|
||||||
LEFT JOIN bus_store_day_history_info sd ON s.id = sd.store_id and DATE_FORMAT(sd.create_time,'%Y-%m-%d') = #{storeBelong}
|
LEFT JOIN bus_store_day_history_info sd ON s.id = sd.store_id and sd.create_time between CONCAT(#{storeBelong}, ' 00:00:00') AND CONCAT(#{storeBelong}, ' 23:59:59')
|
||||||
LEFT JOIN bus_store_config_info sc ON s.store_code = sc.store_code
|
LEFT JOIN bus_store_config_info sc ON s.store_code = sc.store_code
|
||||||
where s.self_delivery_status != '3'
|
where s.self_delivery_status != '3'
|
||||||
<if test="selfDeliveryStatus != null and selfDeliveryStatus != ''"> and s.self_delivery_status = #{selfDeliveryStatus}</if>
|
<if test="selfDeliveryStatus != null and selfDeliveryStatus != ''"> and s.self_delivery_status = #{selfDeliveryStatus}</if>
|
||||||
|
@ -258,7 +258,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
ifnull(sd.score,'-')score,
|
ifnull(sd.score,'-')score,
|
||||||
#{storeBelong} bindTime
|
#{storeBelong} bindTime
|
||||||
FROM bus_store_info s
|
FROM bus_store_info s
|
||||||
LEFT JOIN bus_store_day_history_info sd ON s.id = sd.store_id and DATE_FORMAT(sd.create_time,'%Y-%m-%d') = #{storeBelong}
|
LEFT JOIN bus_store_day_history_info sd ON s.id = sd.store_id and sd.create_time between CONCAT(#{storeBelong}, ' 00:00:00') AND CONCAT(#{storeBelong}, ' 23:59:59')
|
||||||
LEFT JOIN bus_store_config_info sc ON s.store_code = sc.store_code
|
LEFT JOIN bus_store_config_info sc ON s.store_code = sc.store_code
|
||||||
where s.self_delivery_status != '3'
|
where s.self_delivery_status != '3'
|
||||||
<if test="saleBindId != null "> and s.sale_bind_id = #{saleBindId}</if>
|
<if test="saleBindId != null "> and s.sale_bind_id = #{saleBindId}</if>
|
||||||
|
|
|
@ -115,7 +115,7 @@ export default {
|
||||||
return {
|
return {
|
||||||
codeUrl: "",
|
codeUrl: "",
|
||||||
loginForm: {
|
loginForm: {
|
||||||
username: "admin",
|
username: "",
|
||||||
password: "",
|
password: "",
|
||||||
rememberMe: false,
|
rememberMe: false,
|
||||||
code: "",
|
code: "",
|
||||||
|
|
Loading…
Reference in New Issue