Commit 6bc5a093 authored by 董天德's avatar 董天德

删除打卡记录

parent bf2e73c7
......@@ -174,7 +174,16 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
chSrvTaskDetailDelete.setDeleteDate(new Date());
chSrvTaskDetailDelete.setDeleteName(userName);
chSrvTaskDetailDeleteMapper.insert(chSrvTaskDetailDelete);
return chSrvTaskDetailMapper.deleteById(taskDetailId);
chSrvTaskDetail.setSrvStartTime(null);
chSrvTaskDetail.setSrvEndTime(null);
chSrvTaskDetail.setSrvStartPic(null);
chSrvTaskDetail.setSrvEndPic(null);
chSrvTaskDetail.setSrvStartPic2(null);
chSrvTaskDetail.setStatus((short)0);
return chSrvTaskDetailMapper.updateById(chSrvTaskDetail);
}
}
......@@ -239,5 +239,10 @@ public class ChSrvTaskDetail implements Serializable {
*/
private Short taskDetailType;
/**
* 服务时长项目开始图片路径
*/
private String srvStartPic2;
private static final long serialVersionUID = 1L;
}
\ No newline at end of file
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