| | |
| | | @Slf4j |
| | | @EnableAsync |
| | | @SpringBootApplication |
| | | @MapperScan("com.doumee.dao") |
| | | @MapperScan("com.doumee.dao.*") |
| | | public class AdminApplication { |
| | | |
| | | public static void main(String[] args) { |
| | |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("business:carevent:exportExcel") |
| | | public void exportExcel (@RequestBody PageWrap<CarEvent> pageWrap, HttpServletResponse response) { |
| | | ExcelExporter.build(CarEvent.class).export(carEventService.findPage(pageWrap).getRecords(), "å车åºäºä»¶æ¨éè®°å½è¡¨", response); |
| | | ExcelExporter.build(CarEvent.class).exportWithFirstAndEnd (carEventService.findPage(pageWrap).getRecords(),"å车åºäºä»¶æ¨éè®°å½è¡¨", null, "å车åºäºä»¶æ¨éè®°å½å¯¼åºæ¥è¡¨",null , response); |
| | | // ExcelExporter.build(CarEvent.class).export(carEventService.findPage(pageWrap).getRecords(), "å车åºäºä»¶æ¨éè®°å½è¡¨", response); |
| | | } |
| | | |
| | | @ApiOperation("æ ¹æ®IDæ¥è¯¢") |
| | |
| | | import com.doumee.service.business.impl.hksync.HkSyncPrivilegeServiceImpl; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | */ |
| | | @Api(tags = "ERPæ°æ®åæ¥æ¥å£") |
| | | @RestController |
| | | @RequestMapping("/business/erp") |
| | | @RequestMapping("/business/erpsync") |
| | | public class ERPSyncController extends BaseController { |
| | | |
| | | @Autowired |
| | |
| | | private HkSyncPrivilegeServiceImpl hkSyncPrivilegeService; |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("ãæµ·åº·ãå
¨é忥é¨ç¦è®¾å¤æ¥å£") |
| | | @PostMapping("/getDevices") |
| | | // @RequiresPermissions("business:hksync:device") |
| | | @ApiOperation("ãERPãå
¨é忥ç»ç»ä¿¡æ¯æ¥å£") |
| | | @PostMapping("/syncCompanies") |
| | | @RequiresPermissions("business:erpsync:company") |
| | | public ApiResponse getDevices(@RequestBody AcsDeviceListRequest param) { |
| | | String result = hkSyncDeviceService.syncHkDevices(param); |
| | | return ApiResponse.success(result); |
| | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.haikang.model.param.request.AcsDeviceListRequest; |
| | | import com.doumee.core.haikang.model.param.request.EventSubRequest; |
| | | import com.doumee.core.haikang.model.param.request.ParkListRequest; |
| | | import com.doumee.core.haikang.model.param.request.PrivilegeGroupRequest; |
| | | import com.doumee.core.haikang.model.param.request.event.acs.EventAcsRequest; |
| | |
| | | |
| | | @PreventRepeat |
| | | @ApiOperation("ãæµ·åº·ãå
¨é忥é¨ç¦è®¾å¤æ¥å£") |
| | | @PostMapping("/getDevices") |
| | | @PostMapping("/syncDevices") |
| | | // @RequiresPermissions("business:hksync:device") |
| | | public ApiResponse getDevices(@RequestBody AcsDeviceListRequest param) { |
| | | public ApiResponse syncHkDevices(@RequestBody AcsDeviceListRequest param) { |
| | | String result = hkSyncDeviceService.syncHkDevices(param); |
| | | return ApiResponse.success(result); |
| | | } |
| | | @PreventRepeat |
| | | @ApiOperation("ãæµ·åº·ãå
¨é忥åè½¦åºæ¥å£") |
| | | @PostMapping("/getParks") |
| | | @PostMapping("/syncParks") |
| | | // @RequiresPermissions("business:hksync:park") |
| | | public ApiResponse getParks(@RequestBody ParkListRequest param) { |
| | | public ApiResponse syncHkParks(@RequestBody ParkListRequest param) { |
| | | String result = hkSyncParkService.syncHkParks(param); |
| | | return ApiResponse.success(result); |
| | | } |
| | | @PreventRepeat |
| | | @ApiOperation("ãæµ·åº·ãå
¨éåæ¥è®¿å®¢æéç»æ¥å£") |
| | | @PostMapping("/getPrivilege") |
| | | @PostMapping("/syncPrivilege") |
| | | // @RequiresPermissions("business:hksync:privilege") |
| | | public ApiResponse getPrivilege(@RequestBody PrivilegeGroupRequest param) { |
| | | public ApiResponse syncPrivilege(@RequestBody PrivilegeGroupRequest param) { |
| | | String result = hkSyncPrivilegeService.syncPrivilege(param); |
| | | return ApiResponse.success(result); |
| | | } |
| | |
| | | String result = hkSyncPushService.dealParkEvent(param,response); |
| | | return ApiResponse.success(result); |
| | | } |
| | | @PreventRepeat |
| | | @ApiOperation("ãæµ·åº·ãåæ¶è®¢é
äºä»¶") |
| | | @PostMapping("/cancelEventSub") |
| | | public ApiResponse cancelEventSub(@RequestBody EventSubRequest param, HttpServletResponse response) { |
| | | hkSyncPushService.cancelEventSub(); |
| | | return ApiResponse.success(null); |
| | | } |
| | | } |
| | |
| | | |
| | | @ApiOperation("å页å³å¡ç¨æ·ä¿¡æ¯æ¥è¯¢") |
| | | @PostMapping("/findLaborMemberInfoPage") |
| | | @RequiresPermissions("business:member:query") |
| | | // @RequiresPermissions("business:member:query") |
| | | public ApiResponse<PageData<MemberInfoDTO>> findLaborMemberInfoPage(@RequestBody PageWrap<MemberInfoDTO> pageWrap){ |
| | | return ApiResponse.success(memberService.findLaborMemberInfoPage(pageWrap)); |
| | | } |
| | |
| | | String privilegeGroup= "/api/visitor/v1/privilege/group";//æ¥è¯¢è®¿å®¢æéç» |
| | | String eventSub= "/api/eventService/v1/eventSubscriptionByEventTypes";//äºä»¶è®¢é
|
| | | String doorSearch= "/api/resource/v2/door/search";//æ¥è¯¢é¨ç¦ç¹å表v2 |
| | | String cancelEventSub= "/api/eventService/v1/eventUnSubscriptionByEventTypes";//åæ¶äºä»¶è®¢é
|
| | | } |
| | | |
| | | /** |
| | |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | /** |
| | | * åæ¶äºä»¶è®¢é
|
| | | * @param body |
| | | * @return |
| | | */ |
| | | public static String cancelEventSub(String body) { |
| | | Map<String, String> path = getPath(HKConstants.InterfacePath.cancelEventSub); |
| | | String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请æ±application/jsonç±»ååæ° |
| | | saveInterfaceLog(body,result,path); |
| | | return result; |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | * @return |
| | | */ |
| | | public static BaseResponse<List<ParkListResponse>> parkList(ParkListRequest param){ |
| | | log.info("ãæµ·è·å车åºåè¡¨æ°æ®ã================å¼å§===="+JSONObject.toJSONString(param)); |
| | | log.info("ãæµ·åº·è·å车åºåè¡¨æ°æ®ã================å¼å§===="+JSONObject.toJSONString(param)); |
| | | try { |
| | | String res = HKTools.parkList(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | |
| | | } |
| | | return null; |
| | | } |
| | | /** |
| | | *äºä»¶è®¢é
|
| | | * @return |
| | | */ |
| | | public static BaseResponse cancelEventSub(EventSubRequest param){ |
| | | log.info("ãæµ·åº·åæ¶äºä»¶è®¢é
ã================å¼å§===="+JSONObject.toJSONString(param)); |
| | | String res = null; |
| | | try { |
| | | res = HKTools.cancelEventSub(JSONObject.toJSONString(param)); |
| | | TypeReference typeReference = |
| | | new TypeReference< BaseResponse >(){}; |
| | | BaseResponse result = JSONObject.parseObject(res, typeReference.getType()); |
| | | logResult(result,"æµ·åº·åæ¶äºä»¶è®¢é
"); |
| | | return result; |
| | | }catch (Exception e){ |
| | | log.error("ãæµ·åº·åæ¶äºä»¶è®¢é
ã================失败====ï¼\n"+ e.getMessage()); |
| | | }finally { |
| | | // saveInterfaceLog(param,res); |
| | | } |
| | | return null; |
| | | } |
| | | |
| | | private static void logResult(BaseResponse res,String name) { |
| | | if(StringUtils.equals(res.getCode(),HKConstants.RESPONSE_SUCCEE)){ |
| | |
| | | public class UserAuthorRequest { |
| | | @ApiModelProperty(value = "人åå¯ä¸æ è¯ï¼ERP端IDï¼" , required = true) |
| | | private String userId; |
| | | @ApiModelProperty(value = "é¨ç¦ç»å¯ä¸æ è¯ï¼è®¿å®¢ç«¯IDï¼,å¦æä¸ºnullï¼åæ¸
ç©ºäººåææä¿¡æ¯" ) |
| | | private Integer roleId; |
| | | @ApiModelProperty(value = "ææé¨ç¦ç»ç¼ç éåé¨ç¦ç»å¯ä¸æ è¯ï¼è®¿å®¢ç«¯IDï¼,å¦æä¸ºnullï¼åæ¸
ç©ºäººåææä¿¡æ¯" ) |
| | | private Integer[] roleIds; |
| | | @ApiModelProperty(value = "æææææï¼å¼å§æ¶é´ï¼ï¼ä¸ºç©ºæ¶é»è®¤é¿æææï¼å¦2023-11-24 11:39:23" ) |
| | | private Date validStartTime; |
| | | @ApiModelProperty(value = "æææææï¼æªæ¢æ¶é´ï¼ï¼ä¸ºç©ºæ¶é»è®¤é¿æææï¼å¦2023-11-24 11:39:23" ) |
| | |
| | | private String phone; |
| | | @ApiModelProperty(value = "å¡å·éå" ) |
| | | private List<String> cardList; |
| | | @ApiModelProperty(value = "ææé¨ç¦ç»ç¼ç éå" ) |
| | | private Integer roleId; |
| | | @ApiModelProperty(value = "ææé¨ç¦ç»ç¼ç éå,ã访客端ãå¯ä¸æ è¯" ) |
| | | private Integer[] roleIds; |
| | | |
| | | } |
| | |
| | | private Date editDate; |
| | | @ApiModelProperty(value = "æå±ç¶çº§ç»ç»ç¼ç ") |
| | | private String parentOrgId; |
| | | @ApiModelProperty(value = "è´è´£äººç¼ç ") |
| | | private String headId; |
| | | |
| | | } |
| | |
| | | private String phone; |
| | | @ApiModelProperty(value = "å¡å·éå" ) |
| | | private List<String> cardList; |
| | | @ApiModelProperty(value = "ææé¨ç¦ç»ç¼ç éå" ) |
| | | private Integer roleId; |
| | | @ApiModelProperty(value = "ææé¨ç¦ç»ç¼ç éå,ã访客端ãå¯ä¸æ è¯" ) |
| | | private Integer[] roleIds; |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface CarEventJoinMapper extends MPJJoinMapper<CarEvent> { |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface CompanyJoinMapper extends MPJJoinMapper<Company> { |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface DeviceEventJoinMapper extends MPJJoinMapper<DeviceEvent> { |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface MemberCardJoinMapper extends MPJJoinMapper<MemberCard> { |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface MemberJoinMapper extends MPJJoinMapper<Member> { |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface ParkBookJoinMapper extends MPJJoinMapper<ParkBook> { |
| | | } |
| | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface RetentionJoinMapper extends MPJJoinMapper<Retention> { |
| | | } |
| | |
| | | |
| | | import com.doumee.dao.business.model.VisitEvent; |
| | | import com.github.yulichang.base.mapper.MPJJoinMapper; |
| | | import org.springframework.stereotype.Repository; |
| | | |
| | | /** |
| | | * @author T14 |
| | | */ |
| | | @Repository |
| | | //@Repository |
| | | public interface VisitEventJoinMapper extends MPJJoinMapper<VisitEvent> { |
| | | } |
| | |
| | | @ExcelColumn(name="åç±»ç¼ç (å
³ècategory)") |
| | | private Integer categoryId; |
| | | |
| | | @ApiModelProperty(value = "åç±»ç¼ç åç§°") |
| | | @TableField(exist = false) |
| | | private String categoryName; |
| | | |
| | | @ApiModelProperty(value = "ä¼ä¸ä»£ç ") |
| | | @ExcelColumn(name="ä¼ä¸ä»£ç ") |
| | |
| | | @ApiModelProperty(value = "ERPæ è¯") |
| | | @ExcelColumn(name="ERPæ è¯") |
| | | private String erpId; |
| | | @ApiModelProperty(value = "è´è´£äººç¼ç ï¼å
³èmember)") |
| | | @ExcelColumn(name="è´è´£äººç¼ç ") |
| | | private String headId; |
| | | |
| | | @ApiModelProperty(value = "ERP忥æ¶é´") |
| | | @ExcelColumn(name="ERP忥æ¶é´") |
| | |
| | | @ExcelColumn(name="é£ä¹¦æè¿åæ¥æ¶é´") |
| | | private Date fsDate; |
| | | |
| | | @ApiModelProperty(value = "åç±»ç¼ç åç§°") |
| | | @TableField(exist = false) |
| | | private String categoryName; |
| | | @ApiModelProperty(value = "è´è´£äººåå") |
| | | @TableField(exist = false) |
| | | private String headName; |
| | | @ApiModelProperty(value = "è´è´£äººææºå·") |
| | | @TableField(exist = false) |
| | | private String headPhone; |
| | | |
| | | } |
| | |
| | | * @return PageData<Company> |
| | | */ |
| | | PageData<Company> findPage(PageWrap<Company> pageWrap); |
| | | |
| | | /** |
| | | * æ¡ä»¶ç»è®¡ |
| | | * |
| | |
| | | * @return |
| | | */ |
| | | List<CompanyDTO> findCompanyTreePage(Integer type); |
| | | |
| | | } |
| | |
| | | import com.doumee.core.haikang.model.param.request.AcsDeviceListRequest; |
| | | import com.doumee.core.haikang.model.param.request.ParkListRequest; |
| | | import com.doumee.core.haikang.model.param.request.PrivilegeGroupRequest; |
| | | import com.doumee.core.model.openapi.request.erp.OrgListRequest; |
| | | import com.doumee.core.model.openapi.request.erp.UserInfoRequest; |
| | | import com.doumee.core.model.openapi.request.erp.UserListRequest; |
| | | |
| | | /** |
| | | * å车åºäºä»¶æ¨éè®°å½è¡¨Serviceå®ä¹ |
| | |
| | | */ |
| | | public interface ERPSyncService { |
| | | /** |
| | | * åæ¥æµ·åº·é¨ç¦è®¾å¤ |
| | | * 忥ERPç»ç»ä¿¡æ¯ |
| | | * @param param |
| | | * @return |
| | | */ |
| | | String syncErpOrg(AcsDeviceListRequest param); |
| | | String syncCompany(OrgListRequest param); |
| | | |
| | | /** |
| | | * åæ¥æµ·åº·åè½¦åº |
| | | * 忥ERP人åä¿¡æ¯ |
| | | * @param param |
| | | * @return |
| | | */ |
| | | |
| | | String syncHkParks(ParkListRequest param); |
| | | String syncUsers(UserListRequest param); |
| | | |
| | | /** |
| | | * åæ¥æµ·åº·è®¿å®¢æéç» |
| | | * è·åERP人åä¿¡æ¯ |
| | | * @param param |
| | | * @return |
| | | */ |
| | | String syncPrivilege(PrivilegeGroupRequest param); |
| | | String syncUserInfo(UserInfoRequest param); |
| | | } |
| | |
| | | String dealVisitEvent(EventVisitRequest param, HttpServletResponse response); |
| | | |
| | | String dealParkEvent(EventParkRequest param, HttpServletResponse response); |
| | | void cancelEventSub(); |
| | | } |
| | |
| | | import com.doumee.dao.business.join.CompanyJoinMapper; |
| | | import com.doumee.dao.business.model.Category; |
| | | import com.doumee.dao.business.model.Company; |
| | | import com.doumee.dao.business.model.Member; |
| | | import com.doumee.dao.system.model.SystemUser; |
| | | import com.doumee.service.business.CompanyService; |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | |
| | | IPage<Company> page = new Page<>(pageWrap.getPage(), pageWrap.getCapacity()); |
| | | MPJLambdaWrapper<Company> queryWrapper = new MPJLambdaWrapper<>(); |
| | | Utils.MP.blankToNull(pageWrap.getModel()); |
| | | pageWrap.getModel().setIsdeleted(Constants.ZERO); |
| | | if (pageWrap.getModel().getId() != null) { |
| | | queryWrapper.eq(Company::getId, pageWrap.getModel().getId()); |
| | | } |
| | |
| | | } |
| | | queryWrapper.orderByDesc(Company::getCreateDate); |
| | | queryWrapper.leftJoin(Category.class,Category::getId,Company::getCategoryId) |
| | | .leftJoin(SystemUser.class,SystemUser::getId,Company::getCreator); |
| | | .leftJoin(Member.class, Member::getId,Company::getHeadId); |
| | | queryWrapper.selectAll(Company.class) |
| | | .selectAs(Category::getName,Company::getCategoryName) |
| | | .select("count(t1.id) as countNum") |
| | | .selectAs(SystemUser::getRealname,Company::getCreatorName); |
| | | .selectAs(Member::getName,Company::getHeadName) |
| | | .selectAs(Member::getPhone,Company::getHeadPhone) |
| | | .select("count(t1.id) as countNum"); |
| | | IPage<Company> companyIPage = companyJoinMapper.selectJoinPage(page, Company.class, queryWrapper); |
| | | return PageData.from(companyIPage); |
| | | } |
| | |
| | | MPJLambdaWrapper<Member> queryWrapper = new MPJLambdaWrapper<>(); |
| | | MemberInfoDTO model = pageWrap.getModel(); |
| | | Utils.MP.blankToNull(model); |
| | | Date end = Utils.Date.getEnd(pageWrap.getModel().getTrainTimeEndTime()); |
| | | Date end =pageWrap.getModel().getTrainTimeEndTime() !=null? Utils.Date.getEnd(pageWrap.getModel().getTrainTimeEndTime()):new Date(); |
| | | queryWrapper.leftJoin(Company.class,Company::getId,Member::getCompanyId) |
| | | .leftJoin(TrainTime.class,TrainTime::getMemberId,Member::getId) |
| | | .leftJoin(Empower.class,Empower::getMemberId,Member::getId); |
| | |
| | | .like(StringUtils.isNotBlank(model.getName()),Member::getName,model.getName()) |
| | | .like(StringUtils.isNotBlank(model.getPhone()),Member::getPhone,model.getPhone()) |
| | | .like(StringUtils.isNotBlank(model.getIdcardDecode()),Member::getIdcardDecode,model.getIdcardDecode()) |
| | | .having("trainTimeEndTime < "+ DateUtil.format(end,"yyyy-MM-dd HH:mm:ss")); |
| | | .having(pageWrap.getModel().getTrainTimeEndTime()!=null,"trainTimeEndTime < "+ DateUtil.format(end,"yyyy-MM-dd HH:mm:ss")); |
| | | IPage<MemberInfoDTO> memberIPage = memberJoinMapper.selectJoinPage(page, MemberInfoDTO.class,queryWrapper); |
| | | if (!CollectionUtils.isEmpty(memberIPage.getRecords())){ |
| | | memberIPage.getRecords().forEach(s->s.setSex(IdcardUtil.getGenderByIdCard(s.getIdcardDecode()))); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.doumee.service.business.impl.erp; |
| | | |
| | | import com.doumee.core.haikang.model.param.request.AcsDeviceListRequest; |
| | | import com.doumee.core.haikang.model.param.request.DoorsListRequest; |
| | | import com.doumee.core.haikang.model.param.request.ParkListRequest; |
| | | import com.doumee.core.haikang.model.param.request.PrivilegeGroupRequest; |
| | | import com.doumee.core.haikang.model.param.request.event.acs.EventAcsRequest; |
| | | import com.doumee.core.haikang.model.param.request.event.parks.EventParkRequest; |
| | | import com.doumee.core.haikang.model.param.request.event.visit.EventVisitRequest; |
| | | import com.doumee.core.model.openapi.request.erp.OrgListRequest; |
| | | import com.doumee.core.model.openapi.request.erp.UserInfoRequest; |
| | | import com.doumee.core.model.openapi.request.erp.UserListRequest; |
| | | import com.doumee.core.model.openapi.response.erp.OrgListRespone; |
| | | import com.doumee.service.business.ERPSyncService; |
| | | import com.doumee.service.business.HkSyncService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 设å¤ä¿¡æ¯è¡¨Serviceå®ç° |
| | | * @author æ±è¹è¹ |
| | | * @date 2023/11/30 15:33 |
| | | */ |
| | | @Service |
| | | public class ErpSyncServiceImpl implements ERPSyncService { |
| | | |
| | | /** |
| | | * 忥ERPç»ç»ä¿¡æ¯ |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @Override |
| | | public String syncCompany(OrgListRequest param){ |
| | | List<OrgListRespone> allList = new ArrayList<>(); |
| | | |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * 忥ERP人åä¿¡æ¯ |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @Override |
| | | public String syncUsers(UserListRequest param){ |
| | | return null; |
| | | } |
| | | |
| | | /** |
| | | * è·åERP人åä¿¡æ¯ |
| | | * @param param |
| | | * @return |
| | | */ |
| | | @Override |
| | | public String syncUserInfo(UserInfoRequest param){ |
| | | return null; |
| | | } |
| | | } |
| | |
| | | public String dealParkEvent(EventParkRequest param, HttpServletResponse response){ |
| | | return null; |
| | | } |
| | | @Override |
| | | public void cancelEventSub(){ } |
| | | } |
| | |
| | | HKService.eventSub(param);//é¨ç¦äºä»¶ |
| | | |
| | | } |
| | | /** |
| | | * åæ¶è®¢é
é¨ç¦äºä»¶ã访客äºä»¶ãåå车åºäºä»¶ |
| | | */ |
| | | @Override |
| | | public void cancelEventSub(){ |
| | | EventSubRequest param = new EventSubRequest(); |
| | | param.setEventTypes(new Integer[]{HKConstants.EventTypes.PARK_LINE_IN.getKey() |
| | | ,HKConstants.EventTypes.PARK_LINE_OUT.getKey() |
| | | ,HKConstants.EventTypes.PARK_PASS_IN.getKey() |
| | | ,HKConstants.EventTypes.PARK_PASS_OUT.getKey() |
| | | ,HKConstants.EventTypes.VISIT_SIGN_OUT.getKey(), |
| | | HKConstants.EventTypes.DOOR_FACE_AUTH_SUCCESS.getKey()}); |
| | | HKService.cancelEventSub(param);//å车åºäºä»¶ |
| | | |
| | | } |
| | | } |
| | |
| | | String result = null; |
| | | try { |
| | | |
| | | |
| | | log.error("ãæµ·åº·é¨ç¦äºä»¶æ¨éã========æå======="); |
| | | }catch (Exception e) { |
| | | |