|
|
@@ -96,6 +96,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
}else {
|
|
|
flag=true;
|
|
|
}
|
|
|
+ //同步到初始打卡信息
|
|
|
in.setInitDuration(in.getDuration());
|
|
|
projectStaffRecordMapper.insertSelective(in);
|
|
|
addRecordLog(in,flag,new Date());
|
|
|
@@ -522,6 +523,7 @@ public class ProjectStaffRecordServiceImpl implements ProjectStaffRecordService
|
|
|
String username = SecurityUtils.getLoginUser().getUser().getNickName();
|
|
|
in.setName(username);
|
|
|
if(in.getProcessStatus()>1)in.setProcessStatus(1);
|
|
|
+ in.setInitDuration(in.getDuration());
|
|
|
projectStaffRecordMapper.updateByPrimaryKeySelective(in);
|
|
|
if (in.getProcessStatus()==1){
|
|
|
addWechatAppSend(in, String.format("[%s]发起打卡,及时是审核!", username));
|