考勤销假bug修复
This commit is contained in:
parent
4735aadfc8
commit
304eef5f95
@ -49,6 +49,7 @@ public class KqglServiceImpl implements KqglService {
|
|||||||
.setUserId(userId).setStatus(BpmTaskStatusEnum.RUNNING.getStatus());
|
.setUserId(userId).setStatus(BpmTaskStatusEnum.RUNNING.getStatus());
|
||||||
if (createReqVO.getCurfullpath().contains("?") ) {
|
if (createReqVO.getCurfullpath().contains("?") ) {
|
||||||
kqglMapper.updateById(kqgl);
|
kqglMapper.updateById(kqgl);
|
||||||
|
createReqVO.setCurfullpath( createReqVO.getCurfullpath().replaceAll("\\?id=\\d+", ""));
|
||||||
} else {
|
} else {
|
||||||
kqglMapper.insert(kqgl);
|
kqglMapper.insert(kqgl);
|
||||||
}
|
}
|
||||||
|
@ -58,6 +58,7 @@ public class XjglServiceImpl implements XjglService {
|
|||||||
.setUserId(userId).setStatus(BpmTaskStatusEnum.RUNNING.getStatus());
|
.setUserId(userId).setStatus(BpmTaskStatusEnum.RUNNING.getStatus());
|
||||||
if (createReqVO.getCurfullpath().contains("?") ) {
|
if (createReqVO.getCurfullpath().contains("?") ) {
|
||||||
xjglMapper.updateById(xjgl);
|
xjglMapper.updateById(xjgl);
|
||||||
|
createReqVO.setCurfullpath( createReqVO.getCurfullpath().replaceAll("\\?id=\\d+", ""));
|
||||||
} else {
|
} else {
|
||||||
xjglMapper.insert(xjgl);
|
xjglMapper.insert(xjgl);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user