Commit a2d2aad5 authored by lizhichao's avatar lizhichao

二道门,进出园区标记修改

parent abb5a4b6
...@@ -110,6 +110,7 @@ public class SubscriptionEventController { ...@@ -110,6 +110,7 @@ public class SubscriptionEventController {
String personNo = (String)data.get("ExtEventPersonNo"); String personNo = (String)data.get("ExtEventPersonNo");
//获取人员信息 //获取人员信息
String extEventInOut = String.valueOf(data.get("ExtEventInOut")); String extEventInOut = String.valueOf(data.get("ExtEventInOut"));
// System.out.println("====进出标志:"+extEventInOut);
ArtemisPerson artemisPerson = new ArtemisPerson(); ArtemisPerson artemisPerson = new ArtemisPerson();
artemisPerson.setPageNo(1); artemisPerson.setPageNo(1);
artemisPerson.setPageSize(1000); artemisPerson.setPageSize(1000);
...@@ -138,8 +139,13 @@ public class SubscriptionEventController { ...@@ -138,8 +139,13 @@ public class SubscriptionEventController {
TEntranceGuardPersonInfo tEntranceGuardPersonInfo = new TEntranceGuardPersonInfo(); TEntranceGuardPersonInfo tEntranceGuardPersonInfo = new TEntranceGuardPersonInfo();
tEntranceGuardPersonInfo.setPersonName(personName); tEntranceGuardPersonInfo.setPersonName(personName);
tEntranceGuardPersonInfo.setPersonNum((String)list.get(0).get("certificateNo")); tEntranceGuardPersonInfo.setPersonNum((String)list.get(0).get("certificateNo"));
if("0".equals(extEventInOut) || "1".equals(extEventInOut)){ // if("0".equals(extEventInOut) || "1".equals(extEventInOut)){
tEntranceGuardPersonInfo.setActionType("0".equals(extEventInOut) ? "1" : "0"); // tEntranceGuardPersonInfo.setActionType("0".equals(extEventInOut) ? "1" : "0");
// }
if("1".equals(extEventInOut)){
tEntranceGuardPersonInfo.setActionType("0");
}else if("2".equals(extEventInOut)){
tEntranceGuardPersonInfo.setActionType("1");
} }
tEntranceGuardPersonInfo.setActionTime(happenTime); tEntranceGuardPersonInfo.setActionTime(happenTime);
tEntranceGuardPersonInfoService.insertTEntranceGuardPersonInfo(tEntranceGuardPersonInfo); tEntranceGuardPersonInfoService.insertTEntranceGuardPersonInfo(tEntranceGuardPersonInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment