| | |
| | | import java.util.*; |
| | | import java.util.stream.Collectors; |
| | | |
| | | /** |
| | | * @Description: TODO |
| | | * @Author: zhangherong |
| | | * @Date: Created in 2020/9/20 9:19 |
| | | * @Version: 1.0 |
| | | * @Modified By: |
| | | */ |
| | | @Service |
| | | public class WorkStepServiceImpl extends ServiceImpl<WorkStepMapper, WorkStep> implements IWorkStepService { |
| | | @Autowired |
| | |
| | | ExceptionCast.cast(ProcessInfoCode.WORKSTEP_NOT_EXIST); |
| | | //同步修改结构树 |
| | | ProductMix productMix = productMixService.getById(Long.parseLong(id)); |
| | | productMix.setName(workStep.getStepName()); |
| | | productMix.setCode(workStep.getStepCode()); |
| | | productMix.setTreeName(workStep.getStepName()); |
| | | productMix.setTreeCode(workStep.getStepCode()); |
| | | productMixService.updateById(productMix); |
| | | return super.updateById(workStep); |
| | | } |