|
|
@@ -100,6 +100,8 @@ public class AccessControlService {
|
|
|
* @param info
|
|
|
*/
|
|
|
public void saveRecord(AccessControlInfo info) {
|
|
|
+ //去除cardNo末尾中的\u0000...\u0000
|
|
|
+ info.setCardNo(info.getCardNo().trim());
|
|
|
ResponseEntity<Result> response = restTemplate.postForEntity(
|
|
|
deviceServerProperties.getAccessControlEvent(), info, Result.class);
|
|
|
if (response.getStatusCode() == HttpStatus.OK) {
|