Showing
2 changed files
with
4 additions
and
1 deletions
@@ -2,7 +2,7 @@ git pull | @@ -2,7 +2,7 @@ git pull | ||
2 | git add --all src/* | 2 | git add --all src/* |
3 | git add push.sh | 3 | git add push.sh |
4 | git add pom.xml | 4 | git add pom.xml |
5 | -git commit -m "Add admin info inter" | 5 | +git commit -m "add log" |
6 | git push origin zhaoyue-dev | 6 | git push origin zhaoyue-dev |
7 | git status | 7 | git status |
8 | git pull | 8 | git pull |
@@ -9,6 +9,7 @@ import com.xkl.model.ReportIdModel; | @@ -9,6 +9,7 @@ import com.xkl.model.ReportIdModel; | ||
9 | import com.xkl.model.ResultModel; | 9 | import com.xkl.model.ResultModel; |
10 | import com.xkl.repository.*; | 10 | import com.xkl.repository.*; |
11 | import com.xkl.security.SecurityTool; | 11 | import com.xkl.security.SecurityTool; |
12 | +import lombok.extern.apachecommons.CommonsLog; | ||
12 | import org.springframework.beans.factory.annotation.Autowired; | 13 | import org.springframework.beans.factory.annotation.Autowired; |
13 | import org.springframework.data.redis.core.RedisTemplate; | 14 | import org.springframework.data.redis.core.RedisTemplate; |
14 | import org.springframework.http.HttpStatus; | 15 | import org.springframework.http.HttpStatus; |
@@ -22,6 +23,7 @@ import java.util.*; | @@ -22,6 +23,7 @@ import java.util.*; | ||
22 | * Created by zhao yue on 2016/11/13. | 23 | * Created by zhao yue on 2016/11/13. |
23 | */ | 24 | */ |
24 | @Service | 25 | @Service |
26 | +@CommonsLog | ||
25 | public class ReportService implements IReportService { | 27 | public class ReportService implements IReportService { |
26 | @Autowired | 28 | @Autowired |
27 | private ReportMetaItemsRepository reportMetaItemsRepository; | 29 | private ReportMetaItemsRepository reportMetaItemsRepository; |
@@ -207,6 +209,7 @@ public class ReportService implements IReportService { | @@ -207,6 +209,7 @@ public class ReportService implements IReportService { | ||
207 | } | 209 | } |
208 | } | 210 | } |
209 | } catch (Exception e) { | 211 | } catch (Exception e) { |
212 | + log.info("ERROR, JSON FROMAT ERROR!!!"+e); | ||
210 | return null; | 213 | return null; |
211 | } | 214 | } |
212 | markItemStatus(sex, detailList); | 215 | markItemStatus(sex, detailList); |
-
Please register or login to post a comment