Commit 3a9811a39c8c464536c2221ba7d475d2820f9262

Authored by 潘钊
1 parent 639a78ec

update...

src/main/java/com/bsth/entity/ac/CarInOutEntity.java
... ... @@ -52,7 +52,7 @@ public class CarInOutEntity {
52 52 /** 车卡号 */
53 53 private String carCard;
54 54  
55   - /** 4:出场 2: 进场 */
  55 + /** 4:出场 2: 进场 1: 待进场 3: 待出场*/
56 56 private int type;
57 57  
58 58 /**
... ...
src/main/java/com/bsth/service/schedule/impl/InOutScheduleServiceImpl.java
... ... @@ -66,8 +66,9 @@ public class InOutScheduleServiceImpl implements InOutScheduleService {
66 66 if(0 == cio.getCarType())
67 67 busInOut(cio);
68 68  
69   - //准备入库
70   - SignalPstThread.psts.add(cio);
  69 + //准备入库 -只存实进和实出
  70 + if(cio.getType() == 2 || cio.getType() == 4)
  71 + SignalPstThread.psts.add(cio);
71 72 }
72 73  
73 74 @Override
... ...