Commit 9c0fe29c authored by maqing's avatar maqing

打卡

parent d93d01b5
...@@ -13,6 +13,7 @@ import com.hungraim.ltc.pojo.entity.riskLevel.ChSrvempRiskLevel; ...@@ -13,6 +13,7 @@ import com.hungraim.ltc.pojo.entity.riskLevel.ChSrvempRiskLevel;
import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvOrganEmp; import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvOrganEmp;
import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail; import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetail;
import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetailDelete; import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvTaskDetailDelete;
import com.hungraim.ltc.pojo.vo.disable.ChSrvTaskDetailVo;
import com.hungraim.ltc.pojo.vo.disable.SrvOrganEmpExportVo; import com.hungraim.ltc.pojo.vo.disable.SrvOrganEmpExportVo;
import com.hungraim.ltc.pojo.vo.disable.SrvOrganEmpListVo; import com.hungraim.ltc.pojo.vo.disable.SrvOrganEmpListVo;
import com.hungraim.ltc.pojo.vo.disable.SrvOrganEmpVo; import com.hungraim.ltc.pojo.vo.disable.SrvOrganEmpVo;
...@@ -163,20 +164,20 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService { ...@@ -163,20 +164,20 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
} }
@Override @Override
public List<ChSrvTaskDetail> chSrvTaskDetailQuery(long empid) { public List<ChSrvTaskDetailVo> chSrvTaskDetailQuery(Long empId) {
return chSrvOrganEmpMapper.chSrvTaskDetailQuery(empid); return chSrvTaskDetailMapper.chSrvTaskDetailQuery(empId);
} }
@Transactional(rollbackFor = Exception.class) @Transactional(rollbackFor = Exception.class)
@Override @Override
public boolean chSrvTaskDetailDelete(long taskDetailId,String userName) { public int chSrvTaskDetailDelete(long taskDetailId,String userName) {
ChSrvTaskDetail chSrvTaskDetail = chSrvTaskDetailMapper.selectById(taskDetailId); ChSrvTaskDetail chSrvTaskDetail = chSrvTaskDetailMapper.selectById(taskDetailId);
ChSrvTaskDetailDelete chSrvTaskDetailDelete = new ChSrvTaskDetailDelete(); ChSrvTaskDetailDelete chSrvTaskDetailDelete = new ChSrvTaskDetailDelete();
BeanUtils.copyProperties(chSrvTaskDetail,chSrvTaskDetailDelete); BeanUtils.copyProperties(chSrvTaskDetail,chSrvTaskDetailDelete);
chSrvTaskDetailDelete.setDeleteDate(new Date()); chSrvTaskDetailDelete.setDeleteDate(new Date());
chSrvTaskDetailDelete.setDeleteName(userName); chSrvTaskDetailDelete.setDeleteName(userName);
chSrvTaskDetailDeleteMapper.insert(chSrvTaskDetailDelete); chSrvTaskDetailDeleteMapper.insert(chSrvTaskDetailDelete);
return chSrvOrganEmpMapper.chSrvTaskDetailDelete(taskDetailId); return chSrvTaskDetailMapper.deleteById(taskDetailId);
} }
} }
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