|
@@ -61,7 +61,7 @@ public class PersonDeviceFilterLogServiceImpl implements PersonDeviceFilterLogSe
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public void deviceInsertFilterLog(String deviceNo, BigDecimal temperature, JSONObject faceImageJson, JSONObject libMatInfoListJson, JSONObject matchPersonInfo, Date date) {
|
|
|
+ public void deviceInsertFilterLog(String deviceNo, BigDecimal temperature, JSONObject faceImageJson, JSONObject libMatInfoListJson, JSONObject matchPersonInfo, Date date,Integer maskFlag) {
|
|
|
|
|
|
try {
|
|
|
|
|
@@ -91,6 +91,7 @@ public class PersonDeviceFilterLogServiceImpl implements PersonDeviceFilterLogSe
|
|
|
String recordTimeZons = DateUtil.format(date, "yyyy-MM-dd-HH-mm");
|
|
|
String timeZones = TimeZonesUtil.getUpperTimeZone(recordTimeZons);
|
|
|
Integer personId = LApiUtil.getPersonCode(libMatInfoListJson, matchPersonInfo);
|
|
|
+ LApiUtil lApiUtil = new LApiUtil();
|
|
|
if (personId != 0 && temperature.compareTo(BigDecimal.ZERO) == 1) {
|
|
|
|
|
|
|
|
@@ -106,7 +107,7 @@ public class PersonDeviceFilterLogServiceImpl implements PersonDeviceFilterLogSe
|
|
|
|
|
|
if (StringUtils.isNotBlank(libMatInfoListJson.getStr("MatchStatus"))) {
|
|
|
personDeviceFilterLog.setMatchStatus(libMatInfoListJson.getInt("MatchStatus"));
|
|
|
- personDeviceFilterLog.setMatchMsg(LApiUtil.getMatchMsg(libMatInfoListJson.getInt("MatchStatus")));
|
|
|
+ personDeviceFilterLog.setMatchMsg(lApiUtil.getMatchMsg(libMatInfoListJson.getInt("MatchStatus"),maskFlag,temperature,temperatureConfig));
|
|
|
personDeviceFilterLog.setMatchFaceId(libMatInfoListJson.getInt("MatchFaceID"));
|
|
|
} else {
|
|
|
personDeviceFilterLog.setMatchStatus(0);
|
|
@@ -130,7 +131,7 @@ public class PersonDeviceFilterLogServiceImpl implements PersonDeviceFilterLogSe
|
|
|
personDeviceFilterLog1.setTemperature(temperature);
|
|
|
if (StringUtils.isNotBlank(libMatInfoListJson.getStr("MatchStatus"))) {
|
|
|
personDeviceFilterLog1.setMatchStatus(libMatInfoListJson.getInt("MatchStatus"));
|
|
|
- personDeviceFilterLog1.setMatchMsg(LApiUtil.getMatchMsg(libMatInfoListJson.getInt("MatchStatus")));
|
|
|
+ personDeviceFilterLog1.setMatchMsg(lApiUtil.getMatchMsg(libMatInfoListJson.getInt("MatchStatus"),maskFlag,temperature,temperatureConfig));
|
|
|
personDeviceFilterLog1.setMatchFaceId(libMatInfoListJson.getInt("MatchFaceID"));
|
|
|
} else {
|
|
|
personDeviceFilterLog1.setMatchStatus(0);
|