Commit 9c0fe29c authored by maqing's avatar maqing

打卡

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