|
|
|
@ -4,6 +4,7 @@ import java.util.ArrayList;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.alibaba.nacos.shaded.org.checkerframework.checker.units.qual.A;
|
|
|
|
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
|
|
import com.op.common.core.context.SecurityContextHolder;
|
|
|
|
|
import com.op.common.core.domain.BaseFileData;
|
|
|
|
@ -50,6 +51,8 @@ public class EquOrderServiceImpl implements IEquOrderService {
|
|
|
|
|
private EquOrderEquSpareMapper equOrderEquSpareMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private EquRepairOrderMapper equRepairOrderMapper;
|
|
|
|
|
@Autowired
|
|
|
|
|
private EquFileMapper equFileMapper;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询计划工单
|
|
|
|
@ -178,9 +181,10 @@ public class EquOrderServiceImpl implements IEquOrderService {
|
|
|
|
|
file.setSourceId(standard.getId());
|
|
|
|
|
file.setCreateBy(SecurityUtils.getUsername());
|
|
|
|
|
file.setCreateTime(new Date());
|
|
|
|
|
file.setImageType("3");
|
|
|
|
|
files.add(file);
|
|
|
|
|
}
|
|
|
|
|
equOrderStandardMapper.insertBaseFileBatch(files);
|
|
|
|
|
equFileMapper.insertEquFileBatch(files);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 校验标准信息-是否申请报修
|
|
|
|
|