|
@@ -216,6 +216,9 @@ public class PatrolInspectionPersonnelServiceImpl extends AbstractCrudService<Pa
|
|
|
return patrolInspectionAreaVoListOne;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 签到状态更新
|
|
|
+ */
|
|
|
public void updateSignStatus(Integer status) {
|
|
|
LambdaUpdateWrapper<PatrolInspectionPersonnel> updateWrapper = Wrappers.lambdaUpdate();
|
|
|
updateWrapper.eq(PatrolInspectionPersonnel::getUserId, SecurityUtils.getUserId())
|
|
@@ -224,6 +227,15 @@ public class PatrolInspectionPersonnelServiceImpl extends AbstractCrudService<Pa
|
|
|
baseMapper.update(null, updateWrapper);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 签到状态查询
|
|
|
+ */
|
|
|
+ public PatrolInspectionPersonnel getStatus(){
|
|
|
+ LambdaQueryWrapper<PatrolInspectionPersonnel> wrapper = Wrappers.lambdaQuery();
|
|
|
+ wrapper.eq(PatrolInspectionPersonnel::getUserId,SecurityUtils.getUserId());
|
|
|
+ return baseMapper.selectOne(wrapper);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@Override
|
|
|
public List<PatrolInspectionPersonnelVo> patrolInspectionPersonnelSelect(Integer areaId) {
|