|
@ -222,7 +222,6 @@ public class StaffPatrolRecordServiceImpl extends BaseServiceImpl<StaffPatrolRec |
|
|
entity.setReportProjectCount(NumConstant.ZERO); |
|
|
entity.setReportProjectCount(NumConstant.ZERO); |
|
|
entity.setLatestPatrolTime(patrolStartTime); |
|
|
entity.setLatestPatrolTime(patrolStartTime); |
|
|
entity.setLatestPatrolStatus(PatrolConstant.PATROLLING); |
|
|
entity.setLatestPatrolStatus(PatrolConstant.PATROLLING); |
|
|
entity.setIsHandEnd(NumConstant.ZERO); |
|
|
|
|
|
statsStaffPatrolRecordDailyDao.insert(entity); |
|
|
statsStaffPatrolRecordDailyDao.insert(entity); |
|
|
}else { |
|
|
}else { |
|
|
// 存在记录,直接更新
|
|
|
// 存在记录,直接更新
|
|
|