Merge remote-tracking branch 'origin/master'

highway
zhaoxiaolin 1 year ago
commit d3c51aeff9

@ -160,6 +160,16 @@ public class EquOrder extends BaseEntity {
this.planRestrict = planRestrict;
}
private String planRestrict;
public String getPlanRestrict() {
return planRestrict;
}
public void setPlanRestrict(String planRestrict) {
this.planRestrict = planRestrict;
}
public String getEquipmentName() {
return equipmentName;
}

@ -70,12 +70,6 @@ public interface EquOrderStandardMapper {
*/
List<EquOrderStandard> selectEquOrderStandardByParentCode(String code);
/**
*
* @param files
*/
void insertBaseFileBatch(List<BaseFileData> files);
/**
*
* @param equOrder

@ -62,6 +62,8 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
private EquEquipmentMapper equEquipmentMapper;
@Autowired
private EquSpareApplyMapper equSpareApplyMapper;
@Autowired
private EquFileMapper equFileMapper;
/**
@ -186,9 +188,10 @@ public class DevicePDAServiceImpl implements IDevicePDAService {
file.setSourceId(standard.getId());
file.setCreateBy(SecurityUtils.getUsername());
file.setCreateTime(new Date());
file.setImageType("3");
files.add(file);
}
equOrderStandardMapper.insertBaseFileBatch(files);
equFileMapper.insertEquFileBatch(files);
}
// 校验标准信息-是否申请报修

@ -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);
}
// 校验标准信息-是否申请报修

Loading…
Cancel
Save