| | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.flowable.engine.*; |
| | | import org.springblade.core.mp.base.BizServiceImpl; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.core.tool.utils.Func; |
| | | import org.springblade.mdm.basesetting.machine.MachineService; |
| | | import org.springblade.mdm.basesetting.machine.entity.Machine; |
| | | import org.springblade.mdm.program.entity.NcNode; |
| | |
| | | import org.springblade.mdm.program.vo.NcNodeVO; |
| | | import org.springframework.beans.BeanUtils; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 程序节点 |
| | |
| | | |
| | | this.updateById(ncNode); |
| | | } |
| | | |
| | | /** |
| | | * 懒加载列表 |
| | | * @param parentId 父节点ID |
| | | * @return |
| | | */ |
| | | public List<NcNodeVO> lazyList(Long parentId) { |
| | | // 判断点击搜索但是没有查询条件的情况 |
| | | if (Func.isEmpty(parentId)) { |
| | | parentId = 0L; |
| | | } |
| | | |
| | | return baseMapper.lazyList(parentId); |
| | | } |
| | | } |