@Override public boolean add(SheetVO vo) { // TODO 自动生成的方法存根 boolean res = super.add(vo); for (long id : ((HallTruckSheetVO) vo).getExpressNums()) { logisticBL.changeLogisticsState( id + "", "快递已离开" + ((HallTruckSheetVO) vo).getStart() + "中转中心" + "-" + vo.getTime()); logisticBL.changeLogisticsState( id + "", "快递已发往" + ((HallTruckSheetVO) vo).getEnd() + "中转中心" + "-" + vo.getTime()); } return res; }
@Override public boolean add(SheetVO vo) { // TODO 自动生成的方法存根 boolean res = super.add(vo); for (long id : ((CenterReceivingGoodsSheetVO) vo).getExpressNums()) logisticBL.changeLogisticsState( id + "", "快递已到达" + LogIn.currentUser.getCity() + "中转中心" + "-" + vo.getTime()); return res; }