解决编排新增指令时,变更状态表缺少内容
This commit is contained in:
parent
bd5ae95c8a
commit
057b3d7fdd
|
|
@ -210,6 +210,8 @@ public class CareDirectivePlanServiceImpl extends ServiceImpl<CareDirectivePlanM
|
||||||
|
|
||||||
//记录变化 用于定时任务调整日期快照
|
//记录变化 用于定时任务调整日期快照
|
||||||
DirectivePlanChangeStatus directivePlanChangeStatus = new DirectivePlanChangeStatus();
|
DirectivePlanChangeStatus directivePlanChangeStatus = new DirectivePlanChangeStatus();
|
||||||
|
directivePlanChangeStatus.setNuId(careDirectiveEntity.getNuId());
|
||||||
|
directivePlanChangeStatus.setInstructionTagId(careDirectiveEntity.getInstructionTagId());
|
||||||
directivePlanChangeStatus.setIzChange("Y");
|
directivePlanChangeStatus.setIzChange("Y");
|
||||||
directivePlanChangeStatus.setChangeTime(new Date());
|
directivePlanChangeStatus.setChangeTime(new Date());
|
||||||
UpdateWrapper<DirectivePlanChangeStatus> uw = new UpdateWrapper<>();
|
UpdateWrapper<DirectivePlanChangeStatus> uw = new UpdateWrapper<>();
|
||||||
|
|
@ -357,9 +359,10 @@ public class CareDirectivePlanServiceImpl extends ServiceImpl<CareDirectivePlanM
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void deleteDirective(CareDirectiveEntity careDirectiveEntity) {
|
public void deleteDirective(CareDirectiveEntity careDirectiveEntity) {
|
||||||
|
CareDirectivePlan careDirectivePlan = baseMapper.selectById(careDirectiveEntity.getId());
|
||||||
|
|
||||||
baseMapper.deleteByIdPhysic(careDirectiveEntity.getId());
|
baseMapper.deleteByIdPhysic(careDirectiveEntity.getId());
|
||||||
|
|
||||||
CareDirectivePlan careDirectivePlan = baseMapper.selectById(careDirectiveEntity.getId());
|
|
||||||
//如果nuId+分类标签+单元格坐标下是否已有数据 需要将所有数据改为指令集 否则设置为非指令集
|
//如果nuId+分类标签+单元格坐标下是否已有数据 需要将所有数据改为指令集 否则设置为非指令集
|
||||||
{
|
{
|
||||||
QueryWrapper<CareDirectivePlan> qw = new QueryWrapper<>();
|
QueryWrapper<CareDirectivePlan> qw = new QueryWrapper<>();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue