Commit 7bfd3a1646cddc039a12e929749a929fa92c9c65
1 parent
0683d68a
update...
Showing
1 changed file
with
2 additions
and
3 deletions
src/main/java/com/bsth/data/schedule/thread/SchedulePstThread.java
| 1 | package com.bsth.data.schedule.thread; | 1 | package com.bsth.data.schedule.thread; |
| 2 | 2 | ||
| 3 | -import com.alibaba.fastjson.serializer.PropertyFilter; | ||
| 4 | import com.bsth.data.schedule.DayOfSchedule; | 3 | import com.bsth.data.schedule.DayOfSchedule; |
| 5 | import com.bsth.entity.realcontrol.ScheduleRealInfo; | 4 | import com.bsth.entity.realcontrol.ScheduleRealInfo; |
| 6 | import com.bsth.repository.realcontrol.ScheduleRealInfoRepository; | 5 | import com.bsth.repository.realcontrol.ScheduleRealInfoRepository; |
| @@ -67,7 +66,7 @@ public class SchedulePstThread extends Thread { | @@ -67,7 +66,7 @@ public class SchedulePstThread extends Thread { | ||
| 67 | } | 66 | } |
| 68 | } | 67 | } |
| 69 | 68 | ||
| 70 | - PropertyFilter filter = new PropertyFilter() { | 69 | +/* PropertyFilter filter = new PropertyFilter() { |
| 71 | //过滤不需要的字段 | 70 | //过滤不需要的字段 |
| 72 | public boolean apply(Object source, String name, Object value) { | 71 | public boolean apply(Object source, String name, Object value) { |
| 73 | if("cTasks".equals(name)||"createBy".equals(name)||"updateBy".equals(name)){ | 72 | if("cTasks".equals(name)||"createBy".equals(name)||"updateBy".equals(name)){ |
| @@ -75,7 +74,7 @@ public class SchedulePstThread extends Thread { | @@ -75,7 +74,7 @@ public class SchedulePstThread extends Thread { | ||
| 75 | } | 74 | } |
| 76 | return true; | 75 | return true; |
| 77 | } | 76 | } |
| 78 | - }; | 77 | + };*/ |
| 79 | 78 | ||
| 80 | private void save(){ | 79 | private void save(){ |
| 81 | if(saveList.size() == 0) | 80 | if(saveList.size() == 0) |