| | |
| | | return d; |
| | | } |
| | | |
| | | public static boolean equalsObject(Object a, Object b) { |
| | | if (a == null && b == null) { |
| | | return true; |
| | | } |
| | | if (a != null){ |
| | | return a.equals(b); |
| | | } |
| | | return false; |
| | | } |
| | | |
| | | |
| | | public static boolean equalsInteger(Integer a, Integer b) { |
| | |
| | | } |
| | | |
| | | |
| | | public interface approveObjectType{ |
| | | int unConstructionVisit = 0;//非施工人员访客申请 |
| | | int constructionVisit = 1;//工人员访客申请 |
| | | int visitReporting = 2;//访客报备 |
| | | int cityUseCar = 3;//市内用车 |
| | | int unCityUseCar = 4;//市外用车 |
| | | int logisticsCarUse = 5;//物流车预约 |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | | public interface approveStatus{ |
| | | int wait = 0;//待审批 |
| | | int auditIng = 1;//审批中 |
| | | int pass = 2;//审批通过 |
| | | int unPass = 3;//审批未通过 |
| | | int otherDeal = 4;//他人已处理 |
| | | int cancel = 5;//已取消 |
| | | int otherUnPass = 6;//他人拒绝 |
| | | } |
| | | |
| | | /** |