| | |
| | | import com.thhy.staff.utils.ProcessFlag; |
| | | import com.thhy.staff.utils.StaffNoUtils; |
| | | import io.netty.channel.ChannelHandlerContext; |
| | | import net.bytebuddy.build.Plugin; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.math.RoundingMode; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.*; |
| | | import java.util.concurrent.CopyOnWriteArraySet; |
| | | |
| | |
| | | int userCount = platUserMapper.queryPlatUser(userInfo.getCompanyId()); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("mod","facerecord"); |
| | | map.put("totalUserCount",userCount); |
| | | map.put("watchUserCount",0); |
| | | map.put("dangerUserCount",0); |
| | | //map.put("totalUserCount",userCount); |
| | | //map.put("watchUserCount",0); |
| | | //map.put("dangerUserCount",0); |
| | | List<DoorUserVo> list = platUserMapper.queryDoorUser(); |
| | | map.put("doorUserList",list); |
| | | PlatUserFace platUserFace = platUserMapper.queryFaceUserByJobNum(list.get(0).getJobNum()); |
| | | platUserFace.setPassTime(list.get(0).getCreateTime()); |
| | | SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | | platUserFace.setPassTime(sdf.format(list.get(0).getCreateTime())); |
| | | platUserFace.setRecordId(list.get(0).getId()); |
| | | map.put("firstUserInfo",platUserFace); |
| | | return map; |
| | | } |