From dd209750c5fecd9b05e827bc3e634b06816f1249 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期二, 15 一月 2019 09:07:31 +0800
Subject: [PATCH] 浏览足迹添加时间

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java
index 836d0a2..85396a7 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/order/LostOrderServiceImpl.java
@@ -1,6 +1,10 @@
 package com.yeshi.fanli.service.impl.order;
 
 import java.io.Serializable;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock;
@@ -10,6 +14,7 @@
 
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
+import org.yeshi.utils.DateUtil;
 import org.yeshi.utils.NumberUtil;
 
 import com.yeshi.fanli.dao.mybatis.order.LostOrderMapper;
@@ -239,7 +244,7 @@
 		// 璁㈠崟鐢宠瘔浜哄伐閫氳繃鍚庯紝浣嗘槸闅斾簡3澶╄繕鏈鐞嗘垚鍔熷氨瑙嗕负璇ヨ鍗曠敵璇夊け璐�
 		lostOrderDao.update(
 				"update LostOrder lo set lo.resultCode=? where lo.state=1 and lo.resultCode=? and lo.handleTime<?",
-				new Serializable[] { LostOrder.RESULT_CODE_FAIL, LostOrder.RESULT_CODE_FAIL,
+				new Serializable[] { LostOrder.RESULT_CODE_FAIL, LostOrder.RESULT_CODE_VERFING,
 						System.currentTimeMillis() - 1000 * 60 * 60 * 24 * 3L });
 	}
 
@@ -277,4 +282,20 @@
 	public long countQuery(String key, Integer state, Integer handleType) {
 		return lostOrderMapper.countQuery(key, state, handleType);
 	}
+	
+	
+	@Override
+	public List<Map<String, Object>> countLostNum( Integer dateType, Integer resultCode, 
+			String year, String startTime, String endTime) throws Exception {
+		return lostOrderMapper.countLostNum(dateType, resultCode, year, startTime, endTime);
+	}
+	
+	
+	@Override
+	public List<Map<String, Object>> countAppealMoney( Integer dateType, String year, String startTime, 
+			String endTime) throws Exception {
+		
+		return lostOrderMapper.countAppealMoney(dateType, year, startTime, endTime);
+	}
+	
 }

--
Gitblit v1.8.0