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; this.planRestrict = planRestrict;
} }
private String planRestrict;
public String getPlanRestrict() {
return planRestrict;
}
public void setPlanRestrict(String planRestrict) {
this.planRestrict = planRestrict;
}
public String getEquipmentName() { public String getEquipmentName() {
return equipmentName; return equipmentName;
} }

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

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

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

@ -236,4 +236,4 @@
and eos.error_flag = '1' and eos.error_flag = '1'
</where> </where>
</select> </select>
</mapper> </mapper>
Loading…
Cancel
Save